/* ===================================
   About Page Styles - Figma Design
   =================================== */

.about-page {
    background: #FFFFFF;
    max-width: 1440px;
    margin: 0 auto;
}

/* Hero Section */
.about-hero {
    padding: 50px 0 30px;
    text-align: center;
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #10111A;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-family: 'Lora', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 25px;
    text-align: center;
    letter-spacing: 0.002em;
    color: #353535;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image-wrapper {
    position: relative;
    max-width: 1030px;
    margin: 0 auto 30px;
    border-radius: 10px;
    overflow: visible;
    height: 542px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #D9D9D9;
    border-radius: 10px;
    display: block;
}

/* Badge on Image */
.hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #10111A;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
    /* Hidden on desktop */
}

.hero-cta-wrapper {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Ratings */
.hero-ratings {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.rating-text {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #10111A;
}

.stars {
    color: #FFAC33;
    font-size: 18px;
    letter-spacing: 2px;
}

.hero-cta-btn {
    background: #FFAC33;
    color: #FFFFFF;
    padding: 14px 45px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.hero-cta-btn:hover {
    background: #e89a2e;
    transform: translateY(-2px);
}

/* About Text Section */
.about-text-section {
    padding: 40px 0 30px;
    text-align: center;
}

.about-description {
    font-family: 'Fraunces', serif;
    font-style: normal;
    font-weight: 300;
    font-size: 32px;
    line-height: 40px;
    text-align: center;
    color: #181818;
    max-width: 1000px;
    margin: 0 auto;
}

.about-logo-wrapper {
    margin-bottom: 25px;
    display: none;
    /* Hidden on desktop */
    justify-content: center;
}

.about-section-logo {
    width: 150px;
    height: auto;
}

.about-title {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    color: #10111A;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: none;
    /* Hidden on desktop */
}

/* Desktop Fix for Hero */
@media (min-width: 769px) {
    .hero-flex-container {
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .hero-title {
        order: 1;
    }

    .hero-subtitle {
        order: 2;
    }

    .hero-image-wrapper {
        order: 3;
        position: relative;
        margin-bottom: 30px;
        height: 542px;
        /* Restore desktop height */
        width: 1030px;
        /* Preserve original desktop width */
    }

    .hero-cta-wrapper {
        order: 4;
        position: absolute;
        bottom: 10px;
        /* Overlap image */
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
        z-index: 10;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-ratings {
        display: none;
        /* Keep desktop clean as per original */
    }
}

/* Product Categories Carousel */
.categories-carousel-section {
    padding: 20px 0 40px;
    overflow: hidden;
}

.carousel-wrapper {
    max-width: 354px;
    margin: 0 auto;
    position: relative;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 402px;
}

.category-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background: #F9F9F9;
    border-radius: 20px;
    overflow: hidden;
    filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.25));
    padding: 17px;
    height: 402px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.category-card.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.category-image-wrapper {
    width: calc(100% - 34px);
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    flex: 1;
    max-height: 260px;
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #FAFAFA;
}

.category-title {
    font-family: 'Fraunces', serif;
    font-style: normal;
    font-weight: 300;
    font-size: 32px;
    line-height: 40px;
    text-align: center;
    color: #373737;
    margin-bottom: 8px;
}

.category-text {
    font-family: 'Fraunces', serif;
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 20px;
    color: #000000;
    padding: 0 20px;
}

/* Stats Section */
.stats-section {
    padding: 60px 0 80px;
    background: transparent;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 0 40px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 75px;
    background: #000000;
}

.stat-number {
    font-family: 'Fraunces', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #000000;
    opacity: 0.36;
    margin-bottom: 12px;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.003em;
    color: #000000;
}

/* Preparation Section */
.preparation-section {
    padding: 60px 0 100px;
    text-align: center;
    position: relative;
}

.preparation-section::before {
    content: '';
    position: absolute;
    width: 328px;
    height: 328px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: url(image.png);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.preparation-section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Fraunces', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #1A1A1A;
    margin-bottom: 25px;
}

.section-description {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    text-align: center;
    letter-spacing: 0.002em;
    color: #555555;
    margin-bottom: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.preparation-image-wrapper {
    max-width: 1232px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: visible;
    padding: 50px 20px;
    min-height: 499px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
    text-align: center;
}

.preparation-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 120px;
    /* Covers text and top ~70% of images (400px * 0.3 = 120px exposed) */
    background: #F7F7F7;
    border-radius: 25px;
    z-index: -1;
}

.preparation-carousel {
    position: relative;
    width: 880px;
    height: 400px;
}

.prep-image {
    position: absolute;
    border-radius: 40px;
    overflow: hidden;
    transition: filter 1s ease-in-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 1;
    /* Always opaque */
}

.prep-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Left Position (Back) */
.prep-left {
    left: 0%;
    top: 10%;
    width: 72.73%;
    height: 80%;
    z-index: 1;
    filter: blur(2px) brightness(0.6) grayscale(20%);
}

/* Right Position (Back) */
.prep-right {
    left: 27.27%;
    top: 10%;
    width: 72.73%;
    height: 80%;
    z-index: 1;
    filter: blur(2px) brightness(0.6) grayscale(20%);
}

/* Center Position (Front) */
.prep-center {
    left: 4.55%;
    top: 0%;
    width: 90.9%;
    height: 100%;
    z-index: 10;
    filter: blur(0) brightness(1) grayscale(0%);
}

/* Active State just ensures opacity if needed */
.prep-image.active {
    opacity: 1;
}

/* Insights Blog Section */
.insights-section {
    padding: 100px 0;
    background: transparent;
}

.insights-section .section-title {
    font-family: 'Fraunces', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #000000;
    text-align: left;
    margin-left: 103px;
    margin-bottom: 31px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 393px);
    gap: 25px;
    margin-top: 0;
    padding: 0 108px;
}

.blog-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image-wrapper {
    width: 393px;
    height: 365px;
    overflow: hidden;
    border-radius: 10px;
    background: #D9D9D9;
    margin-bottom: 12px;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image-wrapper img {
    transform: scale(1.05);
}

.blog-content {
    padding: 0;
}

.blog-category {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
    color: #1E1E1E;
    margin-bottom: 15px;
    letter-spacing: 0;
    text-transform: none;
    background: #D9D9D9;
    padding: 5px 12px;
    border-radius: 10px;
}

.blog-title {
    font-family: 'Fraunces', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: -0.02em;
    color: #000000;
    margin-bottom: 15px;
}

.blog-excerpt {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 130%;
    color: #000000;
    margin-bottom: 15px;
}

.blog-link {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #FFAC33;
}

/* Responsive */
@media (max-width: 1440px) {
    .blog-grid {
        padding: 0 50px;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .blog-image-wrapper {
        width: 100%;
    }

    .insights-section .section-title {
        margin-left: 50px;
    }
}

@media (max-width: 1024px) {
    .stats-grid {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-item {
        padding: 0 30px;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .preparation-image-wrapper {
        padding: 40px 80px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero-flex-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-hero {
        padding: 20px 0 10px;
    }

    .about-text-section {
        padding: 0 0 30px;
    }

    .hero-image-wrapper {
        order: 1;
        width: 100%;
        height: 280px;
        margin-bottom: 25px;
    }

    .hero-title {
        order: 2;
        font-size: 28px;
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        order: 3;
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .hero-cta-wrapper {
        order: 4;
        margin-top: 10px;
    }

    .about-description {
        font-size: 18px;
        line-height: 1.4;
        padding: 0 10px;
    }

    .about-title {
        font-size: 22px;
        padding: 0 15px;
        display: block;
        /* Show on mobile */
    }

    .about-section-logo {
        width: 150px;
    }

    .about-logo-wrapper {
        display: flex;
        /* Show on mobile */
    }

    .hero-badge {
        display: block;
        /* Show on mobile */
    }

    .stats-section {
        padding: 40px 0 20px;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }

    .stat-item {
        padding: 0;
    }

    .stat-item::after {
        display: none !important;
    }

    .stat-number {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 14px;
        line-height: 20px;
    }

    .blog-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding: 0 15px 15px 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
    }

    .blog-grid::-webkit-scrollbar {
        display: none;
    }

    .blog-card {
        flex: 0 0 220px;
        width: 220px;
        min-width: 220px;
        /* Force minimum width in Safari */
        margin-right: 15px;
        /* Fallback for gap */
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .blog-card:last-child {
        margin-right: 0;
    }

    .blog-image-wrapper {
        height: 150px;
        margin-bottom: 8px;
    }

    .blog-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .blog-excerpt {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .insights-section {
        padding: 30px 0;
    }

    .insights-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 15px;
        padding: 0 15px;
    }

    .insights-section .section-title {
        margin-left: 0;
        margin-bottom: 0;
        font-size: 24px;
        white-space: nowrap;
    }

    .scroll-indicator {
        display: flex;
        align-items: center;
        color: #666;
        animation: slideHint 1.5s ease-in-out infinite;
    }

    @keyframes slideHint {

        0%,
        100% {
            transform: translateX(0);
        }

        50% {
            transform: translateX(5px);
        }
    }



    .section-title {
        font-size: 22px;
    }

    .preparation-section .section-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .section-description {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 25px;
        padding: 0 15px;
    }

    .stat-number {
        font-size: 22px;
    }

    .preparation-section {
        padding: 30px 0 15px;
    }

    .preparation-section .container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .preparation-image-wrapper {
        padding: 25px 0 8px;
        min-height: auto;
        max-width: 100%;
        width: 100%;
        border-radius: 0;
        margin: 0;
    }

    .preparation-image-wrapper::before {
        border-radius: 0;
        left: 0;
        right: 0;
        width: 100%;
        bottom: 0;
    }

    .preparation-carousel {
        width: 90%;
        height: 160px;
        max-width: 90%;
        margin: 0 auto;
    }
}