

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}


.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%; 
}

.carousel-slide {
    width: 33.333%; 
    
}


.carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #2c8295;
    border-color: #2c8295;
    transform: scale(1.2);
}

.indicator:hover {
    border-color: #2c8295;
    transform: scale(1.1);
}


.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-nav:hover {
    background-color: #2c8295;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 30px;
}

.carousel-nav.next {
    right: 30px;
}

.hero-section {
    display: flex;
    align-items: center;
    gap: 60px;
    background: linear-gradient(135deg, #E8F4FD 0%, #F0F8FF 100%);
    border-radius: 30px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 8px,
            rgba(0,0,0,0.03) 8px,
            rgba(0,0,0,0.03) 16px
        );
    z-index: 1;
}

.hero-left {
    flex: 1;
    z-index: 2;
}

.hot-recipes-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #8B4513;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.tag-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.hero-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}

.recipe-info {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.info-icon {
    font-size: 16px;
}

.author-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.author-details h4 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.author-details span {
    font-size: 14px;
    color: #666;
}

.view-recipe-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #333;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-recipe-btn:hover {
    background-color: #2c8295;
    transform: translateY(-2px);
}

.btn-arrow {
    font-size: 12px;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.food-image-container {
    position: relative;
}

.food-image {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.handpicked-badge {
    position: absolute;
    top: 50px;
    right: -50px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

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

.badge-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
}

.badge-text span {
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}


@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .food-image {
        width: 400px;
        height: 400px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-nav.prev {
        left: 20px;
    }
    
    .carousel-nav.next {
        right: 20px;
    }
}

.categories-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    padding-top: 0;
}

.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.categories-header h3 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

.view-all-link {
    color: #2c8295;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.view-all-link:hover {
    color: #E55A2B;
}

.view-all-link::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.view-all-link:hover::after {
    transform: translateX(5px);
}

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

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44,130,149,0.1), transparent);
    transition: left 0.5s ease;
}

.category-item:hover::before {
    left: 100%;
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.category-image {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.category-item:hover .category-image {
    transform: scale(1.1);
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.category-item:hover .category-name {
    color: #2c8295;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}


.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(44,130,149,0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


.recipes-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 30px;
    margin-top: 40px;
}

.recipes-header {
    text-align: center;
    margin-bottom: 60px;
}

.recipes-header h3 {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.recipes-header p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

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


.recipe-card {
    background-color: white;
    border-radius: 20px;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
    position: relative;
    transform-origin: center;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
}


.recipe-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(-45deg, 
        #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7, #dda0dd);
    background-size: 400% 400%;
    border-radius: 25px;
    opacity: 0;
    z-index: -1;
    animation: gradient-flow 4s ease infinite;
    filter: blur(10px);
    transition: opacity 0.6s ease;
}


.recipe-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(44,130,149,0.1) 0%, 
        rgba(229,90,43,0.05) 50%, 
        transparent 100%);
    border-radius: 20px;
    opacity: 0;
    z-index: 1;
    transition: all 0.6s ease;
    transform: scale(0.8);
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 50% 100%; }
    75% { background-position: 50% 0%; }
}

.recipe-card:hover {
    transform: translateY(-20px) rotateY(10deg) rotateX(5deg) scale(1.05);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.25),
        0 0 50px rgba(44,130,149,0.4),
        0 0 100px rgba(229,90,43,0.2);
    
}

.recipe-card:hover::before {
    opacity: 0.8;
}

.recipe-card:hover::after {
    opacity: 1;
    transform: scale(1.1);
    animation: inner-glow 2s ease-in-out infinite;
}

@keyframes card-pulse {
    0% { 
        transform: translateY(-20px) rotateY(10deg) rotateX(5deg) scale(1.05);
        filter: brightness(1);
    }
    100% { 
        transform: translateY(-25px) rotateY(12deg) rotateX(7deg) scale(1.08);
        filter: brightness(1.1);
    }
}

@keyframes inner-glow {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1.1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

.recipe-image-container {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}


.recipe-image-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, 
        transparent, 
        rgba(255,255,255,0.3), 
        transparent, 
        rgba(44,130,149,0.2), 
        transparent);
    opacity: 0;
    z-index: 2;
    transition: all 0.8s ease;
    animation: spin-light 3s linear infinite;
}

