/* ==========================================================================
   TICKLEBEARD Premium CSS Stylesheet - One-Pager Edition
   ========================================================================== */

:root {
    --deep-royal-blue: #2F4B9A;
    --soft-silver-mist: #EAEBEB;
    --pure-black: #000000;
    --pure-white: #FFFFFF;
    
    --font-primary: 'pantelleria', 'Fascinate', display;
    --font-secondary: 'Amatic SC', cursive;
    --font-body: 'Courier New', Courier, monospace;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-micro: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(47, 75, 154, 0.3) transparent;
}

body {
    font-family: var(--font-body);
    color: var(--pure-black);
    background-color: var(--pure-white);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

a {
    color: var(--deep-royal-blue);
    text-decoration: none;
    transition: var(--transition-micro);
}

a:hover {
    color: var(--pure-black);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(47, 75, 154, 0.2);
    border-radius: 10px;
    border: 2px solid var(--pure-white);
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--deep-royal-blue);
}

/* Scroll Progress Indicator (Native CSS Scroll-driven Animation) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--deep-royal-blue);
    z-index: 2000;
    transform-origin: 0 50%;
    transform: scaleX(0);
}

@supports (animation-timeline: scroll()) {
    .scroll-progress {
        animation: scroll-progress-anim linear both;
        animation-timeline: scroll(root);
    }
}

@keyframes scroll-progress-anim {
    to { transform: scaleX(1); }
}

/* Sticky Glassmorphic Header / Navbar */
.navbar-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(47, 75, 154, 0.08);
    z-index: 1000;
    transition: var(--transition-smooth);
}

@supports (animation-timeline: scroll()) {
    .navbar-container {
        animation: shrink-navbar linear both;
        animation-timeline: scroll(root);
        animation-range: 0px 100px;
    }
    .navbar-container .navbar-logo-img {
        animation: shrink-logo linear both;
        animation-timeline: scroll(root);
        animation-range: 0px 100px;
    }
}

@keyframes shrink-logo {
    to {
        height: 30px;
    }
}

@keyframes shrink-navbar {
    to {
        height: 60px;
        background: rgba(234, 235, 235, 0.95);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
        border-bottom-color: rgba(47, 75, 154, 0.2);
    }
}

.navbar-content {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    position: relative;
}

.navbar-logo {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-primary);
    color: var(--deep-royal-blue);
    font-size: 2.2rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.8);
    transition: var(--transition-micro);
    display: flex;
    align-items: center;
}

.navbar-logo:hover {
    transform: translateY(-50%) scale(1.02);
    color: var(--pure-black);
    text-shadow: none;
}

.navbar-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar-links a {
    font-family: var(--font-secondary);
    color: var(--deep-royal-blue);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 0;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--deep-royal-blue);
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%;
    left: 0;
}

.navbar-links a.active {
    color: var(--pure-black);
}

/* Fixed Language Switcher (top-right) */
.lang-switcher {
    position: fixed;
    top: 14px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(47, 75, 154, 0.15);
    border-radius: 24px;
    padding: 5px 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.lang-option {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    color: #999;
    padding: 3px 6px;
    border-radius: 14px;
    transition: var(--transition-micro);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.lang-option:hover {
    color: var(--deep-royal-blue);
}

.lang-option.active {
    background: var(--deep-royal-blue);
    color: #fff;
    font-weight: 700;
}

.lang-divider {
    color: rgba(47, 75, 154, 0.25);
    font-size: 0.75rem;
    user-select: none;
}


/* Sections General */
section {
    padding: 60px 20px;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1.5px solid rgba(47, 75, 154, 0.12);
}

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

.section-badge {
    display: inline-block;
    font-family: var(--font-secondary);
    color: var(--deep-royal-blue);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    position: relative;
}

.section-badge::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--deep-royal-blue);
    margin-top: 4px;
}

.section-title {
    font-family: var(--font-primary);
    color: var(--deep-royal-blue);
    font-size: 3rem;
    line-height: 1.25;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #555;
    max-width: 600px;
    margin-bottom: 50px;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(234, 235, 235, 0.4) 0%, rgba(47, 75, 154, 0.15) 100%);
    z-index: 1;
}

.hero-box {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 50px 40px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    width: 90%;
    position: relative;
    z-index: 2;
}

@supports (animation-timeline: scroll()) {
    .hero-box {
        animation: hero-box-fadeout linear both;
        animation-timeline: scroll(root);
        animation-range: exit 0% exit 100%;
    }
}

@keyframes hero-box-fadeout {
    to {
        opacity: 0;
        transform: translateY(-80px);
    }
}

