:root {
  /* Brand Colors */
  --color-primary: #25c485;
  --color-primary-dark: #1d9d69;
  --color-primary-light: #d1e6dd;
  --color-secondary: #1d382d;
  
  /* Backgrounds */
  --bg-main: #ffffff;
  --bg-green-light: #f2f7f6;
  --bg-gray-light: #f9fbfb;
  --bg-gray: #f0f0f0;
  
  /* Text Colors */
  --text-main: #333333;
  --text-muted: #6b7280;
  --text-light: #9ea8a4;
  --text-inverted: #ffffff;

  /* UI Tokens */
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-color: #e5e7eb;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Typography */
  --font-family-sans: 'Inter', 'Roboto', sans-serif;
  --font-family-condensed: 'Roboto Condensed', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  /* Prevent FOUT */
  text-rendering: optimizeLegibility;
}

.mobile-only {
  display: none !important;
}

.desktop-only {
  display: block !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-secondary);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-inverted);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-bg-light {
  background-color: var(--bg-green-light);
}

.section-bg-gray {
  background-color: var(--bg-gray-light);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-family-condensed);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: absolute;
  left: 0;
}

.mobile-menu-btn span:nth-child(1) {
  transform: translateY(-8px);
}

.mobile-menu-btn span:nth-child(2) {
  transform: translateY(0);
}

.mobile-menu-btn span:nth-child(3) {
  transform: translateY(8px);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 6px rgba(37, 196, 133, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 196, 133, 0.3);
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding-top: 80px;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(29, 56, 45, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  z-index: 1;
}

.hero-logo {
  max-width: 400px;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* About Section */
.about-content {
  position: relative;
}

.about-content::after {
  content: "";
  display: table;
  clear: both;
}

.about-image-wrapper {
  position: relative;
  border: 3px solid var(--color-primary);
  border-radius: var(--border-radius-lg);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  float: left;
  width: 400px;
  max-width: 100%;
  margin-right: 3rem;
  margin-bottom: 1rem;
}

.about-image {
  border-radius: calc(var(--border-radius-lg) - 0.5rem);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  overflow: hidden;
}

.about-content .lead {
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  background-color: #111;
}

.video-container iframe,
.video-container .w-lightbox,
.video-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary-light);
}

.service-card h3 {
  color: var(--color-secondary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card .service-desc {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.service-card .service-details {
  flex-grow: 1;
}

.service-price {
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Projects Section */
.project-card {
  background: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 2.5rem 1rem;
}

.project-content {
  padding: 0 2.5rem 2.5rem;
}

/* Soundchick Premium Layout */
.soundchick-project-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 4rem;
  min-height: 450px;
}

.soundchick-content {
  flex: 1.3;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.soundchick-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}

.soundchick-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 2.5rem;
}

.project-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--color-primary-light);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.soundchick-image-side {
  flex: 1;
  background: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.soundchick-image-side::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(230, 43, 52, 0.1) 0%, transparent 70%);
  top: -25%;
  left: -25%;
}

.soundchick-image-side img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.soundchick-project-card:hover .soundchick-image-side img {
  transform: scale(1.08);
}

.modern-collage {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  grid-template-rows: 200px 200px 200px;
  gap: 12px;
  padding: 0 2rem 2rem;
}

.gallery-item {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

/* Grid Placement */
.item-1 { grid-column: 1 / 2; grid-row: 1 / 2; }
.item-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.item-3 { grid-column: 3 / 4; grid-row: 1 / 3; }
.item-4 { grid-column: 1 / 2; grid-row: 2 / 3; }
.item-5 { grid-column: 2 / 3; grid-row: 2 / 4; }
.item-6 { grid-column: 1 / 2; grid-row: 3 / 4; }
.item-7 { grid-column: 3 / 4; grid-row: 3 / 4; }

/* Contact Section */
.contact-wrapper {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: var(--bg-gray-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 196, 133, 0.1);
  background-color: white;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: var(--color-secondary);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Utility Classes */
.mobile-only {
  display: none !important;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  visibility: visible;
  transform: none !important;
}

.reveal-fade-up {
  transform: translateY(30px);
}

.reveal-scale-up {
  transform: scale(0.95);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 992px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrapper { max-width: 500px; margin: 0 auto 3rem; }
  
  .mobile-only {
    display: flex !important;
  }
  .desktop-only {
    display: none !important;
  }

  .modern-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-auto-rows: 200px;
  }
  .item-1, .item-2, .item-3, .item-4, .item-5, .item-6, .item-7 {
    grid-column: auto;
    grid-row: auto;
  }
  .item-3, .item-5 {
    grid-row: span 2;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 999;
    align-items: center;
    border-top: 1px solid var(--border-color);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero-logo { max-width: 80%; }
  .project-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .soundchick-project-card { flex-direction: column; }
  .soundchick-content { padding: 3rem 2rem; text-align: center; align-items: center; }
  .soundchick-image-side { padding: 4rem 2rem; min-height: 300px; }
  .contact-wrapper { padding: 2rem; }

  .about-image-wrapper {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .modern-collage {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
  .item-3, .item-5 {
    grid-row: auto;
  }
}

@media (max-width: 480px) {
  .hero { min-height: 500px; }
  .services-grid { grid-template-columns: 1fr; }
}
