/* Color Palette Variables */
:root {
    --brand-amber: #E67E22;
    --brand-dark: #2C1B18;
    --brand-light: #FDF7F2;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: var(--brand-dark);
    background-color: var(--brand-light);
}

/* Navbar & Logo Styling */
.navbar {
    background-color: #fff;
    border-bottom: 2px solid var(--brand-amber);
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.nav-link {
    color: var(--brand-dark);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--brand-amber);
}

/* Components */
.btn-brand {
    background-color: var(--brand-amber);
    color: white;
    border: none;
}

.btn-brand:hover {
    background-color: #d35400;
    color: white;
}

.brand-color-text {
    color: var(--brand-amber);
}

/* Layout */
.section-padding {
    padding: 80px 0;
}




/* Updated Hero Styling */
.hero-section {
    min-height: 70vh;
    padding: 100px 0;
    background-color: var(--brand-light); /* Soft off-white from your palette */
}

.hero-product-img {
    max-height: 500px;
    width: auto;
    /* Subtle entrance animation */
    animation: fadeInUp 1s ease-out;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-weight: 300;
    opacity: 0.9;
}

/* Ensure the brand color text pop on dark backgrounds */
.hero-section .brand-color-text {
    color: var(--brand-amber);
    text-shadow: none;
}

.subhero-section {
    width: 300px;
    height: 300px;
}

.subhero-section h1 {
    color: var(--brand-amber);
}

/* Specific button tweak for hero */
.btn-outline-light:hover {
    color: var(--brand-dark);
}

/* Logo Slider Animation */
.logo-slider-bg {
    background-color: #fff;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.logo-track {
    display: flex;
    width: calc(250px * 10);
    animation: scroll 40s linear infinite;
}

.logo-slide {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    color: #ccc;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5));
    }
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.tracking-wider {
    letter-spacing: 0.1em;
}

h2 {
    color: var(--brand-dark);
    font-weight: 700;
    margin-bottom: 30px;
}

.goal-circle {
    width: 300px;
    height: 300px;
}

/* Cookie Banner Styling */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Hidden by default */
    left: 0;
    right: 0;
    background-color: var(--brand-dark); /* Deep Espresso */
    color: white;
    z-index: 2000;
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
    bottom: 0;
}

/* Ensure banner links match amber brand color */
.cookie-banner a:hover {
    color: #d35400 !important;
}

.policy-content h3 {
    margin-top: 2rem;
    color: var(--brand-amber);
    font-size: 1.5rem;
}

.policy-content p, .policy-content li {
    line-height: 1.8;
    opacity: 0.9;
}

.event-row:hover {
    background-color: var(--brand-light);
}

@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid #dee2e6 !important;
    }
}

.collapse {
    transition: all 0.35s ease;
}

.card-text {
    line-height: 1.6;
}

/* Gradient Fade for Expandable Cards */
.card-text-fade {
    /* Standard mask for modern browsers */
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);

    /* Ensure the text doesn't overflow while collapsed */
    max-height: 4.5em; /* Approximately 3 lines of text */
    overflow: hidden;
    margin-bottom: 0;
    transition: max-height 0.4s ease;
}

/* Remove fade when expanded */
.card-text-fade.expanded {
    mask-image: none;
    -webkit-mask-image: none;
    max-height: 1000px; /* Allow it to grow to its natural height */
}

.thank-you-message {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 500px;
}

.icon-check {
    font-size: 50px;
    color: #28a745;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background-color: #004a99;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s;
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.05em;
}

/* */
/* Container styling */
.lang-switcher {
    position: relative;
    font-family: system-ui, -apple-system, sans-serif;
    display: inline-block;
}

/* Main button style */
.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--brand-dark);
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Icons */
.lang-icon, .arrow-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.arrow-icon {
    transition: transform 0.2s ease;
}

.current-lang {
    font-size: 16px;
}

/* Arrow rotation when active */
.lang-switcher.is-open .arrow-icon {
    transform: rotate(180deg);
}

/* Dropdown list container */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px;
    margin: 0;
    list-style: none;
    min-width: 130px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
}

/* Open state for dropdown */
.lang-switcher.is-open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Individual language items */
.lang-dropdown li a {
    display: block;
    padding: 8px 12px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 16px;
    border-radius: 4px;
    transition: background 0.15s ease, color 0.15s ease;
    width: 150px;
}

.lang-dropdown li a:hover,
.lang-dropdown li a.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.lang-dropdown li a.active {
    font-weight: 600;
}




