/* ================================================= */
/* ================= GOOGLE FONT SYSTEM ============ */
/* ================================================= */

/* :root{
    --black:#111111;
    --white:#ffffff;
    --light:#f7f7f7;
    --gray:#777777;
    --border:#e9e9e9;

} */


/* ================================================= */
/* ================= RESET ========================= */
/* ================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* ================================================= */
/* ================= GLOBAL STYLING ================ */
/* ================================================= */

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    display: block;
}

section {
    padding: 50px 7%;
}


/* ================================================= */
/* ================= TOP BAR ======================= */
/* ================================================= */

.top-bar {
    width: 100%;
    background: #111;
    color: #fff;
    text-align: center;
    padding: 12px 10px;
    font-size: 30px;
    letter-spacing: 2px;
}


/* ================================================= */
/* ================= NAVBAR ======================== */
/* ================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 7%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: 0.4s ease;
}


/* ================= LOGO ================= */
.logo a {
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    letter-spacing: 4px;
    font-weight: 600;
}


/* ================= MENU ================= */
.menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.menu li {
    position: relative;
}

.menu li a {
    font-size: 18px;
    letter-spacing: 1px;
    transition: 0.3s ease;
}


/* luxury underline effect */

.menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0%;
    height: 1px;
    background: #111;
    transition: 0.4s ease;
}

.menu li a:hover::after {
    width: 100%;
}


/* ================================================= */
/* ================= DROPDOWN ====================== */
/* ================================================= */

.dropdown-menu {
    position: absolute;
    top: 35px;
    left: 0;
    width: 200px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.85);
    padding: 10px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 0.4s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 12px 10px;
}

.dropdown-menu li a {
    font-size: 13px;
    color: var(--gray);
    transition: 0.3s ease;
}

.dropdown-menu li a:hover {
    color: var(--black);
    padding-left: 6px;
}


/* ================================================= */
/* ================= NAV ICONS ===================== */
/* ================================================= */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-icons i {
    font-size: 25px;
    cursor: pointer;
    transition: 0.3s ease;
}

.nav-icons i:hover {
    transform: translateY(-6px);
}


/* ================= SEARCH ================= */

.search-box {
    position: relative;
}

#searchInput {
    position: absolute;
    top: 35px;
    right: 0;
    width: 0px;
    padding: 12px;
    border: none;
    outline: none;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transition: 0.4s ease;
}

.search-box.active #searchInput {
    width: 250px;
    opacity: 1;
}


/* ================= LOGIN ================= */

.login-btn {
    font-size: 20px;
}


/* ================= CART ================= */

.cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ================= HAMBURGER ================= */

.hamburger {
    display: none;
}

/* ================================================= */
/* ================= HERO SECTION ================== */
/* ================================================= */

.hero {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.45)), url("https://images.openai.com/static-rsc-4/xjPlulJcnpgIPCoFM1Qw9x8mU30QPsKl7j--QXVFa9YHtKCyld904JD-GXYKpKsLgPCsH-lZzuhWY_CKaVkAXlH78kC8PcnsuazG2eF_oLG5kRuI9Ur9o2e8KvjL8Kvl0jbSq9EnCvpPJlicnvRZ12bGe01sMg5mCEiqWZRCUU6JZM8zZGQyJEJ7Ubj3kuZE?purpose=fullsize") center/cover no-repeat;
}


/* dark overlay */
.overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.65));
}


/* ================= HERO CONTENT ================= */
.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 850px;
    padding: 20px;
    animation: heroFade 1.2s ease;
}

/* subtitle */
.hero-subtitle {
    font-size: 13px;
    letter-spacing: 5px;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* title */
.hero-content h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 90px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 25px;
    letter-spacing: 3px;
}


/* description */

.hero-text {
    max-width: 650px;
    margin: auto;
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}


/* ================= HERO BUTTONS ================= */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}


/* primary button */

.shop-btn {
    padding: 16px 40px;
    background: #fff;
    color: #111;
    font-size: 13px;
    border-radius: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.4s ease;
}

.shop-btn:hover {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

/* secondary button */
.about-btn {
    padding: 16px 40px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    font-size: 13px;
    border-radius: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.4s ease;
}

.about-btn:hover {
    background: #fff;
    color: #111;
}

/* ================================================= */
/* ================= SECTION TITLE (FEATURED CATEGORIES) ================= */
/* ================================================= */
.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-title p {
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--gray);
    margin-bottom: 15px;
}

.section-title h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 55px;
    font-weight: 600;
}


/* ================================================= */
/* ================= CATEGORIES ==================== */
/* ================================================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}


/* card */
.category-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
    background:
        url("https://images.openai.com/static-rsc-4/TbLbr2j-eL7CVBjps2ggatDwNIN67nRCQ8fWFnsZPi25SpsBTvxgsfRvUWUi8qXvZmcWI27RB1LmzrK6CzZ3gVDSGE3UKGmScZ0Dp3f7BTx17TcFF_BwEvXjARrPCdsfjF4AIijsCVnKSK9em3GJliqiq1gpgmyr4NwumqxLBcwpzMvIRXe4rGMewcSaRxbj?purpose=fullsize") center/cover no-repeat;

    transition: 0.5s ease;
}


