/*F
Theme Name: Napa Sonoma Wine Country Designated Driver
Theme URI: https://floralwhite-parrot-996209.hostingersite.com
Author: Napa Sonoma Wine Country Designated Driver
Author URI: https://floralwhite-parrot-996209.hostingersite.com
Description: A sophisticated one-page theme for Napa Sonoma Wine Country Designated Driver service. Features elegant wine country aesthetics with warm cream and gold accents.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nswcdd
Tags: one-column, custom-background, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   CSS Variables / Design Tokens
   ========================================================================== */
:root {
  /* Colors */
  --cream: hsl(45, 30%, 96%);
  --gold: hsl(43, 74%, 49%);
  --wine-red: hsl(348, 83%, 30%);
  --earth: hsl(30, 30%, 25%);
  --sage: hsl(120, 15%, 45%);
  
  /* UI Colors */
  --background: hsl(45, 30%, 96%);
  --foreground: hsl(30, 30%, 15%);
  --primary: hsl(348, 83%, 30%);
  --primary-foreground: hsl(45, 30%, 96%);
  --secondary: hsl(45, 20%, 90%);
  --muted: hsl(45, 15%, 85%);
  --muted-foreground: hsl(30, 20%, 40%);
  --accent: hsl(43, 74%, 49%);
  --accent-foreground: hsl(30, 30%, 15%);
  --border: hsl(30, 20%, 85%);
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-max: 1280px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}- 

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--foreground);
}

.btn-primary:hover {
  background-color: hsl(43, 74%, 44%);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-foreground);
  border: 2px solid var(--primary-foreground);
}

.btn-outline:hover {
  background-color: var(--primary-foreground);
  color: var(--primary);
}

.btn-secondary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-secondary:hover {
  background-color: hsl(348, 83%, 25%);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--background);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.top-bar {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact {
  display: flex;
  gap: 1.5rem;
}

.top-bar-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.9;
}

.top-bar-contact a:hover {
  opacity: 1;
}

.top-bar-cta .btn {
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
}

.main-nav {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
  color: var(--primary);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--foreground);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 1rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--foreground);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

@media (max-width: 768px) {
  .top-bar-contact span {
    display: none;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-cta {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 120px;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 900px;
}

.hero-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-location {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Marquee */
.marquee-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  overflow: hidden;
  padding: 1rem 0;
}

.marquee {
  display: flex;
  animation: marquee 30s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  padding-right: 2rem;
}

.marquee-content span {
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
  padding: var(--section-padding);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 0;
  box-shadow: var(--shadow-xl);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: -1rem;
  right: 1rem;
  bottom: 1rem;
  border: 2px solid var(--accent);
  z-index: -1;
}

.about-content {
  padding: 1rem 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

.about-feature svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}

@media (max-width: 768px) {
  .about .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image::before {
    display: none;
  }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
  padding: var(--section-padding);
  background-color: var(--secondary);
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--background);
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(348, 83%, 30%, 0.1);
  border-radius: 50%;
}

.service-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.service-description {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.services-note {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background-color: var(--background);
  border-left: 4px solid var(--accent);
}

.services-note p {
  font-size: 1.125rem;
  color: var(--foreground);
}

.services-note strong {
  color: var(--primary);
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-choose-us {
  padding: var(--section-padding);
}

.why-choose-us .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.reasons-list {
  list-style: none;
  margin-top: 2rem;
}

.reason-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reason-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(120, 15%, 45%, 0.2);
  border-radius: 50%;
}

.reason-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--sage);
}

.reason-content h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.reason-content p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.why-image {
  position: relative;
}

.why-image img {
  width: 100%;
  box-shadow: var(--shadow-xl);
}

.experience-badge {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background-color: var(--accent);
  color: var(--foreground);
  padding: 1.5rem;
  text-align: center;
}

.experience-badge .years {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .why-choose-us .container {
    grid-template-columns: 1fr;
  }
  
  .why-image {
    order: -1;
  }
  
  .experience-badge {
    bottom: -1rem;
    left: auto;
    right: 1rem;
  }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials {
  padding: var(--section-padding);
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.testimonials .section-label {
  color: var(--accent);
}

.testimonials .section-title {
  color: var(--primary-foreground);
}

.testimonials-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  fill: var(--accent);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
  padding: var(--section-padding);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  padding: 2rem;
  background-color: var(--secondary);
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background);
  border-radius: 50%;
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.contact-item h4 {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  font-weight: 500;
  color: var(--foreground);
}

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

.contact-form-wrapper {
  padding: 2rem;
  background-color: var(--background);
  border: 1px solid var(--border);
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--border);
  background-color: var(--background);
  color: var(--foreground);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .contact .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
 background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text {
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.footer-tagline {
  opacity: 0.7;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background-color: var(--accent);
  color: var(--foreground);
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  opacity: 0.7;
  font-size: 0.875rem;
}

.footer-license {
  opacity: 0.7;
  font-size: 0.875rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger animations for children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}
