/* ============================================
   CSI Cabinets - Premium Dark Luxury Styles
   Forest Green + Off-White + Gold Accents
   ============================================ */

/* CSS Custom Properties */
:root {
  --forest-dark: #0a1f14;
  --forest-primary: #0f2b1d;
  --forest-medium: #1a3d2a;
  --forest-light: #2d5a3f;
  --forest-accent: #3d7a54;
  
  --off-white: #f5f0e8;
  --off-white-light: #faf7f2;
  --off-white-muted: #e8e0d0;
  
  --gold-primary: #c5a059;
  --gold-light: #d4b76a;
  --gold-dark: #a8863e;
  --gold-muted: #b8944d;
  
  --text-dark: #1a1a1a;
  --text-light: #f5f0e8;
  --text-muted: #a09888;
  
  --font-display: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.24);
  --shadow-gold: 0 8px 32px rgba(197, 160, 89, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  color: var(--forest-dark);
  border-color: var(--gold-primary);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--off-white);
  border-color: var(--off-white);
}

.btn-outline:hover {
  background: var(--off-white);
  color: var(--forest-dark);
}

.btn-outline-light {
  background: transparent;
  color: var(--forest-primary);
  border-color: var(--forest-primary);
}

.btn-outline-light:hover {
  background: var(--forest-primary);
  color: var(--off-white);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Section Tags */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--forest-primary);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 31, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  padding: 0 24px;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 31, 20, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--off-white);
}

.logo-icon {
  color: var(--gold-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--off-white-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--gold-primary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  background: var(--forest-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 31, 20, 0.92) 0%,
    rgba(15, 43, 29, 0.85) 50%,
    rgba(10, 31, 20, 0.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-card {
  max-width: 700px;
  padding: 48px;
  background: rgba(15, 43, 29, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 12px;
  margin-bottom: 40px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 24px;
}

.hero-card h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--off-white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-card p {
  font-size: 1.15rem;
  color: var(--off-white-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

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

/* Floating Stat Cards */
.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-card {
  padding: 24px 32px;
  background: rgba(15, 43, 29, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 10px;
  min-width: 160px;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--off-white-muted);
  letter-spacing: 0.05em;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: 100px 24px;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  padding: 40px 32px;
  background: var(--off-white-light);
  border: 1px solid var(--off-white-muted);
  border-radius: 10px;
  transition: var(--transition);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--forest-primary), var(--forest-medium));
  border-radius: 12px;
  color: var(--gold-primary);
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--forest-primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--forest-medium);
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 100px 24px;
  background: var(--forest-primary);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--gold-primary);
  border-radius: 10px;
  z-index: -1;
  opacity: 0.4;
}

.about-content .section-tag {
  text-align: left;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--off-white);
  margin-bottom: 24px;
}

.about-content > p {
  font-size: 1.05rem;
  color: var(--off-white-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.about-feature {
  display: flex;
  gap: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 10px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.about-feature h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.9rem;
  color: var(--off-white-muted);
  line-height: 1.6;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
  padding: 100px 24px;
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 3/2;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 31, 20, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--off-white);
}

.gallery-cta {
  text-align: center;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 100px 24px;
  background: var(--off-white-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.testimonial-card {
  padding: 36px;
  background: var(--off-white);
  border: 1px solid var(--off-white-muted);
  border-radius: 10px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  font-size: 1.2rem;
  color: var(--gold-primary);
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-weight: 600;
  color: var(--forest-primary);
  font-size: 0.95rem;
}

.author-location {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest-primary) 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c5a059' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--off-white);
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--off-white-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 100px 24px;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-tag {
  text-align: left;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--forest-primary);
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--forest-primary), var(--forest-medium));
  border-radius: 10px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 1rem;
  color: var(--forest-primary);
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--gold-primary);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--off-white-light);
  border: 1px solid var(--off-white-muted);
  border-radius: 12px;
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--off-white-muted);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  gap: 12px;
}

.form-success.show {
  display: flex;
}

.form-success svg {
  color: var(--forest-accent);
}

.form-success h3 {
  font-size: 1.5rem;
  color: var(--forest-primary);
}

.form-success p {
  color: var(--text-muted);
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
  background: var(--forest-dark);
}

.map-section iframe {
  filter: grayscale(0.3) contrast(1.05);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 24px 32px;
  background: var(--forest-dark);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 16px;
}

.footer-logo svg {
  color: var(--gold-primary);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--off-white-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--off-white-muted);
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-contact p {
  font-size: 0.9rem;
  color: var(--off-white-muted);
  line-height: 1.8;
}

.footer-contact a {
  color: var(--off-white-muted);
}

.footer-contact a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  padding-top: 32px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    max-width: 500px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 31, 20, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 120px 24px 60px;
  }

  .hero-card {
    padding: 32px 24px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
  }

  .stat-card {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .hero-card h1 {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .service-card {
    padding: 28px 24px;
  }
}
