/* 
   Japandi Spirit Tour - Design System 
   Theme: Japandi (Wabi-sabi + Hygge)
   Key concepts: Yohaku (Empty Space), Earth Tones, Silence, Warmth
*/

:root {
    /* Color Palette - Updated to match Logo (Brown/Green) */
    --color-forest: #7C6A5A;
    /* Warm Brown/Taupe base */
    --color-stone: #EFEBE9;
    /* Light warm grey */
    --color-cream: #FDFBF7;
    /* Off-white background */
    --color-wood: #8B5E3C;
    /* Richer Brown */
    --color-text: #5D4037;
    /* Dark Brown for text */
    --color-text-light: #8D6E63;
    /* Lighter Brown for secondary text */
    --color-gold: #9CCC65;
    /* Light Green from logo dots (replacing gold accent) */
    /* Muted Gold for accents */
    --color-white: #FFFFFF;

    /* Typography */
    --font-head: 'Jost', sans-serif;
    --font-body: 'Playfair Display', serif;

    /* Spacing (Yohaku) */
    --spacing-sm: 1rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;

    /* Layout */
    --container-width: 1200px;
    --border-radius: 4px;
    /* Minimal rounding */
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-text);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    font-weight: 300;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.price {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--color-wood);
    font-weight: 500;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.narrow-container {
    max-width: 800px;
    margin: 0 auto;
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

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

.mb-large {
    margin-bottom: var(--spacing-lg);
}

.overline {
    display: block;
    font-family: var(--font-head);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--color-wood);
    margin-bottom: 1rem;
}

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

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

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

.text-light {
    color: var(--color-stone);
}

.text-gold {
    color: var(--color-gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-primary {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-white);
    color: var(--color-text);
}

.btn-gold {
    background-color: var(--color-gold);
    color: #fff;
}

.btn-gold:hover {
    background-color: #b08d55;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem var(--spacing-md);
    z-index: 1000;
    background: rgba(253, 251, 247, 0.95);
    /* Semi-transparent cream */
    backdrop-filter: blur(5px);
    transition: padding 0.3s ease;
}

.logo-text {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    gap: 0.2rem;
}

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

.logo-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: none;
    font-weight: 400;
    opacity: 0.8;
}

.nav-links a {
    font-family: var(--font-head);
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
}

.nav-links .nav-cta {
    border: 1px solid var(--color-text);
    padding: 0.5rem 1.5rem;
}

.nav-links .nav-cta:hover {
    background-color: var(--color-text);
    color: var(--color-white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    background-image: url('img/hidaspirit.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax-ish */
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    margin-bottom: 2rem;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

/* Story Section */
#our-story .image-wrapper img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Experiences */
.card {
    background: var(--color-white);
    padding-bottom: 1rem;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 300px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 0 1.5rem 1.5rem;
}

.card-subtitle {
    font-family: var(--font-head);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--color-wood);
    margin-bottom: 0.5rem;
}

/* Pricing */
.pricing-list {
    list-style: none;
    margin: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-list .price {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 500;
}

.pricing-image img {
    height: 100%;
    object-fit: cover;
    max-height: 500px;
    width: 100%;
    border-radius: var(--border-radius);
}

/* Accordion */
.accordion-item {
    border-bottom: 1px solid rgba(47, 79, 79, 0.1);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.accordion-header::after {
    content: '+';
    font-weight: 300;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding-bottom: 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    /* simple approximation */
}

.accordion-item.active .accordion-header::after {
    content: '-';
}

/* Cancellation Policy */
.policy-box {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--color-gold);
    margin: 2rem 0;
}

.policy-list,
.notes-list {
    list-style: none;
}

.policy-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.policy-list li:last-child {
    margin-bottom: 0;
}

.notes-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.notes-list li::before {
    content: '•';
    color: var(--color-gold);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.mt-large {
    margin-top: 3rem;
}

/* Contact Form */
.contact-form {
    background: var(--color-white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-head);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--color-cream);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: var(--border-radius);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(197, 160, 101, 0.15);
}

/* Required / Optional markers */
.required {
    color: var(--color-gold);
    font-weight: 400;
}

.optional {
    font-size: 0.8em;
    opacity: 0.6;
    font-weight: 300;
}

/* Date group */
.date-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.date-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.date-label {
    font-family: var(--font-head);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    opacity: 0.7;
    color: var(--color-text);
}

.date-item input[type="date"] {
    width: 100%;
    padding: 0.8rem;
    background: var(--color-cream);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: var(--border-radius);
}

.date-item input[type="date"]:focus {
    outline: none;
    border-color: var(--color-gold);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(197, 160, 101, 0.15);
}

/* Transportation Options */
.transport-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.transport-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease;
}

.transport-card:hover {
    transform: translateY(-5px);
}

.transport-icon-large {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    fill: var(--color-gold);
}

.transport-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-wood);
}

