@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0d7377;
  --primary-dark: #0a5c5f;
  --primary-light: #11999e;
  --accent: #c8a45a;
  --accent-light: #e0c882;
  --bg-dark: #0b1a1c;
  --bg-card: #0f2527;
  --bg-section: #0e2022;
  --text-light: #f0f4f4;
  --text-muted: #9db5b7;
  --text-body: #c5d8da;
  --white: #ffffff;
  --border: rgba(200,164,90,0.15);
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
  --glass: rgba(13,115,119,0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--text-light); line-height: 1.3; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,26,28,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 40px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--text-light); }
.logo-title { font-size: 0.7rem; color: var(--accent); letter-spacing: 1.5px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 8px 18px; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted); position: relative;
}
.nav a:hover, .nav a.active { color: var(--accent); background: var(--glass); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-light); border-radius: 2px; transition: var(--transition); }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center; padding-top: 80px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-section) 50%, var(--bg-dark) 100%);
  position: relative; overflow: hidden;
}

.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(13,115,119,0.12) 0%, transparent 70%);
  border-radius: 50%; animation: pulse 8s ease-in-out infinite;
}

.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,164,90,0.06) 0%, transparent 70%);
  border-radius: 50%; animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse { 0%,100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.2); opacity: 1; } }

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}

.hero-content { animation: fadeInUp 1s ease; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,164,90,0.1); border: 1px solid rgba(200,164,90,0.2);
  padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; color: var(--accent);
  margin-bottom: 24px; letter-spacing: 1px; text-transform: uppercase;
}

.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 { font-size: 3.2rem; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }

.hero-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 36px; max-width: 520px; }

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 12px; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white); box-shadow: 0 4px 20px rgba(13,115,119,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(13,115,119,0.4); }

.btn-outline {
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent); 
}
.btn-outline:hover { background: rgba(200,164,90,0.1); transform: translateY(-2px); }

.hero-image { position: relative; animation: fadeInRight 1s ease; }

.hero-image img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-image::before {
  content: ''; position: absolute; top: -16px; right: -16px; bottom: 16px; left: 16px;
  border: 2px solid var(--accent); border-radius: var(--radius); opacity: 0.3; z-index: -1;
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* ── STATS ── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 60px 0; position: relative; z-index: 1;
}

.stat-card {
  text-align: center; padding: 32px 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--accent); }

.stat-number { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--accent); font-weight: 700; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; }

/* ── SECTIONS ── */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-section); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.4rem; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-header h2 span { color: var(--accent); }

.section-divider {
  width: 60px; height: 3px; margin: 16px auto 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
}

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.service-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition); position: relative;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--primary-light); box-shadow: 0 12px 40px rgba(13,115,119,0.15); }

.service-card .card-img {
  width: 100%; height: 200px; object-fit: cover;
  transition: var(--transition);
}
.service-card:hover .card-img { transform: scale(1.05); }

.service-card .card-img-wrapper { overflow: hidden; }

.service-card .card-body { padding: 24px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }

.about-image { position: relative; }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }

.about-content h2 { font-size: 2rem; margin-bottom: 20px; }
.about-content h2 span { color: var(--accent); }

.about-text { margin-bottom: 24px; color: var(--text-muted); }

.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--border); }
.timeline-item { position: relative; margin-bottom: 24px; padding-left: 20px; }
.timeline-item::before {
  content: ''; position: absolute; left: -34px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary); border: 2px solid var(--accent);
}
.timeline-item h4 { font-size: 0.95rem; color: var(--accent); margin-bottom: 4px; font-family: 'Inter', sans-serif; font-weight: 600; }
.timeline-item p { font-size: 0.88rem; color: var(--text-muted); }

/* ── GALLERY ── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}

.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  cursor: pointer; aspect-ratio: 1;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item .overlay {
  position: absolute; inset: 0;
  background: rgba(13,115,119,0.5); display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }

.overlay svg { width: 32px; height: 32px; fill: var(--white); }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(12px);
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 85vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; color: var(--white); font-size: 2.5rem; cursor: pointer;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); width: 50px; height: 50px; border-radius: 50%;
  font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.contact-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; display: flex; align-items: flex-start; gap: 20px;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--primary-light); transform: translateY(-3px); }

.contact-icon {
  width: 56px; height: 56px; min-width: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 24px; height: 24px; fill: var(--white); }

.contact-card h3 { font-size: 1rem; margin-bottom: 6px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--text-light); }
.contact-card p { font-size: 0.9rem; color: var(--text-muted); }
.contact-card a { color: var(--accent); }
.contact-card a:hover { color: var(--accent-light); }

.map-wrapper {
  margin-top: 48px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); height: 400px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; filter: brightness(0.85) contrast(1.1); }

/* ── FOOTER ── */
.footer {
  background: var(--bg-section); border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }

.footer-about .logo { margin-bottom: 16px; }
.footer-about p { font-size: 0.88rem; color: var(--text-muted); }

.footer-links h4, .footer-contact h4 {
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600;
  color: var(--accent); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 8px; }

.footer-bottom {
  text-align: center; padding-top: 24px;
  border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-muted);
}

/* ── WHATSAPP FAB ── */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: fabBounce 2s infinite;
}
.whatsapp-fab svg { width: 30px; height: 30px; fill: var(--white); }

@keyframes fabBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ── PAGE BANNER ── */
.page-banner {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-section));
  text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(13,115,119,0.1), transparent 70%);
}
.page-banner h1 { font-size: 2.6rem; position: relative; }
.page-banner h1 span { color: var(--accent); }
.page-banner p { color: var(--text-muted); margin-top: 12px; position: relative; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-image::before { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { 
    display: none; position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(11,26,28,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 24px; gap: 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav.active { display: flex; }
  .nav a { width: 100%; text-align: center; padding: 14px; }
  .hamburger { display: flex; }

  .hero h1 { font-size: 2.2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-image { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ── SCROLL ANIMATIONS ── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
