@tailwind base;
@tailwind components;
@tailwind utilities;

/* Override Tailwind's default img/video max-width */
img, video {
    max-width: none !important;
    height: auto;
}

/* Custom Fonts */
@font-face {
    font-family: 'Cera';
    src: url('/assets/CeraPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cera Bold';
    src: url('/assets/CeraPro-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Crushed';
    src: url('/assets/Crushed-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cubano';
    src: url('/assets/Cubano.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* Base Styles */
body {
    font-family: 'Cera', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #202F32;
    background-color: #fff;
}

.container {
    max-width: 1280px !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Header */
.header-custom {
    padding-top: 2rem;
    padding-bottom: 0rem;
}

.header-custom.header-homepage {
    background-color: #F0FAEA;
}

.header-custom.header-inner {
    background-color: #ffffff;
}

/* Stage Section */
.stage-section {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #F0FAEA;
}

.stage-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

@media (max-width: 768px) {
    .stage-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stage-title-main {
        font-size: 28px;
    }
    
    .stage-title-sub {
        font-size: 20px;
    }
}

.stage-title-main {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif;
    font-size: 32px;
    line-height: 1.2;
    color: #202F32;
    margin: 0;
}

@media (max-width: 767px) {
    .stage-title-main {
        font-size: 24px;
    }
    
    .stage-title-sub {
        font-size: 20px;
    }
}

.stage-title-sub {
    font-family: 'Cera', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 20px;
    line-height: 1.3;
    color: #666666;
    margin: 0;
}

.stage-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #E35944;
    font-family: 'Cera Bold', 'Cera', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.stage-cta:hover {
    opacity: 0.8;
}

@media (max-width: 767px) {
    .stage-cta-desktop {
        display: none;
    }
    
    .stage-cta-mobile {
        display: flex;
        justify-content: center;
        margin-top: 24px;
    }
}

@media (min-width: 768px) {
    .stage-cta-mobile {
        display: none;
    }
}

/* Custom Components */
.recipe-card {
    background-color: white;
    overflow: hidden;
    transition: box-shadow 0.3s;
    border-radius: 8px;
    box-shadow: 0 0 7.4px rgba(0, 0, 0, 0.11);
    display: flex !important;
    flex-direction: column;
    height: 100%;
    padding: 0;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    gap: 12px;
}

.recipe-card:hover {
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.15);
}

.recipe-card-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    flex-shrink: 0;
    order: 1;
}

.recipe-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.recipe-card-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.recipe-card-title {
    font-family: 'Cera Bold', 'Cera', sans-serif;
    font-weight: bold;
    color: #202F32;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    padding: 16px 16px 0 16px;
    text-align: center;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

@media (max-width: 767px) {
    .recipe-card-title {
        font-size: 16px;
    }
}

.recipe-card-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666666;
    font-size: 14px;
    margin: 0;
    padding: 0 16px 16px 16px;
    flex-shrink: 0;
    order: 3;
}

@media (max-width: 767px) {
    .recipe-card-meta {
        flex-direction: column;
        gap: 4px;
    }
}

.collection-card {
    display: block;
    border-radius: 8px;
    box-shadow: 0 0 7.4px rgba(0, 0, 0, 0.11);
    overflow: hidden;
    transition: box-shadow 0.3s;
    background-color: white;
}

.collection-card:hover {
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.15);
}

.collection-card-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: 8px;
}

.collection-card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFFFFF 60%, #FFF 100%);
    pointer-events: none;
}

.collection-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 10;
}

.collection-card-title {
    font-family: 'Cubano', 'Arial Black', Arial, sans-serif;
    font-weight: normal;
    font-size: 36px;
    line-height: 1.4;
    margin: 0 0 8px 0;
    text-align: center;
}

.collection-card-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
}

.collection-card-preview-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    margin-left: -28px;
    position: relative;
    flex-shrink: 0;
}

.collection-card-preview-image:first-child {
    margin-left: 0;
}

.collection-card-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.collection-card-recipe-count {
    font-family: 'Cera', sans-serif;
    color: #666666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.collection-card-recipe-count svg {
    color: #666666;
    flex-shrink: 0;
}

/* Homepage collection section - keep square aspect ratio */
.collections-section .collection-card-image-container {
    aspect-ratio: 1 / 1 !important;
}

/* Homepage collection grid - 3 columns on desktop */
@media (min-width: 768px) {
    .collections-section .collection-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    /* Only apply 3:2 aspect ratio to collections page, not homepage */
    .collections-content-section .collection-card-image-container {
        aspect-ratio: 3 / 2;
    }
    
    .collection-card-title {
        font-size: 28px;
    }
    
    .collection-card-preview-image {
        width: 64px;
        height: 64px;
    }
}

/* Collections Section */
.collections-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: white;
}

@media (max-width: 767px) {
    .collections-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .collections-section > .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .collections-header {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .collection-grid-wrapper {
        margin-left: 0;
        padding-left: 24px;
        overflow: hidden;
    }
    
    .collection-grid {
        padding-left: 0;
    }
}

.collections-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    gap: 24px;
}

@media (max-width: 768px) {
    .collections-header {
        flex-wrap: nowrap;
        align-items: flex-end;
    }
}

.collections-title {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif;
    font-size: 32px;
    line-height: 1.3;
    color: #202F32;
    margin: 0;
}

@media (max-width: 767px) {
    .collections-title {
        font-size: 24px;
    }
}

.collections-cta {
    font-family: 'Cera Bold', 'Cera', sans-serif;
    font-weight: bold;
    color: #E35944;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.collections-cta:hover {
    opacity: 0.8;
}

