@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@400;500;700&display=swap');

:root {
 --primary-color: #8B4513; /* SaddleBrown */
 --primary-dark: #6B2E0A;
 --secondary-color: #A0522D; /* Sienna */
 --accent-color: #CD853F; /* Peru */
 --bg-light: #F5F5DC; /* Beige */
 --bg-white: #FFFFFF;
 --text-dark: #3a2e25;
 --text-light: #6a5a4d;
 --border-color: #D2B48C; /* Tan */
 --radius-md: 8px;
 --radius-lg: 16px;
 --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
 --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
 --transition: all 0.3s ease-in-out;
 --font-main: 'Montserrat', sans-serif;
 --font-heading: 'Libre Baskerville', serif;
}

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

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

body {
 font-family: var(--font-main);
 line-height: 1.7;
 color: var(--text-dark);
 background-color: var(--bg-white);
 -webkit-font-smoothing: antialiased;
 overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-heading);
 font-weight: 700;
 line-height: 1.3;
 color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p { margin-bottom: 1rem; color: var(--text-light); }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style-position: inside; }
ul li { margin-bottom: 0.5rem; }

img {
 max-width: 100%;
 height: auto;
 display: block;
 border-radius: var(--radius-md);
}

.container {
 max-width: 1200px;
 margin-left: auto;
 margin-right: auto;
 padding-left: 1rem;
 padding-right: 1rem;
}

/* --- Buttons --- */
.btn {
 display: inline-block;
 padding: 12px 28px;
 border-radius: var(--radius-md);
 font-weight: 700;
 text-align: center;
 cursor: pointer;
 transition: var(--transition);
 border: 2px solid transparent;
}
.btn-primary {
 background-color: var(--primary-color);
 color: var(--bg-white);
}
.btn-primary:hover {
 background-color: var(--primary-dark);
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}
.btn-secondary {
 background-color: transparent;
 color: var(--primary-color);
 border-color: var(--primary-color);
}
.btn-secondary:hover {
 background-color: var(--primary-color);
 color: var(--bg-white);
}
.btn-text {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 font-weight: 700;
 color: var(--primary-color);
}
.btn-text svg {
 transition: transform 0.3s ease;
}
.btn-text:hover svg {
 transform: translateX(5px);
}

/* --- Header --- */
.header {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 background-color: rgba(255, 255, 255, 0.9);
 backdrop-filter: blur(10px);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
}
.nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 70px;
}
.nav-logo {
 font-family: var(--font-heading);
 font-size: 1.5rem;
 font-weight: 700;
 color: var(--text-dark);
}
.nav-links {
 display: flex;
 gap: 32px;
}
.nav-links a {
 font-weight: 500;
 color: var(--text-dark);
 position: relative;
 padding: 5px 0;
}
.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0;
 height: 2px;
 background-color: var(--primary-color);
 transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
 width: 100%;
}
.nav-toggle { display: none; }

/* --- Sections --- */
.section { padding: clamp(40px, 8vw, 80px) 0; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--text-dark); color: var(--bg-white); }
.bg-dark h1, .bg-dark h2, .bg-dark p { color: var(--bg-white); }
.section-header { text-align: center; margin-bottom: 3rem; max-width: 700px; margin-left:auto; margin-right:auto; }
.section-label {
 display: inline-block;
 margin-bottom: 1rem;
 padding: 4px 12px;
 background-color: var(--accent-color);
 color: var(--bg-white);
 border-radius: 20px;
 font-size: 0.9rem;
 font-weight: 700;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { max-width: 600px; margin: 0 auto; }

/* --- Hero --- */
.hero {
 position: relative;
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: 70vh;
 padding: 4rem 0;
 background-size: cover;
 background-position: center;
 color: var(--bg-white);
}
.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background: rgba(40, 26, 13, 0.6);
}
.hero-content {
 position: relative;
 z-index: 2;
 text-align: center;
}
.hero-title {
 color: var(--bg-white);
 margin-bottom: 1rem;
}
.hero-subtitle {
 color: rgba(255, 255, 255, 0.9);
 max-width: 600px;
 margin: 0 auto 2rem;
 font-size: 1.1rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;}
.hero-actions .btn-secondary { border-color: var(--bg-white); color: var(--bg-white); }
.hero-actions .btn-secondary:hover { background-color: var(--bg-white); color: var(--primary-color); }

/* --- Page Header Section --- */
.page-header-section {
 padding: 120px 0 60px;
 background-color: var(--bg-light);
 text-align: center;
}
.page-header-section h1 {
 margin-bottom: 0.5rem;
}
.page-header-section p {
 font-size: 1.1rem;
 color: var(--text-light);
}