.hero-logo {
    font-family: var(--font-primary);
    color: var(--deep-royal-blue);
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.hero-slogan {
    font-family: var(--font-secondary);
    color: var(--deep-royal-blue);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: none;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #444;
    text-transform: none;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    margin-top: 15px;
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    font-size: 1.4rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* About Section */
.about-section {
    background-color: var(--pure-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.about-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 20px;
}

.about-highlight {
    font-family: var(--font-secondary);
    color: var(--deep-royal-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-image-frame {
    position: relative;
    max-width: 320px;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--deep-royal-blue);
    box-shadow: 0 15px 35px rgba(47, 75, 154, 0.12);
    transition: var(--transition-smooth);
}

.about-image-frame:hover {
    transform: scale(1.03);
    border-color: var(--deep-royal-blue);
    box-shadow: 0 20px 45px rgba(47, 75, 154, 0.25);
}

.about-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats Row */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background-color: rgba(234, 235, 235, 0.4);
    border: 1px solid rgba(47, 75, 154, 0.08);
    border-radius: 8px;
    padding: 30px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    background-color: rgba(47, 75, 154, 0.06);
    border-color: rgba(47, 75, 154, 0.18);
    box-shadow: 0 10px 25px rgba(47, 75, 154, 0.08);
}

.stat-number {
    font-family: var(--font-secondary);
    color: var(--deep-royal-blue);
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    color: #444444;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Section */
.product-section {
    background-color: rgba(234, 235, 235, 0.25);
}

.product-header {
    text-align: center;
    margin-bottom: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 30px;
    align-items: stretch;
}

.product-visuals,
.product-details {
    min-width: 0;
}

/* Bottles Showcase */
.product-visuals {
    width: 100%;
    height: 100%;
}

.bottles-flex {
    display: flex;
    gap: 20px;
    height: 100%;
}

.bottle-card {
    flex: 1;
    background-color: var(--pure-white);
    border: 1px solid rgba(47, 75, 154, 0.06);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

.bottle-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 35px rgba(47, 75, 154, 0.1);
    border-color: rgba(47, 75, 154, 0.15);
}

.bottle-image-container {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-bottle-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

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

.bottle-card-footer {
    font-family: var(--font-secondary);
    color: var(--deep-royal-blue);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* Details Blocks */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-block {
    background-color: var(--pure-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(47, 75, 154, 0.08);
    transition: var(--transition-smooth);
}

.detail-block:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.detail-block h3 {
    font-family: var(--font-secondary);
    color: var(--deep-royal-blue);
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ingredients-list-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #222;
}

.product-small-info {
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

.product-instructions-list {
    list-style: none;
    text-align: center;
    padding: 0;
}

.product-instructions-list li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    position: relative;
    padding-left: 0;
}

.product-instructions-list li::before {
    content: none;
}

#product-instructions-block h3 {
    text-align: center;
}

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

/* Nutrition Info */
.product-nutrition {
    width: 100%;
}

.nutrition-table-wrapper {
    background-color: var(--pure-white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    border: 1px solid rgba(47, 75, 154, 0.06);
    transition: var(--transition-smooth);
}

.nutrition-table-wrapper:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
}

.nutrition-table-wrapper h3 {
    font-family: var(--font-secondary);
    color: var(--deep-royal-blue);
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nutrition-subtitle {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.nutrition-table th, 
.nutrition-table td {
    padding: 8px 12px;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--soft-silver-mist);
}

.nutrition-table th {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: var(--deep-royal-blue);
    border-bottom: 2px solid var(--deep-royal-blue);
    font-weight: 700;
    text-transform: uppercase;
}

.nutrition-table tr.sub-row td {
    padding-left: 24px;
    color: #555;
    font-size: 0.85rem;
}

.nutrition-table tr:hover td {
    background-color: rgba(234, 235, 235, 0.3);
}

.net-content {
    display: block;
    text-align: right;
    font-family: var(--font-secondary);
    color: var(--deep-royal-blue);
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 10px;
}

/* Blog Section */
.blog-section {
    background-color: var(--pure-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: rgba(234, 235, 235, 0.3);
    border: 1px solid rgba(47, 75, 154, 0.05);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 15px 35px rgba(47, 75, 154, 0.08);
    border-color: rgba(47, 75, 154, 0.2);
}

.blog-card-badge {
    align-self: flex-start;
    background-color: var(--deep-royal-blue);
    color: var(--pure-white);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-title {
    font-family: var(--font-secondary);
    color: var(--deep-royal-blue);
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.2;
    transition: var(--transition-micro);
}

.blog-card:hover .blog-card-title {
    color: var(--pure-black);
}

.blog-card-date {
    font-size: 0.8rem;
    color: #777777;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: #444444;
    line-height: 1.5;
}

.blog-card-link {
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: auto;
    color: var(--deep-royal-blue);
    display: inline-block;
    padding-top: 5px;
}

.blog-card-link:hover {
    color: var(--pure-black);
    transform: translateX(4px);
}

/* Instagram Section */
.instagram-section {
    background-color: rgba(234, 235, 235, 0.15);
}

.instagram-header a {
    color: var(--deep-royal-blue);
    font-weight: bold;
    border-bottom: 2px solid transparent;
}

.instagram-header a:hover {
    border-bottom-color: var(--deep-royal-blue);
}

.instagram-featured-post {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
}

/* Contact Section */
.contact-section {
    background-color: var(--pure-white);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.contact-card {
    background-color: var(--pure-white);
    border: 1px solid rgba(47, 75, 154, 0.1);
    box-shadow: 0 15px 45px rgba(47, 75, 154, 0.06);
    border-radius: 12px;
    padding: 60px 40px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.contact-intro {
    font-size: 1.1rem;
    color: #444;
    max-width: 500px;
    margin: 0 auto 40px;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 25px;
    background-color: rgba(234, 235, 235, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(47, 75, 154, 0.05);
    transition: var(--transition-smooth);
}

.contact-info-item:hover {
    transform: translateY(-3px);
    background-color: rgba(47, 75, 154, 0.05);
    border-color: rgba(47, 75, 154, 0.12);
}

.contact-icon {
    font-size: 2.2rem;
    color: var(--deep-royal-blue);
    line-height: 1;
}

.contact-info-text {
    text-align: left;
}

.contact-info-title {
    display: block;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.contact-link {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--deep-royal-blue);
}

.contact-link:hover {
    color: var(--pure-black);
}

.contact-location-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--pure-black);
}

/* Footer Container */
.footer-container {
    background-color: var(--pure-white);
    color: #555555;
    padding: 80px 20px 40px;
    border-top: 1px solid rgba(47, 75, 154, 0.08);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

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

.footer-logo {
    display: block;
    font-family: var(--font-primary);
    color: var(--deep-royal-blue);
    font-size: 2.6rem;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.footer-tagline {
    display: block;
    font-family: var(--font-secondary);
    color: #777777;
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 45px;
}

.footer-links a {
    color: #555555;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--deep-royal-blue);
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(47, 75, 154, 0.08);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    text-align: center;
}

.footer-bottom-top-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #888888;
}

.footer-legal {
    color: #aaaaaa;
    font-size: 0.75rem;
    line-height: 1.5;
    max-width: 640px;
    margin: 0;
}

.back-to-top-btn {
    color: var(--deep-royal-blue);
    font-weight: bold;
    transition: var(--transition-micro);
    margin-top: 4px;
}

.back-to-top-btn:hover {
    color: #000000;
    transform: translateY(-2px);
}

/* Progressive Enhancement: CSS Scroll-driven Animations for Reveals */
@supports (animation-timeline: view()) {
    /* Reveals */
    .about-text-content,
    .product-details {
        animation: reveal-left linear both;
        animation-timeline: view();
        animation-range: entry 5% cover 30%;
    }
    
    .about-visual,
    .product-nutrition {
        animation: reveal-right linear both;
        animation-timeline: view();
        animation-range: entry 5% cover 30%;
    }
    
    .stat-card,
    .bottle-card,
    .blog-card {
        animation: reveal-up linear both;
        animation-timeline: view();
        animation-range: entry 5% cover 25%;
    }

    /* Stagger/delay animation-range slightly on grid elements */
    .stats-grid .stat-card:nth-child(1) { animation-range: entry 2% cover 22%; }
    .stats-grid .stat-card:nth-child(2) { animation-range: entry 4% cover 24%; }
    .stats-grid .stat-card:nth-child(3) { animation-range: entry 6% cover 26%; }

    .bottles-flex .bottle-card:nth-child(1) { animation-range: entry 2% cover 22%; }
    .bottles-flex .bottle-card:nth-child(2) { animation-range: entry 6% cover 26%; }

    .blog-grid .blog-card:nth-child(1) { animation-range: entry 2% cover 22%; }
    .blog-grid .blog-card:nth-child(2) { animation-range: entry 5% cover 25%; }
    .blog-grid .blog-card:nth-child(3) { animation-range: entry 8% cover 28%; }
}

@keyframes reveal-left {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes reveal-right {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Mobile Responsive Layout overrides
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-text-content {
        align-items: center;
    }

    .about-image-frame {
        max-width: 260px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .product-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 45px;
    }
    
    .product-visuals, 
    .product-details, 
    .product-nutrition {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
        min-width: 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .navbar-container {
        height: auto;
        padding: 10px 0;
    }
    
    .navbar-content {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    
    .navbar-logo {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 5px auto;
        display: flex;
        justify-content: center;
        font-size: 1.8rem;
    }

    .navbar-logo:hover {
        transform: none;
    }
    
    .navbar-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
    }
    
    .navbar-links a {
        font-size: 1.3rem;
    }

    @supports (animation-timeline: scroll()) {
        .navbar-container {
            animation: none; /* Disable height shrinking animation on mobile since stacked */
        }
    }
    
    section {
        padding: 40px 15px;
    }
    
    .hero-box {
        padding: 35px 20px;
    }
    
    .hero-logo {
        font-size: 3.2rem;
    }
    
    .hero-slogan {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.4rem;
        margin-bottom: 15px;
    }

    .about-highlight {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .bottles-flex {
        flex-direction: column;
        gap: 15px;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .bottle-image-container {
        height: 240px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    

    .contact-card {
        padding: 40px 20px;
    }

    .contact-info-item {
        padding: 15px;
    }

    .contact-icon {
        font-size: 1.8rem;
    }

    .contact-link, 
    .contact-location-text {
        font-size: 1rem;
    }
    
    .footer-container {
        padding: 60px 15px 30px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ==========================================================================
   TICKLEBEARD Brand Assets Integration Styles
   ========================================================================== */

/* Navbar logo styling */
.navbar-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.navbar-container.scrolled .navbar-logo-img {
    opacity: 1;
    transform: scale(1);
}

/* Hero logo image styling */
.hero-logo-img {
    height: 150px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}

@media (max-width: 768px) {
    .hero-logo-img {
        height: 110px;
    }
}

/* About badges styling */
.about-badges {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.about-badge {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.05));
}

.about-badge:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(47, 75, 154, 0.15));
}

/* Product Showcase wide banner */
.product-showcase-container {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    padding: 0 15px;
}

.product-showcase-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.product-showcase-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(47, 75, 154, 0.12);
}

/* Ingredients Scroll Carousel */
.ingredients-grid-wrapper {
    position: relative;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* Fade edges — only visible on mobile carousel */
.ingredients-grid-wrapper::before,
.ingredients-grid-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 16px;
    width: 28px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}
.ingredients-grid-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.95), transparent);
}
.ingredients-grid-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,0.95), transparent);
}

/* Desktop: neat 3-column grid */
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 4px 2px 8px 2px;
}

.ingredient-card {
    background-color: var(--soft-silver-mist);
    border-radius: 12px;
    padding: 18px 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.ingredient-card:hover {
    transform: translateY(-4px);
    background-color: var(--pure-white);
    border-color: rgba(47, 75, 154, 0.18);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.ingredient-img-wrapper {
    height: 64px;
    width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.ingredient-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.ingredient-name {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--deep-royal-blue);
    line-height: 1.2;
}

/* Scroll hint dots — only shown on mobile */
.ingredients-scroll-hint {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    margin-bottom: 6px;
}
.ingredients-scroll-hint-label {
    font-size: 0.72rem;
    color: rgba(47, 75, 154, 0.55);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font-body);
}
.ingredients-scroll-hint-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}
.ingredients-scroll-hint-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(47, 75, 154, 0.25);
    display: inline-block;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}
.ingredients-scroll-hint-dots span:hover {
    background: rgba(47, 75, 154, 0.55);
}
.ingredients-scroll-hint-dots span.active {
    background: var(--deep-royal-blue);
    transform: scale(1.3);
}

/* Mobile: horizontal scroll carousel */
@media (max-width: 768px) {
    .ingredients-grid-wrapper::before,
    .ingredients-grid-wrapper::after {
        opacity: 1;
    }

    .ingredients-grid {
        display: flex;
        flex-direction: row;
        gap: 10px;
        overflow-x: auto;
        width: 100%;
        box-sizing: border-box;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 8px 4px 16px 4px;
        cursor: grab;
    }

    .ingredients-grid::-webkit-scrollbar {
        display: none;
    }

    .ingredients-grid:active {
        cursor: grabbing;
    }

    .ingredient-card {
        flex: 0 0 100px;
        min-width: 100px;
        scroll-snap-align: start;
        padding: 14px 8px 12px;
    }

    .ingredient-img-wrapper {
        height: 52px;
        width: 52px;
    }

    .ingredient-name {
        font-size: 0.85rem;
    }

    .ingredients-scroll-hint {
        display: flex;
    }
}

/* Product Badges row styling */
.product-badges-row {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin-top: 10px;
}

.product-badge {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.05));
}

.product-badge:hover {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 8px 16px rgba(47, 75, 154, 0.15));
}



/* Footer logo image styling */
.footer-logo-img {
    display: block;
    height: 40px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 15px;
}

/* Responsive updates */
@media (max-width: 991px) {
    .ingredient-card {
        flex: 0 0 105px;
        min-width: 105px;
        padding: 14px 10px;
    }
    
    .product-badge {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .ingredient-card {
        flex: 0 0 95px;
        min-width: 95px;
        padding: 12px 8px;
    }
    .ingredient-img-wrapper {
        height: 52px;
        width: 52px;
    }
    
    .about-badges {
        justify-content: center;
    }
    
    .about-badge {
        height: 70px;
    }
    
    .product-badge {
        height: 70px;
    }
}

/* Large Top Brand Header */
.top-logo-container {
    width: 100%;
    background-color: var(--pure-white);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px 10px;
    border-bottom: 1px solid rgba(234, 235, 235, 0.4);
    z-index: 1001;
    position: relative;
}

.top-logo-img {
    height: 125px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

/* Direct Order CTA Section (Familiar Users) */
.order-quick-section {
    background-color: rgba(234, 235, 235, 0.25);
    padding: 50px 20px;
}

.order-quick-card {
    background-color: var(--pure-white);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(47, 75, 154, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.order-quick-subtitle {
    font-size: 1.15rem;
    color: #444;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.order-deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 780px;
    margin: 0 auto 30px;
}

.deal-card {
    background-color: rgba(234, 235, 235, 0.3);
    border: 1px solid rgba(47, 75, 154, 0.06);
    border-radius: 10px;
    padding: 20px 15px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.deal-card.selected {
    background-color: var(--deep-royal-blue);
    color: var(--pure-white);
    border-color: var(--deep-royal-blue);
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(47, 75, 154, 0.2);
}

.deal-card.selected:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 35px rgba(47, 75, 154, 0.3);
}

.deal-badge {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: rgba(47, 75, 154, 0.1);
    color: var(--deep-royal-blue);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.deal-card.selected .deal-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
}

.deal-title {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deal-price {
    font-family: var(--font-secondary);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.deal-savings {
    font-size: 0.95rem;
    color: #666;
}

.deal-card.selected .deal-savings {
    color: rgba(255, 255, 255, 0.85);
}

.order-message-field textarea:focus {
    border-color: var(--deep-royal-blue) !important;
    box-shadow: 0 0 10px rgba(47, 75, 154, 0.25) !important;
}

/* Order Form Fields */
.order-form-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 480px;
    margin: 0 auto 28px;
    text-align: left;
}

.order-field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-field-label {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--deep-royal-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-field-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(47, 75, 154, 0.2);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    color: #222;
}

.order-field-input:focus {
    border-color: var(--deep-royal-blue);
    box-shadow: 0 0 0 3px rgba(47, 75, 154, 0.12);
}

.order-field-input::placeholder {
    color: #aaa;
}

/* What happens next block */
/* Delivery toggle */
.order-delivery-toggle {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 20px;
    max-width: 480px;
}

.delivery-option {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(47, 75, 154, 0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.8);
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.delivery-option:hover {
    border-color: rgba(47, 75, 154, 0.4);
    color: var(--deep-royal-blue);
}

.delivery-option.active {
    background: var(--deep-royal-blue);
    border-color: var(--deep-royal-blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(47, 75, 154, 0.25);
}

/* Friendly note */
.order-friendly-note {
    font-size: 0.9rem;
    color: #777;
    text-align: center;
    margin: 0 auto 24px;
    max-width: 420px;
    line-height: 1.6;
}

/* Hide address field when afhalen is active */
.order-form-fields .adres-group.hidden {
    display: none;
}

/* Order actions */
.order-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

/* Primary WhatsApp button — big & prominent */
.order-btn {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 16px 48px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.whatsapp-btn {
    background-color: #1ebd56;
    color: var(--pure-white);
    box-shadow: 0 8px 28px rgba(30, 189, 86, 0.35);
}

.whatsapp-btn:hover {
    background-color: #169c45;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 36px rgba(30, 189, 86, 0.45);
    color: var(--pure-white);
}

/* Secondary email — subtle text link */
.order-email-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #888;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.order-email-link:hover {
    color: var(--deep-royal-blue);
}

.order-disclaimer {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
}


@media (max-width: 991px) {
    .order-deals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto 30px;
    }
    
    .deal-card.selected {
        transform: scale(1);
    }
    
    .deal-card.selected:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 576px) {
    .order-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto 20px;
    }
    
    .order-quick-card {
        padding: 40px 20px;
    }
    
    .top-logo-img {
        height: 50px;
    }
}

/* About Us Signature styling */
.about-signature {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--deep-royal-blue);
    margin-top: 10px;
    letter-spacing: 0.5px;
}

/* Product Divider */
.product-divider {
    border: none;
    border-top: 1px solid rgba(47, 75, 154, 0.08);
    margin: 20px 0;
}

/* Full Width Product Advice Banner */
.product-advice-banner {
    margin-top: 40px;
    text-align: center;
    padding: 30px 40px;
    background-color: var(--pure-white);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(47, 75, 154, 0.08);
    width: 100%;
}

.product-advice-banner h3 {
    text-align: center;
    margin-bottom: 15px;
}

.product-advice-story {
    font-size: 1.05rem;
    color: #444;
    max-width: 950px;
    margin: 0 auto;
    line-height: 1.75;
}

.product-advice-story strong {
    color: var(--deep-royal-blue);
    font-weight: 700;
}

/* Bottom Banner */
.bottom-banner-container {
    max-width: 800px;
    width: calc(100% - 40px);
    margin: 0 auto 20px;
    background-color: var(--pure-white);
    border: 1px solid rgba(47, 75, 154, 0.1);
    box-shadow: 0 15px 45px rgba(47, 75, 154, 0.06);
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}

.bottom-banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   New Brand Elements: Hero Actions, Nav CTA, and Contact Button
   ========================================================================== */

/* Hero Action Buttons */
.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-btn {
    font-family: var(--font-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-hero-primary {
    background-color: var(--deep-royal-blue);
    color: var(--pure-white);
    border: 2px solid var(--deep-royal-blue);
    font-size: 1.5rem;
    padding: 12px 32px;
    box-shadow: 0 4px 15px rgba(47, 75, 154, 0.3);
}

.btn-hero-primary:hover {
    background-color: var(--pure-black);
    border-color: var(--pure-black);
    color: var(--pure-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.btn-hero-secondary {
    background-color: transparent;
    color: var(--deep-royal-blue);
    border: 2px solid var(--deep-royal-blue);
    font-size: 1.15rem;
    padding: 9px 24px;
}

.btn-hero-secondary:hover {
    background-color: rgba(47, 75, 154, 0.05);
    color: var(--pure-black);
    border-color: var(--pure-black);
    transform: translateY(-2px);
}

/* Navigation Call to Action (CTA) Button */
.navbar-links a.nav-cta-btn {
    background-color: var(--deep-royal-blue);
    color: var(--pure-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1.3rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(47, 75, 154, 0.15);
}

.navbar-links a.nav-cta-btn::after {
    display: none; /* Disable underline effect */
}

.navbar-links a.nav-cta-btn:hover {
    background-color: var(--pure-black);
    color: var(--pure-white);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.navbar-links a.nav-cta-btn.active {
    color: var(--pure-white);
    background-color: var(--deep-royal-blue);
}

/* Mobile Responsive adjustment for Navbar CTA Button */
@media (max-width: 768px) {
    .navbar-links a.nav-cta-btn {
        padding: 6px 16px;
        font-size: 1.1rem;
    }
}

/* Contact Section Interactive Email Card */
.contact-info-item.email-item-btn {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.contact-info-item.email-item-btn .contact-icon,
.contact-info-item.email-item-btn .contact-info-title,
.contact-info-item.email-item-btn .contact-link {
    transition: var(--transition-smooth);
}

.contact-info-item.email-item-btn:hover {
    background-color: var(--deep-royal-blue);
    border-color: var(--deep-royal-blue);
    box-shadow: 0 10px 30px rgba(47, 75, 154, 0.25);
    transform: translateY(-5px);
}

.contact-info-item.email-item-btn:hover .contact-icon,
.contact-info-item.email-item-btn:hover .contact-info-title,
.contact-info-item.email-item-btn:hover .contact-link {
    color: var(--pure-white);
}

/* Blog Dialog Modal and Scroll styling */
.blog-modal {
    max-width: 750px !important;
    width: 90%;
    max-height: 580px; /* Limit height so it's not screen-filling */
    border: none;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    background: transparent;
    overflow: visible;
    margin: auto;
}

.blog-modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.blog-modal-content {
    position: relative;
    background-color: var(--pure-white);
    border-radius: 16px;
    padding: 40px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 580px; /* Match modal container max-height */
    overflow: hidden; /* Prevent indicators/scrolling from overflowing the border radius */
}

.blog-modal-scroll-body {
    max-height: 360px; /* Marginally smaller to leave clear margin at the bottom */
    overflow-y: scroll; /* Force scrollbar to always show so user knows it is scrollable */
    text-align: left;
    padding-right: 15px;
    padding-bottom: 80px; /* Generous bottom padding so scrolled elements can rise above the fade overlay */
    margin-bottom: 10px;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--deep-royal-blue) rgba(47, 75, 154, 0.05);
}

.blog-modal-scroll-body::-webkit-scrollbar {
    width: 8px;
    display: block !important;
}

.blog-modal-scroll-body::-webkit-scrollbar-track {
    background: rgba(47, 75, 154, 0.05);
    border-radius: 10px;
}

.blog-modal-scroll-body::-webkit-scrollbar-thumb {
    background-color: var(--deep-royal-blue);
    border-radius: 10px;
    border: 2px solid var(--pure-white);
}

.blog-modal-scroll-body::-webkit-scrollbar-thumb:hover {
    background-color: var(--pure-black);
}

.blog-modal-fade-indicator {
    position: absolute;
    bottom: 40px; /* Position exactly at the bottom boundary of the scroll container */
    left: 40px;
    right: 55px; /* Offset to prevent covering the scrollbar */
    height: 70px;
    background: linear-gradient(to top, var(--pure-white) 15%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none; /* Allows click-through to content */
    z-index: 10;
}

.blog-ingredient-item h4 {
    transition: var(--transition-micro);
}

.blog-ingredient-item:hover h4 {
    color: var(--pure-black) !important;
}

/* Dialog close button styling */
.brand-dialog .dialog-close-btn {
    position: absolute;
    top: 15px; /* Put it inside the top right corner of padding to avoid clipping since content has overflow: hidden */
    right: 15px;
    background: var(--pure-black);
    color: var(--pure-white);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition-micro);
    z-index: 1020;
}

.brand-dialog .dialog-close-btn:hover {
    background: var(--deep-royal-blue);
    transform: scale(1.1);
}

/* Responsive adjustments for Blog Modal on mobile screens */
@media (max-width: 768px) {
    .blog-modal {
        max-width: 95% !important;
        max-height: 80vh;
    }

    .blog-modal-content {
        padding: 30px 20px !important;
        max-height: 80vh;
    }

    .blog-modal-title {
        font-size: 2rem !important;
        margin-top: 10px;
        margin-bottom: 15px !important;
    }

    .blog-modal-scroll-body {
        max-height: 50vh;
        padding-bottom: 60px;
        padding-right: 8px; /* Slightly tighter right margin for scrollbar */
    }

    .blog-modal-fade-indicator {
        bottom: 30px; /* Aligns with bottom of shorter scroll area */
        left: 20px;
        right: 32px; /* Offset to not cover scrollbar on mobile */
        height: 60px;
    }

    .brand-dialog .dialog-close-btn {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* Splash Screen / Intro Preloader */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, #ffffff 0%, var(--soft-silver-mist) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Hide scrollbar during splash */
body.splash-active {
    overflow: hidden !important;
}

.splash-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: splash-zoom 1.8s ease-out forwards;
}

.splash-logo {
    max-width: 300px;
    height: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.splash-slogan {
    font-family: var(--font-secondary);
    font-size: 4.2rem;
    color: var(--deep-royal-blue);
    letter-spacing: 2px;
    margin: 0;
    opacity: 0;
    transform: translateY(15px);
    animation: fade-in-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes splash-zoom {
    0% {
        transform: scale(0.97);
    }
    100% {
        transform: scale(1.03);
    }
}

@media (max-width: 576px) {
    .splash-logo {
        max-width: 200px;
    }
    .splash-slogan {
        font-size: 3rem;
    }
}

/* ==========================================================================
   Antigravity Mobile Optimizations & Compact Viewports
   ========================================================================== */
@media (max-width: 768px) {
    /* General compact sections */
    section {
        padding: 25px 12px !important;
    }
    
    .section-title {
        font-size: 2rem !important;
        margin-bottom: 12px !important;
    }

    .product-header {
        margin-bottom: 25px !important;
    }
    
    .section-subtitle {
        margin-bottom: 25px !important;
        font-size: 0.95rem !important;
    }
    
    /* About Section Compact Portrait & Badges */
    .about-image-frame {
        max-width: 150px !important;
        border-width: 5px !important;
        margin: 15px auto !important;
        -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
    }
    
    .about-visual {
        margin-top: 15px !important;
        margin-bottom: 30px !important;
    }
    
    .about-p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }
    
    .about-highlight {
        font-size: 1.8rem !important;
        margin-top: 10px !important;
    }
    
    .about-badges {
        margin-top: 10px !important;
        gap: 15px !important;
    }
    
    .about-badge {
        height: 55px !important;
    }
    
    /* About Stats Grid - Side-by-Side */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        margin-top: 15px !important;
    }
    
    .stat-card {
        padding: 12px 4px !important;
        border-radius: 6px !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
        margin-bottom: 4px !important;
    }
    
    .stat-label {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
    }

    /* Product Section Compact Ingredients */
    .ingredient-card {
        flex: 0 0 88px !important;
        min-width: 88px !important;
        padding: 10px 6px !important;
    }
    
    .ingredient-img-wrapper {
        height: 48px !important;
        width: 48px !important;
        margin-bottom: 4px !important;
    }
    
    .ingredient-img {
        max-height: 100% !important;
    }
    
    .ingredient-card h4 {
        font-size: 1rem !important;
    }

    /* Product Section Details - Nutrition facts and advice side-by-side */
    .product-grid {
        gap: 20px !important;
    }

    .detail-block {
        padding: 20px 15px !important;
        margin-bottom: 15px !important;
    }
    
    /* Bestel hier Section - Deals as horizontal rows */
    .order-deals-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        max-width: 480px !important;
        margin: 0 auto 20px !important;
    }
    
    .deal-card {
        display: grid !important;
        flex-direction: unset !important;
        grid-template-columns: auto 1fr auto !important;
        grid-template-rows: auto auto !important;
        column-gap: 12px !important;
        row-gap: 2px !important;
        padding: 12px 15px !important;
        text-align: left !important;
        align-items: center !important;
        border-radius: 8px !important;
    }
    
    .deal-card.selected {
        transform: scale(1.01) !important;
    }
    
    .deal-badge {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        margin: 0 !important;
        align-self: center !important;
        padding: 4px 8px !important;
        font-size: 0.6rem !important;
        white-space: nowrap !important;
        letter-spacing: 0.3px !important;
    }
    
    .deal-title {
        grid-column: 2 !important;
        grid-row: 1 !important;
        font-size: 1rem !important;
        margin: 0 !important;
        font-weight: 700 !important;
        align-self: end !important;
    }
    
    .deal-price {
        grid-column: 3 !important;
        grid-row: 1 !important;
        font-size: 1.3rem !important;
        margin: 0 !important;
        text-align: right !important;
        font-weight: 700 !important;
        align-self: end !important;
    }
    
    .deal-savings {
        grid-column: 2 / span 2 !important;
        grid-row: 2 !important;
        font-size: 0.78rem !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        text-align: left !important;
        align-self: start !important;
    }
    
    /* Textarea & Buttons compact styling */
    .order-message-field {
        margin-bottom: 15px !important;
    }
    
    .order-message-field label {
        font-size: 1rem !important;
        margin-bottom: 5px !important;
    }
    
    .order-message-field textarea {
        height: 100px !important;
        padding: 8px !important;
        font-size: 0.85rem !important;
    }
    
    .order-form-fields {
        max-width: 100% !important;
        margin-bottom: 20px !important;
        padding: 0 15px !important;
    }

    .order-field-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: left !important;
    }

    .order-field-label {
        font-size: 0.85rem !important;
        margin-bottom: 4px !important;
    }

    .order-field-input {
        width: 100% !important;
        padding: 10px 12px !important;
        font-size: 0.95rem !important;
        height: 44px !important;
    }

    .order-actions {
        gap: 10px !important;
        margin-bottom: 15px !important;
    }
    
    .order-btn {
        font-size: 1.1rem !important;
        padding: 8px 15px !important;
    }
    
    /* Blog Grid Compactness */
    .blog-grid {
        gap: 15px !important;
    }
    
    .blog-card-content {
        padding: 20px 15px !important;
    }
    
    .blog-card-title {
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
    }

    /* Contact Section Compact */
    .contact-card {
        padding: 25px 15px !important;
    }
    
    .contact-info-grid {
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    
    .contact-info-item {
        padding: 10px 12px !important;
    }
}
