
/* ========================================
   KITCHEN IDEAS — RESPONSIVE STYLES
======================================== */


/* TABLETS */

@media only screen and (max-width: 1024px) {

    :root {
        --container-width: 900px;
    }

    .hero-inner {
        gap: 35px;
    }

    .hero-image {
        height: 380px;
    }

    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .about-inner {
        gap: 40px;
    }

}


/* SMALL TABLETS */

@media only screen and (max-width: 768px) {

    .header {
        padding: 20px 0;
    }

    .navigation {
        gap: 22px;
    }

    .hero {
        padding: 55px 0 70px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero-image {
        height: 380px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .recipes-section {
        padding: 70px 0;
    }

    .section-heading h2 {
        font-size: 36px;
    }

    .recipe-image {
        height: 230px;
    }

    .about-section {
        padding: 70px 0;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-image {
        height: 350px;
    }

    .about-content h2 {
        font-size: 35px;
    }

    .footer-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

}


/* MOBILE PHONES */

@media only screen and (max-width: 480px) {

    .container {
        padding: 0 18px;
    }

    .header {
        padding: 18px 0;
    }

    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        font-size: 25px;
    }

    .navigation {
        width: 100%;
        justify-content: center;
        gap: 30px;
    }

    .navigation a {
        font-size: 14px;
    }

    .hero {
        padding: 45px 0 55px;
    }

    .hero-inner {
        gap: 30px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-image {
        height: 280px;
    }

    .btn {
        padding: 12px 25px;
    }

    .recipes-section {
        padding: 55px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 31px;
    }

    .section-heading p {
        font-size: 14px;
    }

    .recipes-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .recipe-image {
        height: 240px;
    }

    .recipe-info {
        padding: 20px;
    }

    .about-section {
        padding: 55px 0;
    }

    .about-image {
        height: 280px;
    }

    .about-content h2 {
        font-size: 31px;
    }

    .about-content p {
        font-size: 15px;
    }

    .footer {
        padding: 30px 0;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
    }

}


/* VERY SMALL PHONES */

@media only screen and (max-width: 360px) {

    .navigation {
        gap: 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .recipe-image {
        height: 210px;
    }

}



/* ========================================
   RECIPE PAGE RESPONSIVE
======================================== */

@media only screen and (max-width: 1024px) {

    .recipe-layout {
        grid-template-columns: 300px 1fr;
        gap: 35px;
    }

    .ingredients-card {
        padding: 22px;
    }

}

@media only screen and (max-width: 768px) {

    .recipe-header h1 {
        font-size: 42px;
    }

    .recipe-main-image {
        height: 380px;
    }

    .recipe-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .ingredients-card {
        position: static;
    }

}

@media only screen and (max-width: 480px) {

    .recipe-intro {
        padding: 25px 0 40px;
    }

    .back-link {
        margin-bottom: 25px;
    }

    .recipe-header h1 {
        font-size: 35px;
    }

    .recipe-description {
        font-size: 15px;
    }

    .recipe-main-image {
        height: 260px;
    }

    .recipe-meta {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
    }

    .meta-item:nth-child(2) {
        border-right: none;
    }

    .meta-item:nth-child(3) {
        border-right: 1px solid var(--color-beige);
    }

    .recipe-content-section {
        padding: 45px 0 65px;
    }

    .ingredients-card {
        padding: 22px 18px;
    }

    .instructions-heading h2 {
        font-size: 32px;
    }

    .instruction-step {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .cooking-tips {
        padding: 22px 18px;
    }

}