@media (max-width: 767px) {
    .collections-cta .collections-cta-text {
        display: none;
    }
    
    .collections-cta::before {
        content: "All";
    }
}

.btn-primary {
    @apply bg-red text-white font-cera-bold px-8 py-4 rounded-full hover:bg-opacity-90 transition-all duration-300;
}

.btn-secondary {
    @apply bg-white text-dark font-cera-bold px-8 py-4 rounded-full border-2 border-dark hover:bg-dark hover:text-white transition-all duration-300;
}

/* Moments Section */
.moments-section {
    padding-top: 0px;
    padding-bottom: 80px;
    background-color: #F0FAEA;
}

@media (max-width: 767px) {
    .moments-section {
        padding-bottom: 40px;
    }
}

.moments-container {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1023px) {
    .moments-container {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-items: center;
    }
}

.moments-title-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding-right: 40px;
    padding-left: 80px;
}

@media (max-width: 1023px) {
    .moments-title-item {
        min-height: auto;
        padding-right: 40px;
        padding-left: 40px;
    }
}

.moments-title-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.moments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    align-items: center;
}

.moment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    max-width: 140px;
    width: 140px;
    flex-shrink: 0;
}


.moments-browse-by {
    font-family: 'Cera', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #666666;
    margin: 0 0 4px 0;
}

.moments-heading {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif;
    font-size: 32px;
    line-height: 1.3;
    color: #202F32;
    margin: 0;
}

.moment-image-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: visible;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

.moment-image {
    width: 160px;
    height: 160px;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 767px) {
    .moment-image {
        width: 140px;
        height: 140px;
        object-fit: cover;
        object-position: center;
    }
    
    .moment-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        max-width: 120px;
        width: 120px;
        flex-shrink: 0;
    }
}

.moment-name {
    font-family: 'Cera Bold', 'Cera', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
}

/* Category Circle */
.category-circle {
    @apply w-32 h-32 rounded-full flex items-center justify-center mx-auto mb-4 transition-transform duration-300 hover:scale-110;
}

/* Section Spacing */
.section-padding {
    @apply py-16 md:py-24;
}