/* second card different image */
.category-card:nth-child(2) {
    background:
        url("https://images.unsplash.com/photo-1496747611176-843222e1e57c?q=80&w=1973&auto=format&fit=crop") center/cover no-repeat;
}

/* overlay */
.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    transition: 0.4s ease;
}

/* hover effect */
.category-card:hover {
    transform: scale(1.02);
}

.category-card:hover .category-overlay {
    background: rgba(0, 0, 0, 0.5);
}


/* content */
.category-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #fff;
    z-index: 2;
}

.category-content h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 50px;
    margin-bottom: 12px;
}

.category-content a {
    font-size: 13px;
    letter-spacing: 2px;
    border-bottom: 1px solid #fff;
    padding-bottom: 4px;
}


/* ================================================= */
/* ================= PRODUCTS ====================== */
/* ================================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}


/* product card */
.product-card {
    background: #fff;
    transition: 0.4s ease;
}

/* image area */
.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    transition: 0.4s ease;
    border-radius: 15px;
}

.product-image img {
    height: 420px;
    transition: 0.4s ease;
}


/* zoom hover */
.product-card:hover .product-image {
    transform: scale(1.02);
}



/* info */

.product-info h3 {

    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 500;
}

.price {
    color: var(--gray);
    margin-bottom: 20px;
}


/* button */
.product-info button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 15px;
    background: #111;
    color: #fff;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s ease;
}

.product-info button:hover {
    background: #222;
}


/* ================================================= */
/* ================= PAYMENT SECTION =============== */
/* ================================================= */

.payment-section {
    background: var(--light);
    text-align: center;
}

.payment-card img {
    width: 100px;
    object-fit: contain;
}

.payment-content p {
    letter-spacing: 4px;
    color: var(--gray);
    margin-bottom: 15px;
}

.payment-content h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 55px;
    margin-bottom: 20px;
}

.payment-content span {
    color: var(--gray);
    font-size: 15px;
}


/* payment cards */
.payment-methods {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 0 20px;
}

.payment-card {
    width: 220px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--border);
    font-size: 18px;
    transition: 0.4s ease;
}

.payment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

/* ================================================= */
/* ================= SOCIAL SECTION ================ */
/* ================================================= */
/* hover effect */
.social-card:hover {
    transform: translateY(-8px);
}

.social-icons a i {
    font-size: 40px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    margin: 20px 30px;
}

.social-icons a:hover {
    background: #fff;
    color: #111;
    transform: translateY(-5px);
}

/* ================================================= */
/* ================= FOOTER ======================== */
/* ================================================= */
.footer {
    background: #111;
    color: #fff;
    padding-top: 50px;
}

/* footer layout */
.footer-container {
    display: grid;
    grid-template-columns:
        1.5fr 1fr 1fr 1fr;
    gap: 60px;
    padding: 0 7% 70px;
}

/* brand column */
.footer-column h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 38px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.9;
    max-width: 320px;
}

/* headings */
.footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* footer links */
.footer-column a {
    display: block;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    /* transition: 0.3s ease; */
}

.footer-column a:hover {
    color: #fff;
    transform: translateY(-8px);
}


/* ================================================= */
/* ================= SOCIAL ICONS ================== */
/* ================================================= */
.ftsocial-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 24px;
    flex-wrap: wrap;
}

/* Make sure icons have proper spacing */
.ftsocial-icons .so-icons,
.ftsocial-icons .so_icons {
    padding: 8px;
    border-radius: 8px;
    transition: 0.3s;
}

.ftsocial-icons a:hover {
    background: rgba(255,255,255,0.1);
}


/* ================================================= */
/* ================= FOOTER BOTTOM ================= */
/* ================================================= */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 7%;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    letter-spacing: 1px;
}


/* ================================================= */
/* ================= ANIMATIONS ==================== */
/* ================================================= */