/* --- Media Object --- */
.media-object {
 display: grid;
 grid-template-columns: 1fr;
 gap: 3rem;
 align-items: center;
}
.media-visual img {
 box-shadow: var(--shadow-md);
}
.media-copy ul {
 list-style: none;
 padding: 0;
 margin-top: 1.5rem;
}
.media-copy ul li {
 display: flex;
 align-items: flex-start;
 gap: 10px;
}
.media-copy .icon { color: var(--primary-color); flex-shrink: 0; margin-top: 2px; }

/* --- Grids --- */
.grid-2 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 2rem; grid-template-columns: 1fr; }

/* --- Card --- */
.card {
 background-color: var(--bg-white);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
 transition: var(--transition);
 display: flex;
 flex-direction: column;
 overflow: hidden;
}
.card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-md);
}
.card img {
 width: 100%;
 height: 200px;
 object-fit: cover;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card-body { padding: 1.5rem; flex-grow: 1; display:flex; flex-direction:column; }
.card-title { margin-bottom: 0.5rem; }
.card-text { margin-bottom: 1rem; flex-grow: 1;}

.feature-card {
 border: 1px solid var(--border-color);
}
.feature-list {
 list-style: none;
 padding: 0;
 margin-top: 1rem;
 margin-bottom: 1.5rem;
}
.feature-list li {
 padding-left: 1.5em;
 position: relative;
 margin-bottom: 0.5rem;
}
.feature-list li::before {
 content: '';
 color: var(--primary-color);
 position: absolute;
 left: 0;
 font-weight: 700;
}
.feature-card .btn {
 margin-top: auto;
 align-self: flex-start;
}

/* --- Timeline --- */
.timeline {
 position: relative;
 max-width: 800px;
 margin: 0 auto;
}
.timeline::after {
 content: '';
 position: absolute;
 width: 2px;
 background: var(--border-color);
 top: 0;
 bottom: 0;
 left: 30px;
}
.timeline-item {
 padding: 10px 40px 30px;
 position: relative;
 padding-left: 80px;
}
.timeline-number {
 position: absolute;
 left: 0;
 top: 5px;
 width: 60px;
 height: 60px;
 border-radius: 50%;
 background-color: var(--primary-color);
 color: var(--bg-white);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.5rem;
 font-family: var(--font-heading);
 z-index: 1;
 border: 4px solid var(--bg-light);
}

/* --- FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question {
 width: 100%;
 padding: 1.5rem 0;
 display: flex;
 justify-content: space-between;
 align-items: center;
 background: none;
 border: none;
 cursor: pointer;
 font-size: 1.2rem;
 font-family: var(--font-heading);
 text-align: left;
}
.faq-icon {
 width: 20px;
 height: 20px;
 transition: transform 0.3s;
 flex-shrink: 0; margin-left: 1rem;
}
.faq-answer {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-out;
}
.faq-answer p { padding-bottom: 1.5rem; margin: 0;}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* --- Contact Page --- */
.contact-layout {
 display: grid;
 grid-template-columns: 1fr;
 gap: 3rem;
}
.contact-info-item {
 display: flex;
 align-items: flex-start;
 gap: 1rem;
 margin-bottom: 1.5rem;
}
.contact-info-item .icon-wrapper { flex-shrink: 0; }
.contact-info-item h4 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.contact-info-item p { margin: 0; }
.map-container {
 width: 100%;
 height: 400px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
}
.section-map { padding-top: 0; }

/* --- Icon Wrapper --- */
.icon-wrapper {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 background-color: var(--primary-color);
 color: var(--bg-white);
 display: flex;
 align-items: center;
 justify-content: center;
 margin-bottom: 1.5rem;
}
.icon-wrapper.large { width: 80px; height: 80px; }
.icon-wrapper.large.success { background-color: #22c55e; }

/* --- Forms --- */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
 display: block;
 margin-bottom: 0.5rem;
 font-weight: 500;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
 width: 100%;
 padding: 12px;
 border-radius: var(--radius-md);
 border: 1px solid var(--border-color);
 background-color: var(--bg-white);
 transition: var(--transition);
}
.form input:focus, .form textarea:focus {
 outline: none;
 border-color: var(--primary-color);
 box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
}
.form textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; }
.checkbox-group {
 display: flex;
 align-items: center;
 gap: 10px;
}
.checkbox-group input[type="checkbox"] {
 width: auto;
}
.checkbox-group label {
 margin-bottom: 0;
 font-size: 0.9rem;
}
.checkbox-group a { text-decoration: underline; }

/* Validation Styles */
.input-error {
 border-color: #dc2626 !important;
 box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}