@media (max-width: 767px) {
    .section-padding {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Dinners Section */
.dinners-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: white;
}

@media (max-width: 767px) {
    .dinners-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

.dinners-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

@media (max-width: 768px) {
    .dinners-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: flex-start;
    }
}

.dinners-title {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif;
    font-size: 32px;
    line-height: 1.3;
    color: #202F32;
    margin: 0;
}

@media (max-width: 767px) {
    .dinners-title {
        font-size: 24px;
    }
}

.dinners-subtitle {
    font-family: 'Cera', sans-serif;
    color: #AAAAAA;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 767px) {
    .dinners-header {
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 0;
    }
    
    .dinners-title {
        margin-right: 0;
        flex: 0 0 50%;
        min-width: 0;
    }
    
    .dinners-subtitle {
        font-size: 16px;
        margin: 0;
        margin-left: 0;
    }
}

.dinners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.dinners-grid > * {
    height: 100%;
}

@media (max-width: 767px) {
    .dinners-grid {
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .dinners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .dinners-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.featured-recipe-wrapper {
    grid-column: span 2;
}

/* Tabbed Recipes Section */
.tabbed-recipes-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: white;
    transition: background-color 0.3s;
}

@media (max-width: 767px) {
    .tabbed-recipes-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

.tabbed-recipes-section.tab-breakfast {
    background-color: #FFF4EB;
}

.tabbed-recipes-section.tab-lunch {
    background-color: #E8FBF8;
}

.tabbed-recipes-section.tab-dinner {
    background-color: #F7EFFF;
}

.tabbed-recipes-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

@media (max-width: 768px) {
    .tabbed-recipes-header {
        flex-wrap: nowrap;
        align-items: flex-start;
    }
}

.tabbed-recipes-tabs {
    display: flex;
    gap: 16px;
    align-items: center;
}

.tab-button {
    font-family: 'Crushed', cursive;
    font-size: 32px;
    color: #AAAAAA;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    padding-bottom: 8px;
    transition: color 0.3s;
    position: relative;
    border-bottom: 2px solid transparent;
}

@media (max-width: 767px) {
    .tab-button {
        font-size: 24px;
    }
}

.tab-button:hover {
    color: #202F32;
}

.tab-button.active {
    color: #202F32;
}

.tab-button.active.tab-breakfast {
    border-bottom-color: #E35944;
}

.tab-button.active.tab-lunch {
    border-bottom-color: #23C6C6;
}

.tab-button.active.tab-dinner {
    border-bottom-color: #9E79B4;
}

.tabbed-recipes-cta {
    font-family: 'Cera Bold', 'Cera', sans-serif;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: color 0.3s, opacity 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .tabbed-recipes-cta .tabbed-recipes-cta-text {
        display: none;
    }
    
    .tabbed-recipes-cta::before {
        content: "All";
    }
}

.tabbed-recipes-cta.cta-breakfast {
    color: #E35944;
}

.tabbed-recipes-cta.cta-lunch {
    color: #23C6C6;
}

.tabbed-recipes-cta.cta-dinner {
    color: #9E79B4;
}

.tabbed-recipes-cta:hover {
    opacity: 0.8;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Hide 5th card on desktop */
@media (min-width: 1024px) {
    .hide-on-desktop {
        display: none;
    }
}

@media (max-width: 1023px) {
    .featured-recipe-wrapper {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .featured-recipe-wrapper {
        grid-column: span 2;
    }
}

/* Featured Recipe Card */
.featured-recipe-card {
    background-color: white;
    overflow: hidden;
    transition: box-shadow 0.3s;
    border-radius: 8px;
    box-shadow: 0 0 7.4px rgba(0, 0, 0, 0.11);
    display: block;
    height: 100%;
}

.featured-recipe-card:hover {
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.15);
}

.featured-recipe-card-content {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 8px;
    height: 100%;
}

.featured-recipe-tag {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    font-family: 'Cera Bold', 'Cera', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 4px;
    color: white;
    z-index: 20;
}

.featured-recipe-tag.quick-cooks-tag {
    background-color: #23C6C6;
}

.featured-recipe-tag.featured-tag {
    background-color: #E35944;
}

.featured-recipe-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
}

.featured-recipe-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.featured-recipe-gradient {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 40%, #202F32 90%);
    border-bottom-right-radius: 8px;
    pointer-events: none;
}

@media (max-width: 767px) {
    .featured-recipe-gradient {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 80%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 40%, #202F32 80%);
        border-bottom-right-radius: 8px;
        pointer-events: none;
    }
}

.featured-recipe-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    display: flex;
    align-items: center;
    z-index: 10;
    justify-content: space-between;
    flex-direction: column;
}

.featured-recipe-title {
    font-family: 'Cera Bold', 'Cera', sans-serif;
    font-weight: bold;
    color: white;
    font-size: 24px;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    flex: 1;
}

@media (max-width: 767px) {
    .featured-recipe-title {
        font-size: 18px;
    }
}

.featured-recipe-meta {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 16px;
    color: white;
    font-size: 14px;
    margin: 0;
}

.featured-recipe-meta > div {
    color: white;
}

/* Typography */
.heading-1 {
    font-family: 'Cubano', 'Arial Black', Arial, sans-serif;
    color: #202F32;
    font-size: 40px;
    line-height: 1.2;
}

.heading-2 {
    font-family: 'Cubano', 'Arial Black', Arial, sans-serif;
    color: #202F32;
    font-size: 32px;
    line-height: 1.3;
}

.heading-3 {
    font-family: 'Cera Bold', 'Cera', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: bold;
    color: #202F32;
    font-size: 24px;
    line-height: 1.4;
}

.heading-4 {
    font-family: 'Cera Bold', 'Cera', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: bold;
    color: #202F32;
    font-size: 18px;
    line-height: 1.4;
}

.category-title {
    @apply font-crushed text-xl md:text-2xl;
}

.subtitle {
    @apply font-crushed text-gray text-lg md:text-xl;
}

/* Navigation */
.nav-link {
    @apply text-dark font-cera hover:text-red transition-colors duration-300;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-link-bold {
    font-family: 'Cera Bold', 'Cera', sans-serif;
    font-weight: bold;
}

.nav-icon {
    flex-shrink: 0;
    vertical-align: middle;
}

.nav-icon-red {
    color: #E35944;
}

.nav-icon-green {
    color: #95C623;
}

.nav-icon-purple {
    color: #97775A;
}

/* Grid Layouts */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.recipe-grid > * {
    height: 100%;
}

@media (max-width: 767px) {
    .recipe-grid {
        gap: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .recipe-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .recipe-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Category Filter Tags */
.category-filters {
    margin-bottom: 32px;
}

.category-filter-chip {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s, transform 0.2s;
}

.category-filter-chip:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Pagination Styles */
.pagination-wrapper {
    margin-top: 0;
    margin-bottom: 24px;
}

.pagination-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.pagination-info {
    text-align: center;
    margin-bottom: 8px;
}

.pagination-text {
    font-family: 'Cera', sans-serif;
    font-size: 14px;
    color: #666666;
    margin: 0;
}

.pagination-text strong {
    font-family: 'Cera Bold', 'Cera', sans-serif;
    font-weight: bold;
    color: #202F32;
}

/* Recipes Hero Section */
.recipes-hero-section {
    position: relative;
    background-image: url('/assets/recipes-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    margin-top: 40px;
}

.recipes-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #202F32;
    opacity: 0.8;
}

.recipes-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #202F32 100%);
    pointer-events: none;
}

.recipes-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.recipes-hero-title {
    font-family: 'Cubano', 'Arial Black', Arial, sans-serif;
    font-size: 48px;
    color: white;
    margin: 0;
}

/* Collections Hero Section */
.collections-hero-section {
    position: relative;
    background-image: url('/assets/collection-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    margin-top: 40px;
}

.collections-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.8;
}

.collections-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #FFFFFF 100%);
    pointer-events: none;
    z-index: 1;
}

.collections-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.collections-hero-title {
    font-family: 'Cubano', 'Arial Black', Arial, sans-serif;
    font-size: 48px;
    color: #202F32;
    margin: 0;
}

/* Collection Detail Hero Section */
.collection-detail-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    margin-top: 40px;
}

.collection-detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
}

.collection-detail-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.collection-detail-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.collection-detail-hero-title {
    font-family: 'Cubano', 'Arial Black', Arial, sans-serif;
    font-size: 80px;
    color: white;
    margin: 0;
}

.collection-detail-content-section {
    padding-bottom: 80px;
}

.collection-category-title {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif;
    font-size: 32px;
    color: white;
    margin: 0;
}

/* Category Hero Section */
.category-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    margin-top: 40px;
}

.category-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #202F32;
    opacity: 0.8;
}

