/* Template 42 - Rustic Vineyard / Wine Country Elegance */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,500&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --wine-deep: #722F37;
  --wine-burgundy: #8B2942;
  --wine-merlot: #5C1A1B;
  --grape-purple: #4A1942;
  --oak-brown: #5D4037;
  --barrel-tan: #8D6E63;
  --cream-linen: #F5F0E6;
  --parchment: #FBF7F0;
  --gold-label: #C9A050;
  --olive-leaf: #6B7B3C;
  --charcoal: #2D2926;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--cream-linen);
  font-weight: 400;
  font-size: 1rem;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 Q35 15 30 25 Q25 15 30 5' fill='none' stroke='%23722F37' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

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

/* Header - Wine Label Style */
.site-header {
  background: var(--parchment);
  border-bottom: 3px double var(--wine-deep);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header::before {
  content: '';
  display: block;
  height: 8px;
  background: linear-gradient(90deg, var(--wine-deep), var(--wine-burgundy), var(--grape-purple), var(--wine-burgundy), var(--wine-deep));
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.site-logo a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--wine-deep);
  text-decoration: none;
  letter-spacing: 0.05em;
  position: relative;
}

.site-logo a::before,
.site-logo a::after {
  content: '\2767';
  color: var(--gold-label);
  margin: 0 0.5rem;
  font-size: 0.8em;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.site-nav a {
  color: var(--oak-brown);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.25rem;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid transparent;
}

.site-nav a:hover {
  color: var(--wine-deep);
  border-color: var(--wine-deep);
  background: rgba(114, 47, 55, 0.05);
}

/* Hero Section */
.section.head {
  padding: 6rem 0;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, var(--parchment) 0%, var(--cream-linen) 100%);
}

.section.head::before {
  content: '\2042';
  display: block;
  font-size: 2rem;
  color: var(--gold-label);
  margin-bottom: 2rem;
  letter-spacing: 1em;
}

.section.head h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--wine-deep);
  margin-bottom: 1.5rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

.section.head p {
  font-size: 1.1rem;
  color: var(--oak-brown);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.9;
  padding: 1.5rem 2rem;
  border-left: 2px solid var(--gold-label);
  border-right: 2px solid var(--gold-label);
  text-align: center;
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

.section header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--wine-deep);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gold-label);
}

.section header p {
  font-size: 1.05rem;
  color: var(--barrel-tan);
  max-width: 600px;
  margin: 1.5rem auto 0;
  font-style: italic;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--wine-burgundy);
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  text-align: left;
}

/* Footer - Cellar Style */
.footer {
  background: var(--wine-merlot);
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: 
    linear-gradient(135deg, var(--gold-label) 25%, transparent 25%) -10px 0,
    linear-gradient(225deg, var(--gold-label) 25%, transparent 25%) -10px 0,
    linear-gradient(315deg, var(--gold-label) 25%, transparent 25%),
    linear-gradient(45deg, var(--gold-label) 25%, transparent 25%);
  background-size: 20px 12px;
  background-color: var(--wine-deep);
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.footer-about {
  flex: 1;
  max-width: 350px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 0.95rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::before {
  content: '\2619';
  margin-right: 0.5rem;
  color: var(--gold-label);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.footer-links a:hover::before {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.copyright,
.copyright a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }

/* Cork float animation */
@keyframes corkFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}
