/* --- VARIABLES & SETUP --- */
:root {
    --pri: #FFFFFF; /* Pure white - max contrast text */
    --sec: #FF8A65; /* Bright coral - Primary Button */
    --acc: #E64A19; /* Strong orange - Accent/Hover */
    --dark: #2D1F1A; /* Dark brown - Background */
    --dark-alt: #3D2822; /* Slightly lighter sections */
    --dark-card: #4A332C; /* Cards, form areas */
    --border: #6D4C44; /* Visible borders */
    --font-heading: 'Josefin Sans', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

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

body {
    background-color: var(--dark);
    color: var(--pri);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
}

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

a {
    color: var(--sec);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--acc);
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-dark {
    background-color: var(--dark-alt);
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 14px 24px;
    border-radius: 8px 0 8px 0;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--sec);
    color: var(--dark);
    border-color: var(--sec);
}

.btn-primary:hover {
    background-color: var(--acc);
    border-color: var(--acc);
    color: var(--dark);
}

.btn-secondary {
    background-color: var(--acc);
    color: var(--pri);
    border-color: var(--acc);
}

.btn-secondary:hover {
    background-color: var(--sec);
    border-color: var(--sec);
    color: var(--dark);
}

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

.btn-outline:hover {
    background-color: var(--pri);
    color: var(--dark);
    border-color: var(--pri);
}


/* --- CARDS --- */
.card {
    background-color: var(--dark-card);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    text-align: center;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 20px auto;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    margin-bottom: 15px;
    color: var(--sec);
}

/* --- HEADER --- */
.header {
    background-color: rgba(45, 31, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    width: 100%;
    z-index: 1000;
}

.sticky-header {
    position: sticky;
    top: 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pri);
}

.logo:hover {
    color: var(--sec);
}

.nav a {
    color: var(--pri);
    margin: 0 15px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--pri);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-menu {
    display: none;
    flex-direction: column;
    background-color: var(--dark);
    padding: 20px;
}

.mobile-nav-menu a {
    color: var(--pri);
    padding: 10px 0;
    text-align: center;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border);
}
.mobile-nav-menu a:last-child {
    border-bottom: none;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--dark-alt);
    padding: 60px 0 0;
    color: var(--pri);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--sec);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-col p {
    line-height: 1.6;
    opacity: 0.95;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--pri);
    opacity: 0.95;
}

.footer-col ul a:hover {
    opacity: 1;
    color: var(--sec);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border);
}

/* --- PAGE-SPECIFIC SECTIONS --- */

/* HERO_SPLIT */
.hero-split {
    display: flex;
    /* min-height: 90vh; */
    align-items: center;
}

.hero-content {
    flex-basis: 50%;
    padding: 40px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
    opacity: 1;
}

.hero-image {
    flex-basis: 50%;
    background-size: cover;
    background-position: center;
    min-height: 90vh;
}

/* FEATURES_CARDS / ITEMS */
.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* TESTIMONIALS_GRID */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--dark-card);
    padding: 30px;
    border-left: 5px solid var(--acc);
}

.testimonial-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    color: var(--sec);
}

/* STATS_ROW */
.stats-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--sec);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* CTA_SIMPLE */
.cta-simple-section p {
    max-width: 600px;
    margin: 20px auto 30px;
}

/* NEWSLETTER_FULLWIDTH */
.newsletter-fullwidth-section {
    background-color: var(--acc);
}

.newsletter-fullwidth-section .container {
    text-align: center;
}

.newsletter-fullwidth-section h3 {
    color: var(--dark);
    font-size: 2rem;
}
.newsletter-fullwidth-section p {
    color: var(--dark);
    margin: 10px 0 20px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 14px;
    border: none;
    border-radius: 8px 0 0 0;
    font-family: var(--font-body);
    background-color: var(--pri);
    color: var(--dark);
}

.newsletter-form button {
    border-radius: 0 8px 0 8px;
}

/* PAGE HEADER */
.page-header-section {
    text-align: center;
    background-size: cover;
    background-position: center;
    background-color: var(--dark-alt);
}

/* ABOUT PAGE */
.text-columns-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.text-column {
    flex: 1;
    min-width: 300px;
}
.text-column h3 {
    color: var(--sec);
    margin-bottom: 15px;
}
.quote-centered-section {
    text-align: center;
}
.quote-centered-section blockquote {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.4;
}
.quote-centered-section cite {
    color: var(--sec);
    font-weight: 600;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 4px solid var(--acc);
}
.team-card span {
    opacity: 0.8;
}
.features-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.feature-icon { width: 50px; height: 50px; margin: 0 auto 15px; }
.feature-item h5 { font-size: 1.2rem; color: var(--sec); margin-bottom: 10px; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}

/* CONTACT PAGE */
.contact-split-section {
    display: flex;
    flex-wrap: wrap;
    min-height: 90vh;
}
.contact-form-wrapper, .contact-info-wrapper {
    flex: 1;
    padding: 5%;
}
.contact-form-wrapper { background-color: var(--dark-card); }
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 5px;
}
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--dark);
    border: 1px solid var(--border);
    color: var(--pri);
    border-radius: 4px;
}
.contact-info-wrapper { display: flex; flex-direction: column; }
.contact-info-content { padding-bottom: 40px; }
.contact-details p { margin-bottom: 15px; }
.business-hours { margin-top: 30px; }
.map-container { flex-grow: 1; min-height: 250px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* FAQ PAGE */
.faq-container { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--pri);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-icon { font-size: 1.5rem; color: var(--sec); }
.faq-answer { display: none; padding: 0 0 20px; }
.faq-answer p { opacity: 0.9; }

/* LEGAL PAGES */
.legal-content h2 { color: var(--sec); margin-top: 30px; margin-bottom: 15px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { margin-bottom: 15px; }
.legal-content ul { padding-left: 20px; list-style: disc; }

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-alt);
    color: var(--pri);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    z-index: 2000;
    border-top: 1px solid var(--border);
    display: none; /* Hidden by default */
}
.cookie-banner p { margin: 0; }
.cookie-banner a { text-decoration: underline; }
.cookie-banner div { display: flex; gap: 10px; }
.cookie-banner .btn-outline { border-color: var(--sec); color: var(--sec);}
.cookie-banner .btn-outline:hover { background: var(--sec); color: var(--dark);}

/* CONTACT SUCCESS MODAL */
.modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}
.modal.modal-open {
    visibility: visible;
    opacity: 1;
}
.modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}
.modal-content {
    position: relative;
    background-color: var(--dark-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal.modal-open .modal-content {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--pri);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.modal-close:hover {
    opacity: 1;
}
.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background-color: var(--sec);
    color: var(--dark);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 64px;
    border-radius: 50%;
}
.modal-title {
    margin-bottom: 12px;
    color: var(--pri);
    font-size: 1.5rem;
}
.modal-text {
    margin-bottom: 24px;
    color: var(--pri);
    opacity: 0.95;
    line-height: 1.5;
}
.modal-btn-close {
    min-width: 120px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .hero-split { flex-direction: column; }
    .hero-content { flex-basis: auto; text-align: center; padding: 60px 20px;}
    .hero-image { display: none; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .nav-left, .nav-right { display: none; }
    .mobile-nav-toggle { display: block; }
    .mobile-nav-menu.active { display: flex; }
    .header-container { justify-content: space-between; }
    .logo { margin: 0 auto 0 0; }
    .stats-row { flex-direction: column; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .contact-split-section { flex-direction: column; }
    .cookie-banner { flex-direction: column; text-align: center; }
}