.category-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.category-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.category-hero-title {
    font-family: 'Cubano', 'Arial Black', Arial, sans-serif;
    font-size: 48px;
    color: white;
    margin: 0;
}

/* Negative margin for recipe grid following hero sections */
.recipes-hero-section + .section-padding .recipe-grid,
.recipes-hero-section + .section-padding .dinners-grid,
.category-hero-section + .section-padding .recipe-grid,
.category-hero-section + .section-padding .dinners-grid {
    margin-top: -40px;
}

.collections-content-section {
    padding-bottom: 80px;
}

@media (max-width: 767px) {
    .recipes-hero-section {
        padding: 40px 0;
        min-height: 150px;
        margin-top: 24px;
    }
    
    .category-hero-section,
    .collections-hero-section,
    .collection-detail-hero-section {
        padding: 80px 0;
        min-height: 150px;
        margin-top: 24px;
    }
    
    .recipes-hero-title,
    .category-hero-title,
    .collections-hero-title {
        font-size: 32px;
    }
    
    .collection-detail-hero-title {
        font-size: 48px;
        padding: 0 40px;
        line-height: 100%;
    }
    
    .collection-detail-content-section {
        padding-bottom: 40px;
    }
    
    .collection-category-title {
        font-size: 24px;
    }
    
    .recipes-hero-section + .section-padding .recipe-grid,
    .recipes-hero-section + .section-padding .dinners-grid,
    .category-hero-section + .section-padding .recipe-grid,
    .category-hero-section + .section-padding .dinners-grid {
        margin-top: -24px;
    }
    
    .collections-content-section {
        padding-bottom: 40px;
    }
}

.pagination-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background-color: #202F32;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Cera', sans-serif;
    font-size: 14px;
    transition: background-color 0.3s, opacity 0.3s;
}

.pagination-btn:hover {
    background-color: #2a3f44;
}

.pagination-btn.pagination-disabled {
    background-color: #CCCCCC;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background-color: white;
    color: #202F32;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Cera', sans-serif;
    font-size: 14px;
    border: 1px solid #E5E5E5;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.pagination-number:hover {
    background-color: #F5F5F5;
    border-color: #202F32;
}

.pagination-number.pagination-active {
    background-color: #E35944 !important;
    color: white !important;
    border-color: #E35944 !important;
    font-family: 'Cera Bold', 'Cera', sans-serif !important;
    font-weight: bold !important;
}

.pagination-ellipsis {
    padding: 0 8px;
    color: #666666;
    font-family: 'Cera', sans-serif;
}

@media (max-width: 767px) {
    .pagination-container {
        gap: 4px;
    }
    
    .pagination-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .pagination-number {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 12px;
    }
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
}

/* Collections page grid (not homepage carousel) */
.collections-content-section .collection-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .collections-content-section .collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .collections-content-section .collection-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Homepage carousel styles */
@media (max-width: 767px) {
    .collection-grid-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .collection-grid-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .collections-section .collection-grid {
        display: flex;
        gap: 16px;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        padding-right: 24px;
    }
    
    .collections-section .collection-grid .collection-card {
        flex: 0 0 80%;
        scroll-snap-align: start;
        min-width: 0;
    }
}

/* Responsive Image */
.responsive-image {
    @apply w-full h-auto object-cover;
}

/* About Fadila Section */
.about-fadila-wrapper {
    background-color: #FAF5FF;
    border-radius: 0;
    padding: 0;
}

.about-fadila-content {
    padding: 40px;
}

.about-fadila-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.about-fadila-title {
    font-family: 'Crushed', cursive;
    color: #9E79B4;
    font-size: 32px;
    line-height: 1.3;
    text-align: center;
}

@media (max-width: 767px) {
    .about-fadila-title {
        font-size: 24px;
    }
}

.about-fadila-text {
    font-family: 'Cera', sans-serif;
    color: #666666;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 767px) {
    .about-fadila-text {
        font-size: 16px;
    }
}

