/* ==========================================
   VA WINE COOLING — STYLES
   Page-for-page match: vawinecooling.com
   ========================================== */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-red {
  background: #8B1A1A;
  color: #fff;
  border-color: #8B1A1A;
}
.btn-red:hover { background: #6d1212; border-color: #6d1212; }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-red-sm {
  display: inline-block;
  padding: 10px 22px;
  background: #8B1A1A;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transition: background 0.2s;
  margin-top: 18px;
}
.btn-red-sm:hover { background: #6d1212; }

.btn-white {
  background: #fff;
  color: #8B1A1A;
  border-color: #fff;
  font-weight: 700;
}
.btn-white:hover { background: #f0e0e0; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  font-weight: 700;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }

.btn-white-sm {
  display: inline-block;
  padding: 9px 20px;
  background: #fff;
  color: #333;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 4px;
  transition: background 0.2s;
  margin-top: 14px;
}
.btn-white-sm:hover { background: #eee; }

/* ==========================================
   HEADER
   ========================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #1a1212;
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon { width: 38px; height: 38px; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.12em;
}
.main-nav ul { display: flex; gap: 32px; align-items: center; }
.main-nav a {
  color: #e0d0d0;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.main-nav a:hover { color: #fff; }
.main-nav li.has-dropdown { position: relative; }
.main-nav .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #1a1212;
  min-width: 230px;
  border-top: 3px solid #8B1A1A;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 999;
}
.main-nav li.has-dropdown:hover .dropdown { display: block; }
.main-nav .dropdown li a {
  padding: 12px 20px;
  display: block;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.main-nav .dropdown li a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #8B1A1A;
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.btn-phone:hover { background: #6d1212; }
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('/images/hero-wine-cellar.webp') center center / cover no-repeat;
  padding: 120px 24px 60px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 8, 8, 0.68);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ==========================================
   WHY CHOOSE US
   ========================================== */
.why-us {
  background: #f5f0eb;
  padding: 56px 0;
}
.why-us h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1212;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  color: #2d1a1a;
  font-weight: 400;
}
.why-list li i {
  color: #8B1A1A;
  font-size: 1.3rem;
  width: 26px;
  flex-shrink: 0;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
  background: #3a3030;
  padding: 72px 0;
}
.section-title-light {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: #f0e8e0;
  text-align: center;
  letter-spacing: 0.08em;
  margin-bottom: 48px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: #f5f0eb;
  border-radius: 8px;
  padding: 28px 22px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.service-card h3 {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 0.92rem;
  color: #1a1212;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  line-height: 1.3;
}
.service-icon {
  color: #8B1A1A;
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.service-card p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.65;
  flex-grow: 1;
}

/* ==========================================
   SERVICE AREA
   ========================================== */
.service-area {
  background: #4a3e3e;
  padding: 72px 0;
  text-align: center;
}
.service-area h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: #f0e8e0;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.service-area-sub {
  color: #c8b8b8;
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.maps-grid iframe {
  width: 100%;
  height: 340px;
  border: none;
  display: block;
}

/* ==========================================
   RECENT PROJECTS
   ========================================== */
.projects-section {
  background: #f5f0eb;
  padding: 72px 0;
}
.projects-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: #1a1212;
  text-align: center;
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}
.projects-slider { position: relative; border-radius: 8px; overflow: hidden; }
.project-card {
  display: none;
  position: relative;
  background: #2d2020 center / cover no-repeat;
  min-height: 340px;
  border-radius: 8px;
  align-items: flex-end;
}
.project-card.active { display: flex; }
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
  border-radius: 8px;
}
.project-info {
  position: relative;
  z-index: 2;
  padding: 28px 32px;
}
.project-info h3 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.project-info p { color: rgba(255,255,255,0.8); font-size: 0.92rem; }
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.slider-controls button {
  background: #8B1A1A;
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-controls button:hover { background: #6d1212; }

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-section {
  background: #3a3030;
  padding: 72px 0;
  text-align: center;
}
.testimonials-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: #f0e8e0;
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}
.testimonials-slider { max-width: 760px; margin: 0 auto; min-height: 160px; position: relative; }
.testimonial-card { display: none; }
.testimonial-card.active { display: block; }
.testimonial-text {
  color: #e8dada;
  font-size: 1rem;
  line-height: 1.75;
  font-style: italic;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 16px;
}
.testimonial-author {
  color: #c8b0b0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.2s;
}
.dot.active { background: #8B1A1A; }

/* ==========================================
   CTA BANNER
   ========================================== */
.cta-banner {
  background: #8B1A1A;
  padding: 72px 24px;
  text-align: center;
}
.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 32px;
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: #1a1212;
  color: #c8b0b0;
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-link { margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; margin-bottom: 4px; }
.footer-brand a { color: #c8b0b0; transition: color 0.2s; }
.footer-brand a:hover { color: #fff; }
.footer-nav h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 0.88rem; color: #c8b0b0; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  padding: 18px 24px;
  font-size: 0.8rem;
  color: rgba(200,176,176,0.5);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { padding: 12px 20px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #1a1212; padding: 16px 0; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 12px 24px; }
  .main-nav .dropdown { position: static; display: none; border-top: none; box-shadow: none; background: rgba(255,255,255,0.05); }
  .mobile-toggle { display: block; }
  .hero { min-height: 80vh; }
  .services-grid { grid-template-columns: 1fr; }
  .maps-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .cta-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .section-title-light, .projects-section h2 { font-size: 1.3rem; }
}