/* Reset and global styles */

html {
    scroll-behavior: smooth;
}

img {
    width: 20rem;
    height: 20rem;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

/* Reusable button */
.btn {
    background-color: #000;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}
.btn:hover {
    background-color: #444;
}

/* Scroll animation class */
.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 50px;
    transition: all 0.3s ease-in-out;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
    color: #000;
    line-height: 1.6;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
}

/* ── INFO PANEL ── */
.info-panel {
    background-color: #1A0F05;
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.info-panel a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* ── HEADING PANEL ── */
.heading-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 50px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: fixed;
    top: 33px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease-in-out;
}

/* Logo */
.logo img {
    height: 60px;
    width: 75px;
}

/* Hamburger (for mobile) */
.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* ── NAV BAR ── */
.nav-bar ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 40px;
}

.nav-bar ul li a {
    text-decoration: none;
    color: #000;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}

/* Underline hover effect */
.nav-bar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: #FF8C00;
    transition: width 0.3s ease;
}

.nav-bar ul li a:hover {
    color: #FF8C00;
}

.nav-bar ul li a:hover::after {
    width: 100%;
}

.nav-bar ul li p:hover {
    cursor: pointer;
    color: #FF8C00;
}

/* ── DROPDOWN ── */
.dropdown {
    position: relative;
}

.dropdown p {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 28px;
    left: 0;
    background-color: #fff;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.12);
    min-width: 150px;
    z-index: 1000;
    border-radius: 6px;
    overflow: hidden;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
    color: #FF8C00;
}

/* ── ORDER / CART ICONS ── (fixed typo: oder → order) */
.order-icons {
    display: flex;
    align-items: center;
    position: relative;
}

.cart-container {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    cursor: pointer;
}

.cart-container img {
    height: 34px;
    width: 34px;
    transition: opacity 0.2s;
}

.cart-container img:hover {
    opacity: 0.65;
}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: red;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
    display: none;
}

/* Cart Popup */
.cart-popup {
    position: absolute;
    top: 50px;
    right: 0;
    width: 250px;
    background: white;
    border: 1px solid #ccc;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
}

.cart-popup h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
}

.cart-popup ul {
    list-style: none;
    padding-left: 0;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.cart-popup li {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

/* ── SECTION ── */
section {
    background-color: #e4ded5;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.fd-heading h2 {
    font-size: 60px;
    font-weight: bold;
    font-family: "Playfair", serif;
    font-style: normal;
    margin-bottom: 50px;
    color: #000;
    letter-spacing: 2px;
    text-align: center;
    padding-top: 150px;
}

.fd-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.fd-item {
    text-align: center;
    transition: transform 0.3s ease;
    border-radius: 10px;
    overflow-y: auto;
}

.fd-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.fd-item video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.fd-item h4 {
    font-size: 16px;
    font-weight: 500;
    font-family: "Inter", sans-serif;
    margin-top: 15px;
    color: #111;
    line-height: 1.4;
}

.fd-item p {
    font-size: 15px;
    font-weight: 500;
    font-family: "Inter", sans-serif;
    color: #000;
    margin-top: 8px;
}

.fd-item:hover {
    transform: translateY(-5px);
}

.fd-item label {
    margin: 5px 0;
}

.fd-item-options {
    display: flex;
    gap: 5px;
    align-items: center;
    margin: 10px 0 10px 25px;
}

.fd-item input {
    padding: 5px;
    width: 60px;
}

.fd-item button {
    background: black;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 10px;
}

.checkout-btn {
    text-align: center;
    margin-bottom: 60px;
}

.checkout-btn button {
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 10px;
    background-color: #680ebd;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* ── SECOND DISPLAY ── */
.second-display {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.cover-image {
    width: 50vw;
    height: 100vh;
}

.cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-content {
    width: 50vw;
    height: 100vh;
    background-color: #1f0f0f;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
}

.sd-content h3 {
    font-size: 26px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    margin-bottom: 20px;
    text-transform: lowercase;
}

.sd-content p {
    font-size: 16px;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 30px;
    max-width: 400px;
}

.sd-content button {
    padding: 12px 30px;
    font-size: 15px;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.sd-content button:hover {
    background-color: #fff;
    color: #1f0f0f;
}

/* ── FOOTER ── */
footer {
    background-color: #222;
    color: white;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem 2rem;
}

.copyright {
    font-size: 0.9rem;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    color: #ccc;
}

footer .contact-icons {
    display: flex;
    gap: 1rem;
}

footer .contact-icons img {
    width: 25px;
    height: 25px;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {
    .heading-panel {
        padding: 10px 25px;
    }

    .logo img {
        height: 50px;
        width: 65px;
    }

    .hamburger {
        display: block;
        margin-left: auto;
        font-size: 35px;
    }

    .nav-bar {
        display: none;
        position: absolute;
        top: 70px;
        right: 0px;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 15px;
    }

    .nav-bar.active {
        display: block;
    }

    .nav-bar ul {
        flex-direction: column;
        gap: 35px;
        margin-left: 10px;
    }

    /* Disable underline animation on mobile */
    .nav-bar ul li a::after {
        display: none;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: transparent;
        padding-left: 10px;
    }

    .dropdown-content a {
        padding: 8px 0;
        font-size: 14px;
    }

    .cart-popup {
        top: 100px;
        right: 20px;
        width: 90%;
    }

    .fd-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .fd-item {
        height: auto;
        padding-bottom: 10px;
    }

    .fd-heading h2 {
        font-size: 36px;
        padding-top: 120px;
    }

    .fd-item-options {
        margin-left: 40px;
    }

    .second-display {
        flex-direction: column;
        height: auto;
    }

    .cover-image,
    .sd-content {
        width: 100vw;
        height: auto;
    }

    .cover-image img {
        height: auto;
    }

    .sd-content {
        padding: 40px 20px;
        text-align: center;
        align-items: center;
    }

    .sd-content p {
        max-width: 100%;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .fd-heading h2 {
        font-size: 28px;
    }

    .btn,
    .checkout-btn button,
    .sd-content button {
        font-size: 14px;
        padding: 10px 20px;
    }

    .cart-popup {
        top: 90px;
    }
}