.recipe-card:hover .recipe-image-container::before {
    opacity: 1;
}

@keyframes spin-light {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.recipe-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1) contrast(1) saturate(1) hue-rotate(0deg);
}

.recipe-card:hover .recipe-image {
    transform: scale(1.15) rotate(-3deg);
    filter: brightness(1.2) contrast(1.15) saturate(1.3) hue-rotate(5deg);
    animation: image-wave 2s ease-in-out infinite;
}

@keyframes image-wave {
    0%, 100% { 
        transform: scale(1.15) rotate(-3deg); 
    }
    25% { 
        transform: scale(1.18) rotate(-2deg); 
    }
    50% { 
        transform: scale(1.20) rotate(-1deg); 
    }
    75% { 
        transform: scale(1.18) rotate(-2deg); 
    }
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 2;
}

.favorite-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.heart-icon {
    font-size: 18px;
    color: #ccc;
    transition: all 0.3s ease;
}

.favorite-btn.active .heart-icon {
    color: #2c8295;
    animation: heartBeat 0.6s ease;
}

.favorite-btn:hover .heart-icon {
    color: #2c8295;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.15); }
}

.recipe-content {
    padding: 25px;
    position: relative;
    z-index: 2;
    height: 100%;
    background: linear-gradient(white, rgb(231, 250, 254));
    transition: all 0.6s ease;
}

.recipe-card:hover .recipe-content {
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.95) 0%, 
        rgba(248,250,252,0.95) 50%,
        rgba(240,248,255,0.95) 100%);
    transform: translateZ(20px);
}

.recipe-content h4 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
        display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.recipe-card:hover .recipe-content h4 {
    color: #2c8295;
    
    text-shadow: 0 4px 8px rgba(44,130,149,0.3);
    animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
    0% { 
        text-shadow: 0 4px 8px rgba(44,130,149,0.3);
    }
    100% { 
        text-shadow: 0 4px 8px rgba(44,130,149,0.6), 
                     0 0 20px rgba(44,130,149,0.4);
    }
}


.recipe-content h4::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #2c8295, 
        #4ecdc4, 
        #E55A2B, 
        #ff6b6b);
    background-size: 200% 100%;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: color-shift 3s ease infinite;
}

.recipe-card:hover .recipe-content h4::after {
    width: 100%;
}

@keyframes color-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.recipe-meta {
    display: flex;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateY(0) scale(1);
    opacity: 0.8;
}

.recipe-card:hover .meta-item {
    color: #2c8295;
    
    opacity: 1;
    animation: meta-bounce 1s ease-in-out infinite alternate;
}

.recipe-card:hover .meta-item:nth-child(1) {
    animation-delay: 0.1s;
}

.recipe-card:hover .meta-item:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes meta-bounce {
    0% { 
        transform: translateY(0px) scale(1);
        filter: brightness(1);
    }
    100% { 
        transform: translateY(-4px) scale(1.05);
        filter: brightness(1.2);
    }
}

.meta-icon {
    font-size: 16px;
}


.healthy-food-card {
    background: linear-gradient(135deg, #2d5a27, #4a7c59);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.healthy-food-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.healthy-food-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.healthy-content {
    position: relative;
    z-index: 2;
}

.healthy-content h4 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
    font-style: italic;
}

.healthy-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 20px 0;
    border: 3px solid rgba(255,255,255,0.3);
    transition: transform 0.3s ease;
}

.healthy-food-card:hover .healthy-image {
    transform: scale(1.1) rotate(5deg);
}

.healthy-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 15px;
}


