/* =====================
   VARIABLES
   ===================== */
:root {
  --navy:        #0a1628;
  --navy-2:      #0f1e35;
  --navy-3:      #162440;
  --teal:        #0ea5a0;
  --teal-light:  #14c4be;
  --coral:       #ff6b5b;
  --white:       #ffffff;
  --off-white:   #f0f4f8;
  --text:        #cbd5e1;
  --text-muted:  #64748b;
  --font:        'DM Sans', sans-serif;
  --font-serif:  'DM Serif Display', serif;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--navy); color: var(--text); font-size: 16px; line-height: 1.7; }
h1, h2, h3 { font-weight: 700; color: var(--white); }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* =====================
   NAV
   ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 22, 40, 0.92);
  border-bottom: 1px solid rgba(14, 165, 160, 0.15);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 1.2rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-family: var(--font); font-size: 1.1rem; font-weight: 700; color: var(--white); letter-spacing: 0.02em; }
nav ul { list-style: none; display: flex; align-items: center; gap: 2rem; }
nav ul a { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; color: var(--text-muted); transition: color 0.2s; }
nav ul a:hover, nav ul a.nav-active { color: var(--teal); }
.btn-nav {
  background: var(--teal); color: var(--navy) !important;
  padding: 0.5rem 1.2rem; font-weight: 700; border-radius: 4px;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--teal-light) !important; }

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 6rem 2rem 4rem;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(14, 165, 160, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 107, 91, 0.08) 0%, transparent 50%),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1800&q=80') center/cover no-repeat;
  filter: brightness(0.25);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; text-align: center; }
.hero-location {
  display: inline-block; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(12px); animation: fadeUp 0.6s ease forwards 0.2s;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.05; color: var(--white);
  margin-bottom: 1.5rem; font-weight: 700;
  opacity: 0; transform: translateY(16px); animation: fadeUp 0.7s ease forwards 0.4s;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero .sub {
  font-size: 1.1rem; color: var(--text); font-weight: 300; max-width: 520px;
  margin: 0 auto 2.5rem; line-height: 1.7;
  opacity: 0; transform: translateY(12px); animation: fadeUp 0.7s ease forwards 0.6s;
}
.hero-cta {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(12px); animation: fadeUp 0.7s ease forwards 0.8s;
}
.btn-primary {
  display: inline-block; background: var(--teal); color: var(--navy);
  padding: 0.9rem 2.2rem; font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.05em; border-radius: 4px; transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); }
.btn-ghost {
  display: inline-block; border: 1px solid rgba(255,255,255,0.2); color: var(--white);
  padding: 0.9rem 2.2rem; font-size: 0.9rem; font-weight: 500;
  border-radius: 4px; transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 1; transition: opacity 0.4s;
  opacity: 0; animation: fadeUp 0.6s ease forwards 1.2s;
}
.hero-scroll span {
  display: block; width: 1px; height: 60px; margin: 0 auto;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =====================
   SERVICES
   ===================== */
.services { padding: 7rem 0; background: var(--navy-2); }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.8rem;
}
.services h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 3.5rem; line-height: 1.2; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--navy-3); border: 1px solid rgba(14, 165, 160, 0.1);
  padding: 2rem; border-radius: 8px; transition: border-color 0.3s, transform 0.3s;
}
.service-card:hover { border-color: var(--teal); transform: translateY(-4px); }
.service-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 0.7rem; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* =====================
   WORK
   ===================== */
.work { padding: 7rem 0; background: var(--navy); }
.work h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 3.5rem; line-height: 1.2; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.work-card { border-radius: 8px; overflow: hidden; border: 1px solid rgba(14, 165, 160, 0.1); transition: border-color 0.3s; }
.work-card:hover { border-color: var(--teal); }
.work-img { height: 240px; background-size: cover; background-position: center; }
.work-info { padding: 1.5rem; background: var(--navy-3); }
.work-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.5rem;
}
.work-info h3 { font-size: 1.2rem; color: var(--white); margin-bottom: 0.4rem; }
.work-info p { font-size: 0.875rem; color: var(--text-muted); }
.work-card--cta {
  background: linear-gradient(135deg, rgba(14,165,160,0.15), rgba(255,107,91,0.08));
  display: flex; align-items: center; justify-content: center; min-height: 320px;
}
.work-cta-inner { text-align: center; padding: 2rem; }
.work-cta-inner p { font-size: 1.8rem; font-weight: 700; color: var(--white); line-height: 1.3; margin-bottom: 1.5rem; }

/* =====================
   ABOUT
   ===================== */
.about { padding: 7rem 0; background: var(--navy-2); }
.about-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; }
.about-img-placeholder {
  width: 100%; aspect-ratio: 3/4; border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14,165,160,0.2), rgba(255,107,91,0.1)),
    url('IMG_3720 copy.JPG') center/cover;
  border: 1px solid rgba(14,165,160,0.2);
}
.about-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.2rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; }
.about-text .btn-primary { margin-top: 1rem; }

/* =====================
   CONTACT
   ===================== */
.contact { padding: 7rem 0; background: var(--navy); }
.contact h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 3.5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.info-block { margin-bottom: 2rem; }
.info-block h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.4rem;
}
.info-block p { color: var(--text-muted); font-size: 0.95rem; }
.contact-form form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--navy-3); border: 1px solid rgba(255,255,255,0.08);
  color: var(--white); padding: 0.9rem 1rem; font-family: var(--font);
  font-size: 0.9rem; outline: none; border-radius: 4px; transition: border-color 0.2s;
  resize: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--teal); }
.contact-form select option { background: var(--navy-3); }
.contact-form button {
  background: var(--teal); color: var(--navy); border: none;
  padding: 1rem; font-family: var(--font); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.05em; border-radius: 4px; cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.contact-form button:hover { background: var(--teal-light); transform: translateY(-2px); }

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center; padding: 2rem; font-size: 0.8rem; color: var(--text-muted);
}

/* =====================
   ANIMATIONS
   ===================== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }
.work-card:nth-child(2) { transition-delay: 0.15s; }

/* =====================
   RESPONSIVE
   ===================== */
/* =====================
   WORK IMG OVERLAY
   ===================== */
.work-img { position: relative; }
.work-img-overlay {
  position: absolute; inset: 0;
  background: rgba(14, 165, 160, 0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.work-img-overlay span {
  color: var(--white); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.1em; opacity: 0; transition: opacity 0.3s;
}
.work-card:hover .work-img-overlay { background: rgba(14, 165, 160, 0.5); }
.work-card:hover .work-img-overlay span { opacity: 1; }

/* =====================
   LIGHTBOX
   ===================== */
#lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.85);
  align-items: center; justify-content: center;
}
#lightbox.active { display: flex; }
.lightbox-inner {
  position: relative;
  width: 90vw; height: 85vh;
  border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(14,165,160,0.3);
}
.lightbox-inner iframe {
  width: 200%;
  height: 200%;
  transform: scale(0.5);
  transform-origin: top left;
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  background: var(--navy); color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 0.9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: var(--teal); }

/* =====================
   HAMBURGER
   ===================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

  nav ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--navy);
    padding: 6rem 2rem 3rem;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.35s ease;
    z-index: 99;
  }
  nav ul.open { transform: translateY(0); }
  nav ul a { font-size: 1.1rem; color: var(--text); }
  .btn-nav {
    display: inline-block;
    width: fit-content;
  }

  .work-grid, .about-inner, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .work-card--cta { min-height: 200px; }
}
