/* ---------------- Root Variables ---------------- */
:root {
    --primary-color: tomato;
    --secondary-color: #ff5733;
    --bg-dark: rgba(0,0,0,0.95);
    --overlay: rgba(0,0,0,0.55);
    --text-dark: #333;
    --text-light: #555;
    --bg-light: #fff;
    --btn-radius: 30px;
}

/* ---------------- General Reset ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    padding-top: 10vh;
    color: var(--bg-light);
    background: linear-gradient(var(--overlay), var(--overlay)),
                url(./assets/Background/ChickenBackgroundImg1.webp) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    transition: background 0.5s ease-in-out;
}

/* ---------------- Navbar ---------------- */
.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--bg-dark);
    height: 10vh;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

.navbar-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    letter-spacing: 1px;
}

.navbar-header svg {
    fill: var(--primary-color);
}

#nav-toggle {
    display: none;
}

.navbar-header label {
    cursor: pointer;
}

/* ---------------- Sidebar ---------------- */
.sidebar {
    position: fixed;
    top: -100%;
    right: 0;
    width: 300px;
    height: 90vh;
    background-color: var(--bg-dark);
    padding-top: 1rem;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    transform: translateY(-100%);
}

#nav-toggle:checked ~ .sidebar {
    margin-top: 10vh;
    transform: translateY(100vh);
}

.sidebar-list {
    list-style: none;
}

.sidebar-nav-link {
    display: block;
    text-align: center;
    font-size: 20px;
    padding: 1rem 0;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.4s ease, color 0.4s ease;
}

.sidebar-nav-link:hover {
    background-color: rgba(255, 99, 71, 0.15);
    color: var(--primary-color);
}

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: var(--btn-radius);
    text-decoration: none;
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255,87,51,0.4);
}

/* ---------------- Home Banner ---------------- */
.home-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 90vh;
    padding: 2rem;
}

.home-banner {
    background: var(--overlay);
    padding: 3rem 2rem;
    border-radius: 12px;
    max-width: 750px;
    color: var(--bg-light);
    box-shadow: 0px 6px 20px rgba(0,0,0,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-banner h1 {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: bold;
}

.home-banner p {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #f0f0f0;
}

/* ---------------- Features Section ---------------- */
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    /* background-color: var(--bg-light); */
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
}

.features-list {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.features-list:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.3);
}

.features-icon svg {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    fill: #333;
    transition: fill 0.3s ease, transform 0.3s ease;
}

.features-list:hover .features-icon svg {
    fill: var(--primary-color);
    transform: translateY(-5px);
}

.features-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.features-list:hover .features-title {
    color: var(--primary-color);
}

.features-text {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-light);
    text-align: justify;
}

/* ---------------- About Us Section ---------------- */
.aboutus-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    padding: 5rem 2rem;
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    flex-wrap: wrap;
}

.aboutus-image {
    flex: 1 1 350px;
    display: flex;
    justify-content: center;
}

.aboutus-image img {
    width: 100%;
    max-width: 600px;
    height: 350px; /* Fixed height */
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.4s ease;
}

.aboutus-image img:hover {
    transform: scale(1.05);
}

.aboutus-content {
    flex: 1 1 400px;
    max-width: 600px;
    text-align: left;
}

.aboutus-content h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.aboutus-content h2 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-bottom: 1rem;
}

.aboutus-content p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #444;
    text-align: justify;
}

/* ---------------- Recipe Section ---------------- */
.recipe-container {
    padding: 5rem 2rem;
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    text-align: center;
}

.recipe-container .title-container span {
    display: block;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: left;
}

.rtitle1 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.rtitle2 {
    font-size: 1.6rem;
    color: black;
}

.recipe-container .description-container p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 700px;
    margin: 1rem auto 2rem auto;
    text-align: justify;
}

.recipe-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.recipe-item {
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0px 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.recipe-item:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.2);
}

.recipe-item:hover h3 {
    color: var(--primary-color);
}

.recipe-item img {
    width: 100%;
    height: 200px; /* Fixed height */
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-item h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.recipe-item p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-align: justify;
}

.recipe-item .price {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* ---------------- Service Section ---------------- */
.service-container {
    padding: 2rem 2rem;
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    text-align: center;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.service-item {
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 320px;
    width: 100%;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.15);
}

.service-item:hover h3 {
    color: var(--primary-color);
 }

.service-item img {
    width: 100%;
    height: 220px; /* Fixed height */
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-item h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: left;
}
.service-item h1 span {
    color: black;
}
.service-item h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-light);
    text-align: justify;
    margin-bottom: 1rem;
}