@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px;
        height: 100%;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .food-image {
        width: 400px;
        height: 400px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recipes-header h3 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .navbar {
        
        gap: 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .hero-section {
        padding: 30px 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .food-image {
        width: 300px;
        height: 300px;
    }
    
    .handpicked-badge {
        width: 80px;
        height: 80px;
        top: 20px;
        right: -20px;
    }
    
    .badge-icon {
        font-size: 16px;
    }
    
    .badge-text span {
        font-size: 8px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .recipes-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .recipes-header h3 {
        font-size: 32px;
    }
    
    .recipes-section {
        padding: 60px 20px;
        margin-top: 60px;
    }
    
    .author-section {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    
    
    .hero-title {
        font-size: 24px;
    }
    
    .food-image {
        width: 250px;
        height: 250px;
    }
    
    .recipes-header h3 {
        font-size: 28px;
    }
    
    .recipe-content h4 {
        font-size: 18px;
    }
    
    .healthy-content h4 {
        font-size: 20px;
    }
}


.featured-recipes-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 60px;
}

.featured-title-section {
    flex: 1;
}

.featured-title-section h3 {
    font-size: 56px;
    font-weight: bold;
    color: #333;
    line-height: 1;
    max-width: 600px;
}

.featured-description {
    flex: 1;
    display: flex;
    align-items: center;
}

.featured-description p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-top: 20px;
}

.featured-recipes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}


.featured-recipe-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    transform-origin: center;
    display: flex;
    flex-direction: column;
}

.featured-recipe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(44,130,149,0.1) 0%, 
        rgba(229,90,43,0.1) 25%, 
        rgba(44,130,149,0.1) 50%, 
        rgba(229,90,43,0.1) 75%, 
        rgba(44,130,149,0.1) 100%);
    background-size: 400% 400%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 20px;
}

.featured-recipe-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: conic-gradient(from 0deg, #2c8295, #E55A2B, #2c8295, #E55A2B, #2c8295);
    border-radius: 22px;
    opacity: 0;
    z-index: -1;
    animation: rotate-border 3s linear infinite;
    transition: opacity 0.4s ease;
}

.featured-recipe-card:hover {
    transform: translateY(-15px) scale(1.02) rotateX(5deg);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.2),
        0 0 30px rgba(44,130,149,0.3),
        inset 0 1px 0 rgba(255,255,255,0.6);
    
}

.featured-recipe-card:hover::before {
    opacity: 1;
    animation: gradient-shift 2s ease infinite;
}

.featured-recipe-card:hover::after {
    opacity: 1;
}

.featured-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
}

.featured-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.4), 
        transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.featured-recipe-card:hover .featured-image-container::before {
    left: 100%;
}

.featured-recipe-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1) contrast(1) saturate(1);
}

.featured-recipe-card:hover .featured-recipe-image {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.featured-recipe-content {
    padding: 20px;
    position: relative;
    z-index: 2;
    height: 100%;
    background: white;
    transition: all 0.4s ease;
}

.featured-recipe-card:hover .featured-recipe-content {
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.95) 0%, 
        rgba(248,250,252,0.95) 100%);
}

.featured-recipe-content h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.featured-recipe-card:hover .featured-recipe-content h4 {
    color: #2c8295;
    transform: translateX(3px);
    text-shadow: 0 2px 4px rgba(44,130,149,0.2);
}

.featured-recipe-content h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2c8295, #E55A2B);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-recipe-card:hover .featured-recipe-content h4::after {
    width: 100%;
}

.featured-recipe-meta {
    display: flex;
    gap: 15px;
}

.featured-recipe-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.featured-recipe-card:hover .featured-recipe-meta .meta-item {
    color: #2c8295;
    transform: translateY(-2px);
}

.featured-recipe-meta .meta-icon {
    font-size: 14px;
}


@media (max-width: 1024px) {
    .featured-header {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .featured-title-section h3 {
        font-size: 42px;
    }
    
    .featured-recipes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .hero-right{
        display: none;
    }
}

@media (max-width: 768px) {
    .featured-recipes-section {
        padding: 80px 20px;
    }
    
    .featured-title-section h3 {
        font-size: 36px;
    }
    
    .featured-recipes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-recipe-content h4 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .featured-title-section h3 {
        font-size: 28px;
    }
    
    .featured-recipe-content {
        padding: 15px;
    }
}
