/* GENERAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #fffaf7;
    color: #333;
    line-height: 1.6;
}
/* ===== HEADER BASE ===== */
/* Your header stays the same */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

/* New logo container */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Henies icon */
.logo-img {
    height: 45px;          /* adjust as needed */
    width: auto;
    object-fit: contain;
}

/* "Shany's by Henies" block */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .main-name {
    font-size: 35px;
    font-weight: bold;
    color: #d2691e; 
}

.logo-text .sub-name {
    font-size: 14px;
    opacity: 0.8;
    margin-top: -2px;
    color: #000;
    text-align: center;
}


/* Divider line */
.logo-divider {
    width: 1px;
    height: 48px;
    background-color: #000;
    margin: 0 8px;
}

/* Right text block */
.right-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-size: 16px;
    color: #000;
    font-weight: 500;
}

/* Center only the & line */
.right-text div:nth-child(2) {
    text-align: center;
}

/* ===== NAV LINKS ===== */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.navbar a:hover,
.navbar .active {
    color: #d2691e;
}

/* ===== HAMBURGER MENU ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== MOBILE VIEW ===== */
@media (max-width: 768px) {
    .navbar {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .navbar.open {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
    }

    .navbar ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
        margin: 0;
    }

    .menu-toggle {
        display: flex;
    }

    /* Make header and logo responsive on small screens */
    .header {
        padding: 10px 20px;
        align-items: center;
        gap: 8px;
    }

    .logo {
        gap: 8px;
        align-items: center;
    }

    .logo-img {
        height: 36px; /* slightly smaller on mobile */
        width: auto;
        max-width: 48px;
    }

    .logo-text .main-name {
        font-size: 22px;
    }

    .logo-text .sub-name {
        font-size: 12px;
    }

    /* hide decorative divider and right-text on narrow screens 
    .logo-divider,
    .right-text {
        display: none;
    } */

    /* allow nav to sit below header without overlapping */
    .header { position: relative; }
}

/* ===== HAMBURGER ACTIVE ANIMATION ===== */
.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* HOME PAGE */

/* HOME PAGE HERO SECTION */