.transport-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Program Transport Icons */
.program-transport {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.transport-mini-icon {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-family: var(--font-head);
    color: var(--color-text-light);
    opacity: 0.8;
}

.transport-mini-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--color-gold);
}

/* External Collaborations */
.collab-section {
    margin-top: 5rem;
    padding-top: 5rem;
    border-top: 1px double var(--color-gold);
}

.collab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.collab-item {
    display: flex;
    gap: 2rem;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    align-items: center;
}

.collab-image {
    flex: 0 0 150px;
    height: 150px;
}

.collab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.collab-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.collab-info p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .transport-grid,
    .collab-grid {
        grid-template-columns: 1fr;
    }

    .collab-item {
        flex-direction: column;
        text-align: center;
    }

    .collab-image {
        flex: 0 0 200px;
        width: 100%;
    }
}

/* Checkbox group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    transition: opacity 0.3s ease;
}

.checkbox-label:hover {
    opacity: 0.8;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: var(--color-cream);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.75rem;
}

.exp-hours {
    font-size: 0.8em;
    opacity: 0.6;
    font-style: italic;
}

/* Other details */
.other-details {
    margin-top: 0.8rem;
    padding-left: 2.8rem;
}

.other-details label {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    display: block;
    color: var(--color-text);
    font-family: var(--font-head);
    letter-spacing: 0.03em;
    opacity: 0.9;
}

.other-details textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--color-cream);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: var(--border-radius);
}

.other-details textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(197, 160, 101, 0.15);
}

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

/* Footer */
.footer {
    padding: 6rem 0 4rem;
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer .logo-text {
    color: var(--color-cream);
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer .logo-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-top: 0.4rem;
}

.footer-social {
    margin: 2rem 0;
}

.social-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    fill: rgba(255, 255, 255, 0.6);
    transition: fill 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    fill: var(--color-gold);
    transform: translateY(-2px);
}

/* Booking Steps */
.booking-steps {
    margin-top: 3rem;
    position: relative;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: calc(2rem + 48px);
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--color-gold), rgba(197, 160, 101, 0.2));
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--color-gold);
    background: var(--color-cream);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.step-item:hover .step-number {
    background: var(--color-gold);
    color: var(--color-white);
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.step-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background-color: var(--color-stone);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-credit {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 0.6rem;
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    pointer-events: none;
    font-family: 'Jost', sans-serif;
    letter-spacing: 0.05em;
}

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

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1.2s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Responsive */
@media (max-width: 900px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pricing-layout .pricing-image {
        order: -1;
        height: 300px;
    }

    /* Mobile Nav */
    .burger-menu {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .burger-menu .line {
        width: 25px;
        height: 2px;
        background-color: var(--color-text);
        margin: 5px;
        transition: all 0.3s ease;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        background-color: var(--color-cream);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    .nav-links a {
        margin: 2rem 0;
        font-size: 1.2rem;
    }

    /* Burger Animation */
    .burger-menu.toggle .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 5px);
    }

    .burger-menu.toggle .line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.toggle .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -5px);
    }

    .section-padding {
        padding: var(--spacing-lg) 0;
    }
}

/* Desktop Burger hidden */
@media (min-width: 901px) {
    .burger-menu {
        display: none;
    }
}

/* -------------------------------------------------------------------
   Cookie Consent Banner
   ------------------------------------------------------------------- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-cream);
    border-top: 1px solid rgba(140, 106, 75, 0.2);
    /* Subtle wood border */
    padding: 1.5rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    display: none;
    /* Hidden by default, shown via JS */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cookie-message {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
    flex: 1;
}

.cookie-message a {
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-gold);
    transition: color 0.3s;
}

.cookie-message a:hover {
    color: var(--color-gold);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 2px;
    font-family: var(--font-head);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-accept {
    background-color: var(--color-wood);
    color: #fff;
    border: 1px solid var(--color-wood);
}

.btn-accept:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
}

.btn-decline {
    background-color: transparent;
    color: var(--color-text-light);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn-decline:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

.btn-manage {
    background-color: transparent;
    color: var(--color-text-light);
    border: none;
    text-decoration: underline;
    font-size: 0.85rem;
    padding: 0.6rem 0.5rem;
}

.btn-manage:hover {
    color: var(--color-gold);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal-overlay.visible {
    display: flex;
    opacity: 1;
}

.cookie-modal {
    background: var(--color-cream);
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.cookie-modal-overlay.visible .cookie-modal {
    transform: translateY(0);
}

.cookie-modal h3 {
    font-family: var(--font-head);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-text);
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-option:last-child {
    border-bottom: none;
}

.option-desc h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.option-desc p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Custom Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--color-wood);
}

input:disabled+.slider {
    background-color: rgba(140, 106, 75, 0.5);
    cursor: not-allowed;
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.modal-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
    background: none;
    border: none;
}

.close-modal:hover {
    color: var(--color-text);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-cookie {
        width: 100%;
        text-align: center;
    }
}