@keyframes heroFade {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ================================================= */
/* ================= SCROLLBAR ===================== */
/* ================================================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #111;
}


/* ================================================= */
/* ================= RESPONSIVE DESIGN ============= */
/* ================================================= */

@media(max-width:1200px) {

    .hero-content h1 {
        font-size: 75px;
    }

    .section-title h2 {
        font-size: 48px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* ================================================= */
/* ================= TABLET ======================== */
/* ================================================= */

@media(max-width:900px) {

    section {
        padding: 90px 5%;
    }

    /* ================= NAVBAR ================= */

    .navbar {
        padding: 22px 5%;
    }

    .hamburger {
        display: block;
        font-size: 24px;
        cursor: pointer;
    }

    .nav-links {

        position: fixed;

        top: 90px;
        left: -100%;

        width: 100%;

        background: #fff;

        padding: 40px 0;

        transition: 0.5s ease;

        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        left: 0;
    }

    .menu {

        flex-direction: column;

        align-items: center;

        gap: 30px;
    }

    /* dropdown mobile */

    .dropdown-toggle {
        cursor: pointer;
        touch-action: manipulation;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 10px 0;
    }

    .dropdown-menu {

        position: static;

        width: 100%;

        opacity: 1;
        visibility: visible;

        transform: none;

        display: none;

        background: #f8f8f8;

        box-shadow: none;

        margin-top: 15px;
    }

    .dropdown.active .dropdown-menu,
    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown:hover>.dropdown-toggle,
    .dropdown.active>.dropdown-toggle {
        opacity: 0.9;
    }



    /* ================= HERO ================= */

    .hero {
        height: 80vh;
    }

    .hero-content h1 {
        font-size: 60px;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }


    /* ================= CATEGORIES ================= */

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 420px;
    }


    /* ================= PRODUCTS ================= */

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-image {
        height: 300px;
    }

    /* ================= PAYMENTS ================= */

    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }


    /* ================= FOOTER ================= */

    .footer-container {

        grid-template-columns: 1fr 1fr;

        gap: 50px;
    }

}



/* ================================================= */
/* ================= MOBILE ======================== */
/* ================================================= */

@media(max-width:700px) {

    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Navbar */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 20px 18px;
        box-sizing: border-box;
    }

    .navbar .logo {
        font-size: 22px;
        margin: 0;
        padding: 0;
        letter-spacing: 2px;
    }

    .nav-icons {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 0;
    }
    
    .nav-icons i {
        font-size: 18px;
    }

    .nav-item {
        position: relative;
    }

    /* hide dropdown by default on mobile */
    .dropdown {
        position: relative;
    }

    /* dropdown hidden by default */
    .dropdown-menu {
        display: none;
        position: static;
        top: 100%;
        left: 0;
        width: 200px;
        background: #fff;
        z-index: 9999;
    }

    /* active state */
    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown.active>.dropdown-toggle {
        opacity: 0.9;
    }

    .logo a {
        font-size: 28px;
    }

    /* hero */
    .hero {
        min-height: 60vh;
        height: auto;
        padding: 0 5%;
        margin: 30px 0;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: nowrap;
    }

    .shop-btn, .about-btn {
        /*width: auto;*/
        /*min-width: 150px;*/
        white-space: nowrap;
    }


    .hero-content h1 {
        font-size: 40px;
        line-height: 0.95;
    }

    .hero-subtitle {
        padding-top: 30px;
        font-size: 11px;
        letter-spacing: 3px;
        margin-bottom: 16px;
    }

    .hero-text {
        font-size: 13px;
        line-height: 1.6;
    }

    .section-title h2 {
        font-size: 34px;
    }
    
    
    .section-title {
        margin-bottom: 25px;
    }

    .section-title p {
        margin-bottom: 8px;
    }

    .categories {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .category-card {
        height: 300px;
        width: 100%;
    }

    .category-content {
        left: 18px;
        bottom: 18px;
    }

    .category-content h3 {
        font-size: 34px;
    }

    /* featued product */
    .products {
        padding: 30px 5%;
    }

    .product-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 10px;

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .product-grid::-webkit-scrollbar {
        display: none;
    }

    .product-card {
        flex: 0 0 220px;
        scroll-snap-align: start;
    }

    .product-image {
        height: auto;
    }

    /* payment section */
    .payment-section {
        padding: 40px 15px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .payment-card {
        width: 100%;
        padding: 20px;
    }

    .payment-content h2 {
        font-size: 36px;
    }

    /* media section */
    .social-section {
        padding: 30px 15px;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 20px;
    }

    .social-icons a {
        margin: 7px 15px;
        width: auto;
        height: auto;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        padding: 0 5% 0px;
    } 

    .ftsocial-icons {
        padding: 0;
        gap: 16px;
        justify-content: flex-start;   /* Prevents edge crowding */
    }

    .footer-column {
        padding-right: 10px;           /* Extra breathing room on right */
    }
    
    .footer-column h4 {
        white-space: nowrap;
        margin-bottom: 15px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .social-card {
        height: 320px;
    }

   /* make search box container control positioning */
    .search-box {
        position: relative;
    }

    /* input default (hidden state) */
    #searchInput {
        position: absolute;
        top: 45px;
        right: 0;
        left: auto;
        width: 0;
        max-width: 0;
        padding: 0;
        opacity: 0;
        overflow: hidden;
        transition: 0.4s ease;
    }

    /* active state */
    .search-box.active #searchInput {
        width: min(80vw, 260px);
        /* prevents overflow */
        max-width: 210px;
        opacity: 1;
        padding: 12px;
        right: 0;
        left: auto;
        box-sizing: border-box;
        z-index: 9999;
    }


}