.hero {
    position: relative;
    min-height: 60vh;
    border-radius: 20px;
    overflow: hidden;
    background: url('../../images/homepage.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoom 20s ease-in-out infinite alternate;
}

.hero::after {
    content: "";
    position: relative;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-text {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2em;
}

.btn {
    background-color: #d2691e;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s;
    display: inline-block;
    margin-top: 20px;
}

.btn:hover {
    background-color: #a0522d;
}

/* Subtle zoom animation */
.hero {
    animation: zoom 20s ease-in-out infinite alternate;
}

@keyframes zoom {
    0% { background-size: 100% auto; }
    100% { background-size: 110% auto; }
}


/* FEATURED PRODUCTS */
.featured {
    text-align: center;
    padding: 60px 20px;
}

.featured h2 {
    font-size: 2em;
    color: #d2691e;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 0 40px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
}

/* TESTIMONIALS */
.testimonials {
    background-color: #fff0e6;
    padding: 60px 20px;
    text-align: center;
}

.testimonials h2 {
    color: #d2691e;
    margin-bottom: 30px;
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.testimonial {
    background: white;
    border-radius: 15px;
    padding: 25px;
    width: 300px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 10px;
}

/* MENU PAGE */

/* MENU HERO */

.menu-hero {
    position: relative;
    min-height: 60vh;
    border-radius: 20px;
    overflow: hidden;
    background: url('../../images/products.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoom 20s ease-in-out infinite alternate;
}

.menu-hero::after {
    content: "";
    position: relative;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.menu-hero-text {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.menu-hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.menu-hero-text p {
    font-size: 1.2em;
}

/* Subtle zoom animation */
.menu-hero {
    animation: zoom 20s ease-in-out infinite alternate;
}

@keyframes zoom {
    0% { background-size: 100% auto; }
    100% { background-size: 110% auto; }
}

/* CATEGORIES */
.menu-categories {
    text-align: center;
    padding: 40px 20px 10px;
}

.menu-categories h2 {
    color: #d2691e;
    margin-bottom: 20px;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.btn-category {
    background-color: #fff;
    border: 2px solid #d2691e;
    color: #d2691e;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-category:hover {
    background-color: #d2691e;
    color: white;
}

/* MENU GRID */
.menu-items {
    padding: 60px 40px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.menu-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center; /* centers content */
}

.menu-card:hover {
    transform: translateY(-5px);
}

.menu-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
}

.menu-card h3 {
    color: #d2691e;
    margin-bottom: 8px;
}

.menu-card p {
    font-size: 0.95em;
    margin-bottom: 10px;
}


.price {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px; /* space between price and button */
}

/* 🔸 New button link wrapper */
.btn-link {
    text-decoration: none;
}

/* 🔸 “Order Now” button styling */
.btn-order {
    background-color: #ff8c42;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background 0.3s;
}

.btn-order:hover {
    background-color: #e6762c;
}

.btn-category.active {
    background-color: #ff8c42;
    color: white;
    border: none;
}

/* ---------- CUSTOM ORDERS PAGE ---------- */

/* ===== EXISTING STYLES ===== */

.order-hero {
    position: relative;
    min-height: 60vh;
    border-radius: 20px;
    overflow: hidden;
    background: url('../../images/custom-order.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoom 20s ease-in-out infinite alternate;
}

.order-hero::after {
    content: "";
    position: relative;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.order-hero-text {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.order-hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.order-hero-text p {
    font-size: 1.2em;
}

/* subtle zoom animation */
.order-hero {
    animation: zoom 20s ease-in-out infinite alternate;
}

@keyframes zoom {
    0% { background-size: 100% auto; }
    100% { background-size: 110% auto; }
}


/* FORM STYLING */
.order-form-section {
    max-width: 700px;
    margin: 60px auto;
    background: #fff8f0;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.order-form-section h2 {
    text-align: center;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    background: white;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #ff8c42;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 12px;
    background: #ff8c42;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #e67e22;
}

/* ===== UPDATED IMAGE PREVIEW SECTION ===== */

#imagePreviewContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.image-box {
    position: relative;
    width: 140px;
    height: 140px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: 0.3s;
}

.image-box:hover {
    border-color: #ff8c42;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.delete-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    transition: 0.3s;
}

.delete-btn:hover {
    background: red;
}

/* HOW IT WORKS */
.how-it-works {
    background: #fff3e0;
    padding: 50px 20px;
    text-align: center;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.step {
    background: white;
    padding: 20px;
    width: 260px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.step h3 {
    color: #ff8c42;
    margin-bottom: 10px;
}


/* CONTACT PAGE */

/* CONTACT PAGE HERO */

.contact-hero {
    position: relative;
    min-height: 60vh;
    border-radius: 20px;
    overflow: hidden;
    background: url('../../images/contact-us.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoom 20s ease-in-out infinite alternate;
}

.contact-hero::after {
    content: "";
    position: relative;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.contact-hero-text {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.contact-hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.contact-hero-text p {
    font-size: 1.2em;
}

/* Subtle zoom animation */
.contact-hero {
    animation: zoom 20s ease-in-out infinite alternate;
}

@keyframes zoom {
    0% { background-size: 100% auto; }
    100% { background-size: 110% auto; }
}

/* CONTACT SECTION */
.contact-section {
    padding: 80px 10%;
    display: flex;
    justify-content: center;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 15px;
    color: #b85c38;
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-item h4 {
    color: #333;
    margin-bottom: 5px;
}

/* FORM STYLING */
.contact-form form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

input:focus, textarea:focus {
    border-color: #b85c38;
}

.btn-submit {
    background-color: #b85c38;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-submit:hover {
    background-color: #944a2b;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 60px 5%;
    }
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    background-color: #fffaf7;
    color: #333;
}


/* ABOUT PAGE */

/* ABOUT PAGE HERO */
.about-hero {
    position: relative;
    min-height: 60vh;
    border-radius: 20px;
    overflow: hidden;
    background: url('../../images/about-us.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoom 20s ease-in-out infinite alternate;
}

.about-hero::after {
    content: "";
    position: relative;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.about-hero-text {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.about-hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.about-hero-text p {
    font-size: 1.2em;
}


/* Subtle zoom animation */
.about-hero {
    animation: zoom 20s ease-in-out infinite alternate;
}

@keyframes zoom {
    0% { background-size: 100% auto; }
    100% { background-size: 110% auto; }
}


/* ABOUT CONTENT */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    gap: 40px;
}

.about-text {
    flex: 1 1 400px;
}

.about-text h2 {
    color: #d2691e;
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    flex: 1 1 400px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* TEAM SECTION */
.team {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff0e6;
}

.team h2 {
    color: #d2691e;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 0 40px;
}

.team-member {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 20px;
}

.team-member img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
}

/* VALUES SECTION */
.values {
    text-align: center;
    padding: 60px 20px;
}

.values h2 {
    color: #d2691e;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 0 40px;
}

.value-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 20px;
}

.value-card h3 {
    color: #d2691e;
    margin-bottom: 10px;
}


/* HERO SECTION */
.product-hero {
    background: url('images/bakery-bg.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
    position: relative;
}

.product-hero::before {
    content: "";
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.product-hero-text {
    position: relative;
    z-index: 2;
}

.product-hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-hero-text p {
    font-size: 1.2rem;
}

/* PRODUCT DETAILS */
.product-details {
    padding: 50px 10%;
    display: flex;
    justify-content: center;
    background: #fffaf7;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.product-image img {
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-info {
    max-width: 500px;
}

.product-info h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #c04c23;
}

.product-info p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

/* ORDER FORM */
.order-form {
    background: #fff;
    padding: 50px 10%;
    margin-top: 20px;
}

.order-form h2 {
    text-align: center;
    color: #c04c23;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

#orderForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

label {
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
    border-color: #c04c23;
}

/* BUTTON */
.btn-submit {
    background: #c04c23;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #a63f1c;
}

/* FOOTER */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 30px 10px;
    margin-top: 50px;
}

.footer a {
    color: #f2cfa1;
    text-decoration: none;
    margin: 0 5px;
}

.footer a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-image img {
        width: 80%;
    }

    .navbar ul {
        flex-direction: column;
        gap: 10px;
    }

    .product-hero-text h1 {
        font-size: 2.2rem;
    }

    .product-hero-text p {
        font-size: 1rem;
    }
}
