/* Theme */
:root {
  --blue: #1e6bd6;
  --dark: #0e1a2b;
  --gold: #d4af37;
  --light: #f8fafc;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
}

/* Base Reset */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 4.5rem 0; scroll-margin-top: 96px; }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 { font-family: "Poppins", sans-serif; font-weight: 700; margin: 0 0 .5rem; }
.section-head p { color: var(--muted); margin: 0; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(14,26,43,0.8);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow .2s ease-in-out, background .2s ease-in-out;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,0.15); background: rgba(14,26,43,0.95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; font-family: "Poppins", sans-serif; }
.brand-logo { font-size: 1.25rem; }
.brand-text { letter-spacing: .3px; }

.nav { display: flex; align-items: center; gap: 1rem; }
.nav ul { display: flex; list-style: none; margin: 0; padding: 0; }
.nav li a { color: #fff; padding: .5rem .75rem; border-radius: .5rem; position: relative; transition: color .2s ease; }
.nav li a::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .25rem; height: 2px; background: linear-gradient(90deg, var(--gold), #ffd876); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; opacity: .85; }
.nav li a:hover::after, .nav li a.active::after { transform: scaleX(1); }
.nav li a.active { background: rgba(255,255,255,0.12); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; }

/* Hero */
.hero {
  padding-top: 96px; /* account for fixed header */
  background: radial-gradient(1200px 500px at 10% 10%, rgba(30,107,214,0.15), transparent 50%),
              linear-gradient(180deg, #0e1a2b 0%, #13233f 100%);
  color: #fff;
}

.hero-image {
  display: none;
}

@media (min-width: 768px) {
  .hero-image {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }
  
  .hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
}
.hero-inner { display: grid; grid-template-columns: 1fr; align-items: center; }

@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-content { padding-right: 1rem; }
}

/* Hero Slider */
.hero-slider {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  height: 300px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 10px;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.slider-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}
.hero h1 { font-family: "Poppins", sans-serif; font-size: clamp(2rem, 3.2vw, 3rem); margin: 0 0 .75rem; }
.hero .subtext { color: #cfe0ff; font-size: 1.1rem; margin-bottom: 1.5rem; }

.cta-group { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.business-meta { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .3rem; color: #cfe0ff; }
.business-meta a { color: #fff; text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1rem; border-radius: .75rem; font-weight: 600; transition: transform .15s ease, box-shadow .15s ease, background .2s, border .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.btn:active { transform: translateY(0); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), #2a7cf0); border: 1px solid rgba(255,255,255,0.1); background-size: 200% 200%; }
.btn-primary:hover { background-position: 100% 0; }
.btn-accent { color: #0e1a2b; background: linear-gradient(135deg, var(--gold), #ffd876); border: 1px solid rgba(0,0,0,0.08); background-size: 200% 200%; }
.btn-accent:hover { background-position: 100% 0; }
.btn-outline { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,0.35); }
.btn-call { white-space: nowrap; }

/* About */
.about { background: var(--light); }

/* Enhanced Cards */
.feature, .about-card { transition: all 0.3s ease; position: relative; overflow: hidden; }
.feature:hover, .about-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.feature::before, .about-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--gold)); opacity: 0; transition: opacity 0.3s ease; }
.feature:hover::before, .about-card:hover::before { opacity: 1; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.about-card { background: #fff; border: 1px solid var(--border); border-radius: .75rem; padding: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.about-card h3 { margin: 0 0 .5rem; font-family: "Poppins", sans-serif; }
.about-card p { margin: 0; color: var(--muted); }

/* Services */
.services { background: #fff; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { background: #fff; border: 1px solid var(--border); border-radius: .75rem; padding: 1.5rem; transition: transform .15s ease, box-shadow .15s ease, border-color .2s ease; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(180deg, rgba(30,107,214,0.25), rgba(212,175,55,0.25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,0.08); border-color: #cfe0ff; }
.card h3 { margin: 1rem 0 .5rem; font-family: "Poppins", sans-serif; color: var(--dark); }
.card p { margin: 0 0 1rem; color: var(--muted); }

.service-icon { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(30,107,214,0.1), rgba(212,175,55,0.1)); border-radius: 50%; margin-bottom: 1rem; }

.service-icon img { max-height: 50px; width: auto; }

/* Property Gallery */
.gallery { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-item { position: relative; border-radius: .75rem; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: transform .3s ease, box-shadow .3s ease; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; }
.gallery-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(14, 26, 43, 0.9)); color: white; padding: 1.5rem 1rem 1rem; opacity: 0; transition: opacity .3s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.gallery h3 { margin: 0 0 .25rem; font-family: "Poppins", sans-serif; font-size: 1.1rem; }
.gallery p { margin: 0; font-size: .9rem; opacity: 0.9; }

/* Why Choose Us */
.why { background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%); }
.features-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: .75rem; padding: 1rem; text-align: center; }
.feature .icon { font-size: 1.5rem; display: inline-block; margin-bottom: .5rem; }

/* Contact */
.contact { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.25rem; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: .75rem; padding: 1rem; }
.form-row { display: grid; gap: .35rem; margin-bottom: .75rem; }
label { font-weight: 600; }
input, textarea { font: inherit; padding: .65rem .75rem; border: 1px solid var(--border); border-radius: .6rem; transition: border-color .15s ease, box-shadow .15s ease; }
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,107,214,0.15); }
.form-actions { display: flex; gap: .75rem; align-items: center; }
.form-status { margin-top: .5rem; font-size: .95rem; color: var(--muted); }

.details { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .35rem; }
.quick-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--dark); color: #dbe7ff; }
.footer-inner { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 1rem; padding: 2rem 0 1rem; }
.footer-brand strong { color: #fff; font-family: "Poppins", sans-serif; }
.footer-links a, .footer-contact a { color: #dbe7ff; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,0.08); padding: .75rem 0 2rem; text-align: center; color: #9fb7db; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal-visible { opacity: 1; transform: translateY(0); }

/* Enhanced Visual Effects */
.section { position: relative; overflow: hidden; }
.section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity 0.3s ease; }
.section:hover::before { opacity: 0.6; }

/* Advanced Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.floating {
  animation: float 3s ease-in-out infinite;
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Hover animations */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-lift:hover {
  transform: translateY(-8px) scale(1.02);
}

.hover-grow {
  transition: transform 0.3s ease;
}

.hover-grow:hover {
  transform: scale(1.05);
}

/* Parallax effect */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Lock body scroll when mobile nav open */
body.lock { overflow: hidden; }

/* Responsive */
@media (max-width: 992px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-block; }
  .nav { position: fixed; top: 64px; left: 0; right: 0; background: rgba(14,26,43,0.98); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.08); padding: .75rem 1rem; display: none; flex-direction: column; gap: .75rem; height: calc(100vh - 64px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; }
  .btn-call { align-self: flex-start; }

  .about-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}