/* Service Button */
.service-button {
    display: inline-block;
    margin-top: 1rem;
    background: var(--primary-color);
    color: #fff;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    border-radius: var(--btn-radius);
    text-decoration: none;
    transition: 0.3s ease;
}

.service-button:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* ---------------- Contact Section ---------------- */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 5rem 2rem;
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
}

.contact-left-list, 
.contact-right-list {
    flex: 1 1 300px;
}

.contact-left-list h1, 
.contact-right-list h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.heading-icon-container {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.heading-icon svg {
    fill: var(--primary-color);
    margin-right: 0.5rem;
}

.address-text p, 
.email-text p, 
.phone-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.contact-right-list form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-right-list input, 
.contact-right-list textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    resize: none;
}

.contact-button {
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: var(--btn-radius);
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-button:hover {
    background: var(--secondary-color);
}


/* ---------------- Footer Section ---------------- */
.footer-container {
    background-color: var(--bg-dark);
    color: var(--bg-light);
    padding: 4rem 2rem 2rem 2rem;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-top-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Left: Company Info */
.footer-company-info {
    flex: 1 1 300px;
}

.footer-company-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-company-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #ddd;
}

.footer-button {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
    border-radius: var(--btn-radius);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-button:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Middle: Quick Links */
.footer-quick-links {
    flex: 1 1 200px;
}

.footer-quick-links h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* Right: Social & Contact */
.footer-social-contact {
    flex: 1 1 250px;
}

.footer-social-contact h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-social-contact p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    color: #ccc;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-icons li {
    list-style: none;

}
.social-icons li a img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons li a img:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

/* Footer bottom */
.footer-bottom-box {
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

/* ---------------- Responsive Footer ---------------- */
@media screen and (max-width: 1024px) {
    .footer-top-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-company-info, 
    .footer-quick-links, 
    .footer-social-contact {
        align-items: center;
        text-align: center;
        flex: none;
    }

    .social-icons {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .footer-company-info h3 {
        font-size: 1.5rem;
    }

    .footer-company-info p,
    .footer-social-contact p {
        font-size: 0.9rem;
    }

    .footer-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-link {
        font-size: 0.85rem;
    }

    .social-icons li a img {
        width: 25px;
        height: 25px;
    }
}



/* ---------------- Responsive ---------------- */
@media screen and (max-width: 1160px) {
    .features-container {
        grid-template-columns: auto auto;
    }
}

@media screen and (max-width: 1024px) {
    .features-container, .recipe-list {
        gap: 1.5rem;
        padding: 3rem 1rem;
    }
}

@media screen and (max-width: 768px) {
    .navbar-header h3 {
        font-size: 1rem;
    }

    .sidebar {
        width: 100%;
        font-size: 22px;
    }

    .sidebar-nav-link {
        padding: 1.5rem 0;
    }

    .aboutus-container {
        flex-direction: column;
    }

    .aboutus-image img, .aboutus-content {
        max-width: 100%;
        height: auto;
    }

    .features-container {
        grid-template-columns: auto;
    }

    .recipe-container {
        padding: 1rem 0;
    }

    .recipe-item {
        max-width: 100%;
    } 

    .recipe-list {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .recipe-button {
        margin-bottom: 2rem;
    }

    .service-container {
        padding: 2rem 1rem;
    }

    .service-list {
        grid-template-columns: 1fr;
    }
    .service-item { 
        max-width: 100%;
     }

    .contact-container {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .home-banner h1 { 
        font-size: 1.6rem; 
    }
    .home-banner p { 
        font-size: 0.9rem; 
    }

    .rtitle1 { 
        font-size: 1.2rem; 
    }
    .rtitle2 { 
        font-size: 1.6rem; 
    }

    .recipe-container .description-container p { 
        font-size: 0.9rem; 
    }
    .recipe-item h3 { 
        font-size: 1.2rem; 
    }
    .recipe-item p { 
        font-size: 0.9rem; 
    }

    .aboutus-content h1 { 
        font-size: 1.5rem; 
    }
    .aboutus-content h2 { 
        font-size: 1.2rem; 
    }
    .aboutus-content p { 
        font-size: 0.9rem; 
    }
}