.btn-about-fadila {
    background-color: #9E79B4;
    color: white;
    font-family: 'Cera Bold', 'Cera', sans-serif;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-about-fadila:hover {
    background-color: #8a6ba0;
}

/* Book Section */
.book-section-wrapper {
    background-color: #EDFCFA;
    border-radius: 0;
    padding: 40px;
}

.book-section {
    margin-top: 80px;
}

@media (max-width: 767px) {
    .book-section {
        margin-top: 0;
    }
}

.book-section-content {
    padding: 40px;
}

@media (max-width: 767px) {
    .book-section-content {
        padding: 0;
    }
}

.book-section-title {
    font-family: 'Crushed', cursive;
    color: #95C623;
    font-size: 32px;
    line-height: 1.3;
    text-align: center;
}

@media (max-width: 767px) {
    .book-section-title {
        font-size: 24px;
    }
}

.book-section-text {
    font-family: 'Cera', sans-serif;
    color: #666666;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 767px) {
    .book-section-text {
        font-size: 16px;
    }
}

.btn-book-section {
    background-color: #95C623;
    color: white;
    font-family: 'Cera Bold', 'Cera', sans-serif;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-book-section:hover {
    background-color: #7fa51d;
}

.book-section-cta-wrapper {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.book-section-secondary-cta {
    font-family: 'Cera Bold', 'Cera', sans-serif;
    font-weight: bold;
    color: #95C623;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.book-section-secondary-cta:hover {
    opacity: 0.8;
}

@media (max-width: 767px) {
    .book-section-cta-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-book-section {
        width: 100%;
        justify-content: center;
    }
}

.book-image {
    height: auto;
    margin: 0 auto;
    display: block;
    max-width: 100% !important;
}

/* About Page Styles */
.about-page-section {
    padding: 80px 0;
}

@media (max-width: 767px) {
    .about-page-section {
        padding: 40px 0;
    }
}

.about-page-wrapper {
    background-color: white !important;
}

.about-page-title {
    color: #202F32 !important;
}

.about-page-btn {
    background-color: #97775A !important;
}

.about-page-btn:hover {
    background-color: #7a5f48 !important;
}

.about-fadila-image-wrapper {
    width: 100%;
}

.about-fadila-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-fadila-text-wrapper {
    margin-top: 24px;
}

.about-fadila-cta-wrapper {
    margin-top: 32px;
    text-align: center;
}

/* Fadila Gallery Section */
.fadila-gallery-section {
    padding: 80px 0;
    background-color: white;
}

@media (max-width: 767px) {
    .fadila-gallery-section {
        padding: 40px 0;
    }
}

.fadila-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    grid-auto-rows: 10px;
}

.fadila-gallery-item {
    border-radius: 8px;
    min-height: 200px;
}

.fadila-gallery-item:nth-child(1) {
    grid-row: span 20;
}

.fadila-gallery-item:nth-child(2) {
    grid-row: span 15;
}

.fadila-gallery-item:nth-child(3) {
    grid-row: span 18;
}

.fadila-gallery-item:nth-child(4) {
    grid-row: span 16;
}

.fadila-gallery-item:nth-child(5) {
    grid-row: span 19;
}

.fadila-gallery-item:nth-child(6) {
    grid-row: span 17;
}

@media (max-width: 767px) {
    .fadila-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .fadila-gallery-item {
        min-height: 150px;
    }
    
    .fadila-gallery-item:nth-child(1),
    .fadila-gallery-item:nth-child(2),
    .fadila-gallery-item:nth-child(3),
    .fadila-gallery-item:nth-child(4),
    .fadila-gallery-item:nth-child(5),
    .fadila-gallery-item:nth-child(6) {
        grid-row: span 15;
    }
}

/* About Page Book Section */
.about-page-book-section {
    margin-top: 0;
}

.about-page-book-wrapper {
    background-color: white !important;
}

.about-page-book-title {
    color: #202F32 !important;
}

.about-page-book-btn {
    background-color: #97775A !important;
}

.about-page-book-btn:hover {
    background-color: #7a5f48 !important;
}

.book-section-text-wrapper {
    margin-top: 24px;
}

.book-section-list {
    list-style: disc;
    list-style-position: inside;
    margin: 16px 0;
    padding-left: 16px;
    color: #666666;
    font-family: 'Cera', sans-serif;
    font-size: 18px;
    line-height: 1.8;
}

.book-section-list li {
    margin-bottom: 8px;
}

.book-section-cta-wrapper {
    margin-top: 32px;
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.book-image-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Book Preview Section */
.book-preview-section {
    padding: 80px 0;
    background-color: white;
}

@media (max-width: 767px) {
    .book-preview-section {
        padding: 40px 0;
    }
}

.book-preview-title {
    font-family: 'Crushed', cursive;
    color: #202F32;
    font-size: 32px;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .book-preview-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
}

.book-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.book-preview-item {
    aspect-ratio: 3 / 4;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .book-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Book Hero Section - New Design */
.book-hero-section-new {
    padding: 80px 0;
    background-color: white;
}

@media (max-width: 767px) {
    .book-hero-section-new {
        padding: 40px 0;
    }
}

.book-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 767px) {
    .book-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.book-hero-image-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-hero-cover-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}

.book-hero-content-new {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.book-hero-label {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif;
    font-size: 32px;
    line-height: 1.2;
    color: #E35944;
    margin: 0;
}

.book-hero-title-new {
    font-family: 'Cubano', 'Arial Black', Arial, sans-serif;
    font-size: 48px;
    color: #202F32;
    line-height: 1.2;
    margin: 0;
}

@media (max-width: 767px) {
    .book-hero-title-new {
        font-size: 32px;
    }
}

.book-hero-description {
    font-family: 'Cera', sans-serif;
    font-size: 18px;
    color: #202F32;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767px) {
    .book-hero-description {
        font-size: 16px;
    }
}

.book-hero-examples {
    font-family: 'Cera', sans-serif;
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767px) {
    .book-hero-examples {
        font-size: 14px;
    }
}

/* Book Order Section */
.book-order-section {
    padding: 60px 0;
    background-color: white;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
}

@media (max-width: 767px) {
    .book-order-section {
        padding: 40px 0;
    }
}

.book-order-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .book-order-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

.book-order-label {
    font-family: 'Crushed', cursive;
    font-size: 36px;
    color: #666666;
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .book-order-label {
        font-size: 24px;
    }
}

.book-order-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.book-order-button {
    font-family: 'Cera Bold', 'Cera', sans-serif;
    font-weight: bold;
    font-size: 14px;
    color: #202F32;
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid #202F32;
    border-radius: 9999px;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
}

.book-order-button:hover {
    background-color: #202F32;
    color: white;
}

@media (max-width: 767px) {
    .book-order-button {
        font-size: 12px;
        padding: 10px 20px;
    }
}

/* Book Preview Section - Dark Background */
.book-preview-section-dark {
    padding: 80px 0;
    background-color: #202F32;
}

@media (max-width: 767px) {
    .book-preview-section-dark {
        padding: 40px 0;
    }
}

.book-preview-title-dark {
    font-family: 'Crushed', cursive;
    font-size: 32px;
    color: white;
    text-align: center;
    margin-bottom: 48px;
}

@media (max-width: 767px) {
    .book-preview-title-dark {
        font-size: 24px;
        margin-bottom: 32px;
    }
}

.book-preview-grid-dark {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    gap: 5%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    align-items: start;
}

.book-preview-column {
    display: flex;
    flex-direction: column;
}

.book-preview-column-stacked {
    gap: 40px;
}

.book-preview-image-dark {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

@media (max-width: 767px) {
    .book-preview-grid-dark {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .book-preview-column {
        display: contents;
    }
    
    .book-preview-column-stacked {
        display: contents;
    }
    
    .book-preview-image-dark {
        border-radius: 8px;
        width: 100%;
        height: auto;
        display: block;
    }
    
    .book-preview-img-1 {
        grid-column: 1;
        grid-row: 1;
    }
    
    .book-preview-img-2 {
        grid-column: 2;
        grid-row: 1;
    }
    
    .book-preview-img-3 {
        grid-column: 1 / -1;
        grid-row: 2;
    }
    
    .book-preview-img-4 {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

/* Book Reviews Section */
.book-reviews-section {
    padding: 80px 0;
    background-color: white;
}

@media (max-width: 767px) {
    .book-reviews-section {
        padding: 40px 0;
    }
}

.book-reviews-header {
    text-align: center;
    margin-bottom: 48px;
}

.book-reviews-title {
    font-family: 'Crushed', cursive;
    font-size: 32px;
    color: #202F32;
    margin: 0 0 24px 0;
}

@media (max-width: 767px) {
    .book-reviews-title {
        font-size: 24px;
    }
}

.book-reviews-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.book-reviews-stars {
    display: flex;
    gap: 4px;
    color: #FFD700;
    font-size: 24px;
}

@media (max-width: 767px) {
    .book-reviews-stars {
        font-size: 20px;
    }
    
    .book-reviews-rating-number {
        font-size: 24px;
    }
    
    .book-reviews-rating-total {
        font-size: 14px;
    }
}

.book-reviews-carousel-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 10px;
}

.book-reviews-carousel-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.book-reviews-carousel {
    display: flex;
    gap: 24px;
    scroll-snap-type: x mandatory;
    padding: 0 24px;
}

.book-review-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 280px;
    scroll-snap-align: start;
    background-color: #F9F9F9;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.book-review-stars {
    display: flex;
    gap: 4px;
    color: #FFD700;
    font-size: 16px;
}

.book-review-text {
    font-family: 'Cera', sans-serif;
    color: #202F32;
    font-size: 16px;
    line-height: 1.6;
    flex: 1;
    margin: 0;
}

.book-review-author {
    font-family: 'Cera Bold', 'Cera', sans-serif;
    font-weight: bold;
    color: #666666;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 1023px) {
    .book-review-card {
        flex: 0 0 calc(50% - 12px);
        min-width: 260px;
    }
}

@media (max-width: 767px) {
    .book-reviews-carousel {
        gap: 16px;
        padding: 0 16px;
    }
    
    .book-review-card {
        flex: 0 0 85%;
        min-width: 240px;
        padding: 24px;
    }
    
    .book-review-text {
        font-size: 14px;
    }
}

/* Video Section */
.video-section {
    background-color: #202F32;
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (max-width: 767px) {
    .video-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    overflow: hidden;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-section-content {
    color: white;
}

@media (max-width: 767px) {
    .video-section-content {
        text-align: center;
    }
}

.video-section-content .video-section-label,
.video-section-label {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif !important;
    font-weight: normal !important;
    font-size: 12px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #AAAAAA !important;
    margin: 0 0 16px 0 !important;
}

.video-section-title {
    font-family: 'Cubano', 'Arial Black', Arial, sans-serif;
    font-size: 40px;
    line-height: 1.2;
    color: white;
    margin: 0 0 24px 0;
}

@media (max-width: 767px) {
    .video-section-title {
        font-size: 28px;
        text-align: center;
    }
}

.video-section-description {
    font-family: 'Cera', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #AAAAAA;
    margin: 0 0 32px 0;
}

@media (max-width: 767px) {
    .video-section-description {
        font-size: 16px;
        text-align: center;
    }
}

.video-section-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cera Bold', 'Cera', sans-serif;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 9999px;
    transition: all 0.3s;
}

@media (max-width: 767px) {
    .video-section-cta {
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }
}

.video-section-cta:hover {
    background-color: white;
    color: #202F32;
}

/* App Download Section */
.app-download-section {
    background-color: #202F32;
    background-image: url('/assets/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
}

.app-download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(32, 47, 50, 0.9); /* Dark overlay at 90% opacity = bg.jpg at 10% visible */
    z-index: 1;
}

.app-download-section > .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 767px) {
    .app-download-section {
        padding-top: 40px;
        padding-bottom: 0;
    }
}

.app-download-content {
    color: white;
    text-align: left;
    padding: 40px;
}

@media (max-width: 767px) {
    .app-download-content {
        text-align: center;
        padding: 0;
    }
}

.app-download-title {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif;
    font-size: 38px;
    line-height: 1.2;
    color: white;
    margin: 0 0 24px 0;
}

@media (max-width: 767px) {
    .app-download-title {
        font-size: 26px;
    }
}

.app-download-description {
    font-family: 'Cera', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #AAAAAA;
    margin: 0 0 32px 0;
}

@media (max-width: 767px) {
    .app-download-description {
        font-size: 16px;
    }
}

.app-download-icon-wrapper {
    display: inline-block;
}

@media (max-width: 767px) {
    .app-download-icon-wrapper {
        display: block;
        text-align: center;
    }
}

.app-download-icon {
    max-width: 180px;
    max-height: 40px;
    height: auto;
    display: block;
}

.app-download-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0 0 0;
}

.app-mockup-image {
    max-width: 100% !important;
    height: auto;
    display: block;
}

@media (max-width: 767px) {
    .app-download-section .grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .app-download-content {
        order: 1;
    }
    
    .app-download-mockup {
        order: 2;
        margin-top: 40px;
        padding: 0 24px 0 24px;
    }
    
    .app-download-icon-wrapper {
        display: flex;
        justify-content: center;
    }
}

/* Footer */
.footer-custom {
    background-color: #202F32 !important;
    margin-top: 0 !important;
}

.footer-logo {
    filter: brightness(0) invert(1);
}

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

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-column:first-child {
        align-items: flex-start;
        text-align: left;
    }
}

.footer-column-title {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif !important;
    color: #AAAAAA !important;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-description {
    color: #AAAAAA !important;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.footer-copyright-text {
    color: #AAAAAA !important;
    font-size: 14px !important;
    margin-top: 16px;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .footer-custom .grid {
        grid-template-columns: 1fr;
    }
    
    .footer-column ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .footer-column ul li {
        margin: 0;
    }
}

/* Recipe Detail Page */
.recipe-detail-header {
    margin-top: 40px;
}

.recipe-detail-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0;
    min-height: 500px;
}

.recipe-detail-image {
    width: 100%;
    aspect-ratio: 2 / 3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    overflow: hidden;
}

.recipe-detail-info {
    display: flex;
    flex-direction: column;
}

.recipe-category-chip {
    display: inline-block;
}

.recipe-detail-title {
    font-family: 'Cubano', 'Arial Black', Arial, sans-serif;
    font-size: 48px;
    line-height: 1.2;
    color: #202F32;
    margin: 0;
}

.recipe-metadata-row {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.recipe-metadata-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #666666;
}

.recipe-metadata-item svg {
    color: #23C6C6;
    flex-shrink: 0;
    margin-top: 2px;
}

.recipe-metadata-content {
    display: flex;
    flex-direction: column;
}

.recipe-metadata-value {
    font-size: 18px;
    font-weight: bold;
    color: #23C6C6;
    margin-bottom: 4px;
    line-height: 1.2;
}

.recipe-metadata-label {
    font-size: 12px;
    color: #AAAAAA;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recipe-author-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
}

.recipe-author-left {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.recipe-author-left:hover {
    opacity: 0.8;
}

.recipe-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.recipe-author-info {
    display: flex;
    flex-direction: column;
}

.recipe-author-name {
    font-size: 16px;
    font-weight: bold;
    color: #202F32;
    margin-bottom: 2px;
}

.recipe-author-role {
    font-size: 14px;
    color: #AAAAAA;
}

/* Book Author Section */
.book-author-section {
    display: flex;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 0px;
}

.book-author-left {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.book-author-left:hover {
    opacity: 0.8;
}

.book-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.book-author-info {
    display: flex;
    flex-direction: column;
}

.book-author-name {
    font-size: 16px;
    font-weight: bold;
    color: #202F32;
    margin-bottom: 2px;
}

.book-author-role {
    font-size: 14px;
    color: #AAAAAA;
}

.recipe-author-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.recipe-action-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: #666666;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.recipe-action-icon:hover {
    color: #202F32;
}

.recipe-description-section {
    margin-top: 24px;
    margin-bottom: 24px;
}

.recipe-description-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

.sf-symbol-icon {
    display: inline-block;
    vertical-align: middle;
}

.recipe-ingredients-section {
    margin-top: 24px;
}

.recipe-ingredients-title {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif;
    font-size: 32px;
    font-weight: normal;
    color: #202F32;
    margin-bottom: 16px;
}

.recipe-ingredients-word {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif;
    font-weight: normal;
    color: #202F32;
}

.recipe-ingredients-for {
    font-family: 'Cera', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: normal;
    font-size: 16px;
}

.recipe-ingredients-title strong {
    font-family: 'Cera', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: normal;
    font-size: 16px;
}

.recipe-ingredients-icon {
    color: #23C6C6;
    margin-right: 8px;
    font-size: 24px;
    vertical-align: middle;
}

.recipe-instructions-icon {
    color: #23C6C6;
    margin-right: 8px;
    font-size: 24px;
    vertical-align: middle;
}

.recipe-ingredients-title strong {
    font-weight: bold;
}

.recipe-instructions-title {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif;
    font-size: 32px;
    font-weight: normal;
    color: #202F32;
    margin: 0;
}

.recipe-instructions-title {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif;
    font-size: 32px;
    font-weight: normal;
    color: #202F32;
    margin: 0;
}

.recipe-ingredients-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.recipe-ingredient-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.recipe-ingredient-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #E35944;
    flex-shrink: 0;
}

.recipe-ingredient-label {
    font-size: 16px;
    color: #202F32;
    cursor: pointer;
    line-height: 1.5;
}

.recipe-ingredient-checkbox:checked + .recipe-ingredient-label {
    text-decoration: line-through;
    color: #AAAAAA;
}

.recipe-step-number {
    font-family: 'Cubano', 'Arial Black', Arial, sans-serif;
    font-size: 64px;
    color: #23C6C6;
    line-height: 1;
    font-weight: normal;
}

@media (max-width: 767px) {
    .recipe-step-number {
        font-size: 40px;
    }
    .recipe-detail-header {
        margin: 0 !important;
        margin-top: 24px !important;
    }
    
    .recipe-detail-info {
        padding: 1rem !important;
    }
    
    .recipe-description-section {
        margin: 0 !important;
    }
    
    .recipe-instructions-section {
        margin-top: 0 !important;
        padding: 1rem !important;
    }
    
    .recipe-instructions-title {
        margin-top: 0 !important;
    }
    
    .recipe-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .recipe-detail-image {
        aspect-ratio: 1 / 1;
        border-radius: 24px;
    }
    
    .recipe-detail-title {
        font-size: 32px;
    }
    
    .recipe-metadata-row {
        gap: 16px;
    }
    
    .recipe-metadata-item {
        min-width: 60px;
    }
    
    .recipe-metadata-value {
        font-size: 16px;
    }
    
    .recipe-metadata-label {
        font-size: 11px;
    }
    
    .recipe-ingredients-list {
        grid-template-columns: 1fr;
    }
}

/* Similar Recipes Section */
.similar-recipes-section {
    margin-top: 0;
    padding: 40px 0;
}

.similar-recipes-header {
    margin-bottom: 40px;
}

.similar-recipes-title {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif;
    font-size: 32px;
    color: #202F32;
    margin: 0;
}

@media (max-width: 767px) {
    .similar-recipes-section {
        margin-top: 0 !important;
        padding-top: 40px !important;
        padding-bottom: 40px;
    }
    
    .similar-recipes-title {
        font-size: 24px;
    }
    
    .similar-recipes-section .dinners-grid > div:nth-child(n+5) {
        display: none;
    }
}

/* Recipe Video Section */
.recipe-video-section {
    background-color: #202F32;
    padding: 80px 0;
    margin-top: 80px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.recipe-video-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.recipe-video-title {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif;
    font-size: 32px;
    color: white;
    text-align: center;
    margin: 0 0 40px 0;
}

.recipe-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 16 / 9;
}

.recipe-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
}

@media (max-width: 767px) {
    .recipe-video-section {
        padding: 40px 0;
        margin-top: 40px;
    }
    
    .recipe-video-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .recipe-video-wrapper {
        max-width: 100%;
    }
}

/* Footer App Download Section */
.footer-app-download-section {
    background-color: #202F32 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
}

.footer-app-download-grid {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 0;
}

@media (max-width: 767px) {
    .footer-app-download-grid {
        padding-bottom: 0 !important;
    }
}

/* Keep old class for backward compatibility */
.footer-app-download {
    background-color: #202F32 !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
}

.footer-app-download-content {
    color: white !important;
    text-align: left;
}

.footer-app-download .grid {
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 3rem !important;
    align-items: center !important;
}

@media (min-width: 768px) {
    .footer-app-download .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

.footer-app-download h2,
.footer-app-download p,
.footer-app-download img {
    display: block !important;
    visibility: visible !important;
}

.footer-app-download-title {
    font-family: 'Crushed', 'Arial Black', Arial, sans-serif !important;
    font-size: 38px !important;
    line-height: 1.2 !important;
    color: white !important;
    margin: 0 0 24px 0 !important;
    display: block !important;
    visibility: visible !important;
}

.footer-app-download-description {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #AAAAAA !important;
    margin: 0 0 24px 0 !important;
    display: block !important;
    visibility: visible !important;
}

.footer-app-download-icon-wrapper {
    display: flex;
    justify-content: flex-start;
}

.footer-app-download-icon {
    max-height: 40px !important;
    width: auto !important;
    display: block !important;
    visibility: visible !important;
}

.footer-app-download-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
}

.footer-app-mockup-image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    visibility: visible !important;
}

@media (max-width: 767px) {
    .footer-app-download-section {
        padding: 0 !important;
    }
    
    .footer-app-download {
        padding-top: 24px;
        padding-bottom: 24px;
    }
    
    .footer-app-download-content {
        text-align: center;
        padding: 40px !important;
    }
    
    .footer-app-download-grid {
        padding-bottom: 0 !important;
    }
    
    .footer-app-download-title {
        font-size: 26px;
    }
    
    .footer-app-download-description {
        font-size: 14px;
    }
    
    .footer-app-download-icon-wrapper {
        justify-content: center;
    }
    
    .footer-app-download-mockup {
        margin-top: 24px;
        padding-top: 0 !important;
    }
}

/* Top Bar */
.top-bar-custom {
    background-color: #202F32;
    color: #AAAAAA;
    padding: 12px 0;
    font-family: 'Cera', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.top-bar-book-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #AAAAAA;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-book-link:hover {
    color: white;
}

.top-bar-book-name {
    font-family: 'Cera Bold', 'Cera', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: bold !important;
    color: white !important;
}

.top-bar-text-mobile {
    display: none;
}

@media (max-width: 767px) {
    .top-bar-text-desktop {
        display: none;
    }
    
    .top-bar-text-mobile {
        display: inline;
    }
}

.top-bar-book-image {
    max-width: 80px !important;
    height: auto;
    flex-shrink: 0;
    margin-bottom: -24px;
}

.top-bar-social-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-social-link {
    color: #AAAAAA;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-social-link:hover {
    color: white;
}

@media (max-width: 767px) {
    .top-bar-custom {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .top-bar-content {
        justify-content: center;
    }
    
    .top-bar-social-links {
        display: none;
    }
    
    .top-bar-book-link {
        justify-content: center;
    }
}