.field-error { color: #dc2626; font-size: 0.85rem; margin-top: 4px; }
button[disabled] { cursor: not-allowed; opacity: 0.7; }
.spinner {
 display: inline-block;
 width: 16px;
 height: 16px;
 border: 2px solid rgba(255,255,255,0.3);
 border-radius: 50%;
 border-top-color: #fff;
 animation: spin 0.8s linear infinite;
 margin-right: 8px;
 vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Footer --- */
.footer {
 background-color: var(--text-dark);
 color: #a0a0a0;
 padding: 60px 0 20px;
 margin-top: 60px;
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
 padding-bottom: 2rem;
}
.footer-logo { font-size: 1.5rem; font-family: var(--font-heading); color: var(--bg-white); margin-bottom: 1rem; display: block; }
.footer-description { font-size: 0.9rem; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 1rem; }
.footer-social a {
 color: var(--bg-white);
 width: 40px;
 height: 40px;
 display: flex;
 align-items: center;
 justify-content: center;
 background-color: rgba(255, 255, 255, 0.1);
 border-radius: 50%;
}
.footer-social a:hover { background-color: var(--primary-color); }
.footer-heading { font-size: 1.1rem; color: var(--bg-white); margin-bottom: 1rem; font-family:var(--font-main); text-transform: uppercase; letter-spacing: 1px; }
.footer-links, .footer-legal { list-style: none; padding: 0; }
.footer-links li, .footer-legal li { margin-bottom: 0.75rem; }
.footer-links a, .footer-legal a, .footer-contact a { color: #a0a0a0; }
.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover { color: var(--bg-white); }
.footer-contact p { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 0.75rem; color: #a0a0a0;}
.footer-contact svg { flex-shrink: 0; margin-top: 3px; }
.footer-hours { font-size: 0.9rem; line-height: 1.6; color: #a0a0a0;}
.footer-bottom {
 border-top: 1px solid rgba(255, 255, 255, 0.1);
 padding-top: 2rem;
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 gap: 1rem;
 font-size: 0.9rem;
}
.footer-bottom p { margin-bottom: 0;}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal li { margin-bottom: 0; }

/* --- Cookie Banner --- */
.cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--text-dark);
 color: var(--bg-white);
 padding: 1rem;
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 gap: 1rem;
 z-index: 1001;
}
.cookie-banner p { margin: 0; font-size: 0.9rem; color: #a0a0a0;}
.cookie-banner a { color: var(--bg-white); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 1rem; flex-shrink: 0; }
.cookie-buttons .btn { padding: 8px 16px; }

/* Thank You Page */
.thank-you-section { text-align: center; padding: 100px 0;}

/* Legal Pages */
.legal-content h2 { margin: 2rem 0 1rem; }
.legal-content ul { padding-left: 2rem; margin-bottom: 1rem; }
.legal-content a { text-decoration: underline; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.cookie-table th, .cookie-table td { border: 1px solid var(--border-color); padding: 0.75rem; text-align: left; }
.cookie-table th { background: var(--bg-light); font-weight: 700; }

/* CTA Section */
.cta-section {
 text-align: center;
}
.cta-section.bg-dark h2, .cta-section.bg-dark p { color: var(--bg-white); }
.cta-section p { max-width: 600px; margin: 0 auto 2rem; }

/* Content Sections */
.content-section {
 max-width: 800px;
 margin: 0 auto;
 text-align: center;
}
.content-image {
 max-width: 100%;
 margin-bottom: 2rem;
}

/* Video Section */
.video-container { text-align: center; }
.video-wrapper {
 position: relative;
 max-width: 800px;
 margin: 0 auto;
 border-radius: var(--radius-lg);
 overflow: hidden;
 box-shadow: var(--shadow-md);
}
.video-wrapper video {
 width: 100%;
 display: block;
}
.video-play-btn1 {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 width: 80px;
 height: 80px;
 border-radius: 50%;
 background: rgba(255, 255, 255, 0.8);
 border: none;
 font-size: 2rem;
 color: var(--primary-color);
 cursor: pointer;
 transition: all 0.3s ease;
 backdrop-filter: blur(5px);
}
.video-play-btn1:hover {
 transform: translate(-50%, -50%) scale(1.1);
 background: white;
}
.video-wrapper.playing .video-play-btn1 {
 opacity: 0;
 pointer-events: none;
}
/* --- Responsive --- */
@media (max-width: 768px) {
 .nav-toggle {
 display: block;
 background: none;
 border: none;
 cursor: pointer;
 z-index: 1001;
 }
 .nav-toggle span {
 display: block;
 width: 25px;
 height: 2px;
 background: var(--text-dark);
 margin: 6px 0;
 transition: var(--transition);
 }
 .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
 .nav-toggle.open span:nth-child(2) { opacity: 0; }
 .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
 
 .nav-links {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100vh;
 background: var(--bg-white);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 gap: 2rem;
 transform: translateX(100%);
 transition: transform 0.4s ease-in-out;
 }
 .nav-links.active {
 transform: translateX(0);
 }
 .nav-links a { font-size: 1.5rem; }
}

@media (min-width: 768px) {
 .grid-2 { grid-template-columns: repeat(2, 1fr); }
 .grid-3 { grid-template-columns: repeat(3, 1fr); }
 .media-object { grid-template-columns: repeat(2, 1fr); }
 .media-object.reversed .media-visual { order: 2; }
 .contact-layout { grid-template-columns: 2fr 1fr; }
}