
/* =====================================================
   PREMIUM DECANTS
   LUXURY E-COMMERCE HOMEPAGE
   THEME: RED / BLACK / WHITE
===================================================== */


/* ===================== 01. VARIABLES ===================== */

:root {
    --red: #c8102e;
    --dark-red: #850d20;
    --light-red: #ed2948;

    --black: #090909;
    --soft-black: #111111;
    --dark: #191919;

    --white: #ffffff;
    --off-white: #f7f7f7;

    --gray: #999999;
    --light-gray: #dddddd;

    --heading-font: Georgia, "Times New Roman", serif;
    --body-font: Arial, Helvetica, sans-serif;

    --transition: 0.3s ease;
}


/* ===================== 02. RESET ===================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    width: 100%;
    min-height: 100vh;

    background: var(--white);
    color: var(--black);

    font-family: var(--body-font);

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: var(--red);
    color: var(--white);
}


/* ===================== 03. ANNOUNCEMENT ===================== */

.announcement {
    width: 100%;
    min-height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 9px 15px;

    background: linear-gradient(
        90deg,
        #a90020,
        var(--red),
        #a90020
    );

    color: var(--white);

    text-align: center;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 4px;
}


/* ===================== 04. HEADER ===================== */

.header {
    width: 100%;
    min-height: 88px;

    padding: 14px 7%;

    background: var(--black);
    color: var(--white);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    border-bottom: 1px solid #292929;

    position: relative;
    z-index: 100;
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    color: var(--white);

    font-family: var(--heading-font);
    font-size: 23px;
    font-weight: bold;
    letter-spacing: 2px;

    white-space: nowrap;

    transition: opacity var(--transition);
}

.brand:hover {
    opacity: 0.85;
}


/* LOGO IMAGE */

.brand-mark {
    width: 52px;
    height: 48px;

    object-fit: contain;

    background: transparent;
}


/* LOGO TEXT */

.brand-wordmark {
    color: var(--white);
    font-family: var(--heading-font);
}

.brand-wordmark b {
    color: var(--red);
}


/* NAVIGATION */

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation a {
    position: relative;

    color: #cccccc;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;

    padding: 10px 0;

    transition: color var(--transition);
}

.navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--red);

    transition: width var(--transition);
}

.navigation a:hover,
.navigation a.active {
    color: var(--white);
}

.navigation a:hover::after,
.navigation a.active::after {
    width: 100%;
}


/* HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-link {
    color: var(--white);

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;

    transition: color var(--transition);
}

.login-link:hover {
    color: var(--light-red);
}

.cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    background: var(--red);
    color: var(--white);

    padding: 13px 18px;

    border-radius: 4px;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;

    transition: all var(--transition);
}

.cart-link:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

.cart-icon {
    font-size: 14px;
}


/* ===================== 05. HERO SECTION ===================== */

.hero {
    width: 100%;
    min-height: 570px;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 25px;

    padding: 55px 8%;

    position: relative;

    overflow: hidden;

    color: var(--white);

    background:
        radial-gradient(
            ellipse at 76% 48%,
            rgba(150, 0, 34, 0.42),
            transparent 45%
        ),
        linear-gradient(
            110deg,
            #070707,
            #17080c,
            #090909
        );
}


/* HERO CONTENT */

.hero-content {
    max-width: 620px;

    position: relative;
    z-index: 5;
}


/* EYEBROW */

.eyebrow {
    color: var(--red);

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 4px;
    text-transform: uppercase;
}


/* HERO HEADING */

.hero h1 {
    max-width: 650px;

    font-family: var(--heading-font);

    font-size: clamp(43px, 5vw, 68px);

    font-weight: bold;

    line-height: 1.12;

    letter-spacing: -1px;

    margin: 27px 0;

    color: var(--white);
}

.hero h1 span {
    color: var(--red);
}


/* HERO DESCRIPTION */

.hero-description {
    max-width: 490px;

    color: #c3c3c3;

    font-size: 13px;

    line-height: 1.9;
}


/* HERO BUTTON AREA */

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 25px;

    margin-top: 32px;
}


/* PRIMARY BUTTON */

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--red);
    color: var(--white);

    padding: 16px 25px;

    border: 1px solid var(--red);
    border-radius: 4px;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.5px;

    transition: all var(--transition);
}

.primary-btn:hover {
    background: var(--dark-red);
    border-color: var(--dark-red);

    transform: translateY(-3px);

    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.25);
}


/* SECONDARY BUTTON */

.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--white);

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.3px;

    transition: all var(--transition);
}

.secondary-btn:hover {
    color: var(--light-red);
    transform: translateX(5px);
}


/* HERO TAGLINE */

.hero-note {
    margin-top: 48px;

    color: #aaaaaa;

    font-size: 9px;
    letter-spacing: 2px;

    line-height: 1.8;
}

.hero-note span {
    color: var(--red);
    font-size: 14px;
    margin-right: 8px;
}


/* ===================== 06. HERO IMAGE ===================== */

.hero-visual {
    min-width: 0;
    min-height: 430px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    isolation: isolate;
}


/* BACKGROUND GLOW */

.visual-glow {
    position: absolute;

    width: 350px;
    height: 350px;

    background: var(--red);

    opacity: 0.20;

    filter: blur(110px);

    border-radius: 50%;

    z-index: -1;
}


/* REAL PERFUME IMAGE */

.hero-perfume-image {
    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    max-width: 650px;

    height: 430px;

    object-fit: contain;
    object-position: center;

    filter: drop-shadow(
        0 25px 35px rgba(0, 0, 0, 0.60)
    );

    transition: transform 0.5s ease;
}

.hero-perfume-image:hover {
    transform: scale(1.035);
}


/* HERO CAPTION */

.visual-caption {
    position: absolute;

    bottom: 12px;

    width: 100%;

    text-align: center;

    color: #cccccc;

    font-size: 9px;
    letter-spacing: 4px;

    z-index: 3;
}


/* ===================== 07. FEATURES ===================== */

.features {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    align-items: center;

    gap: 25px;

    padding: 30px 8%;

    background: var(--white);

    border-bottom: 1px solid #e7e7e7;
}


/* FEATURE ITEM */

.feature {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    min-width: 0;
}


/* FEATURE ICON */

.feature-icon {
    color: var(--red);

    font-size: 30px;
}


/* FEATURE TEXT */

.feature-text h4 {
    color: var(--black);

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;

    margin-bottom: 7px;
}

.feature-text p {
    color: var(--gray);
    font-size: 11px;
}


/* ===================== 08. COLLECTIONS ===================== */

.collections {
    width: 100%;

    padding: 85px 9%;

    background: var(--white);
}


/* SECTION HEADING */

.section-heading {
    text-align: center;
    margin-bottom: 42px;
}

.section-heading h2 {
    font-family: var(--heading-font);

    font-size: clamp(28px, 4vw, 40px);

    font-weight: bold;

    margin: 16px 0;

    color: var(--black);
}

.section-heading h2 span {
    color: var(--red);
}

.section-heading > p {
    color: #777777;

    font-size: 13px;

    line-height: 1.8;
}


/* COLLECTION GRID */

.collection-grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 24px;
}


/* COLLECTION CARD */

.collection-card {
    width: 100%;
    min-width: 0;
    min-height: 300px;

    display: flex;
    align-items: center;

    padding: 35px;

    position: relative;

    overflow: hidden;

    background: var(--soft-black);

    border-radius: 8px;

    isolation: isolate;

    transition: all 0.4s ease;
}

.collection-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px #00000020;
}


/* COLLECTION IMAGE */

.collection-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -2;

    transition: transform 0.6s ease;
}

.collection-card:hover .collection-image {
    transform: scale(1.07);
}


/* COLLECTION OVERLAY */

.collection-overlay {
    position: absolute;
    inset: 0;

    z-index: -1;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.93) 0%,
        rgba(0, 0, 0, 0.70) 43%,
        rgba(0, 0, 0, 0.10) 100%
    );
}


/* COLLECTION TEXT */

.collection-content {
    position: relative;
    z-index: 2;

    max-width: 75%;

    color: var(--white);
}


/* COLLECTION LABEL */

.collection-label {
    display: inline-block;

    color: #f18b9a;

    font-size: 9px;
    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 14px;
}


/* FOR HIM / FOR HER */

.collection-content h3 {
    font-family: var(--heading-font);

    font-size: clamp(28px, 3vw, 40px);

    font-weight: bold;

    color: var(--white);

    margin-bottom: 12px;

    line-height: 1.2;
}

.collection-content h3 span {
    color: var(--light-red);
}


/* COLLECTION DESCRIPTION */

.collection-content > p {
    color: #cccccc;

    font-size: 12px;

    margin-bottom: 22px;
}


/* COLLECTION LINK */

.collection-link {
    display: inline-block;

    color: var(--white);

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 2px;

    border-bottom: 2px solid var(--red);

    padding-bottom: 8px;

    transition: all var(--transition);
}

.collection-link span {
    color: var(--light-red);
    margin-left: 4px;
}

.collection-card:hover .collection-link {
    color: var(--light-red);
    padding-left: 4px;
}


/* ===================== 09. FEATURED ===================== */

.featured {
    width: 100%;

    padding: 85px 9%;

    background: var(--off-white);
}


/* FEATURED MESSAGE */

.featured-message {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 55px 25px;

    background: linear-gradient(
        110deg,
        #0a0a0a,
        #251015,
        #0a0a0a
    );

    color: var(--white);

    text-align: center;

    border-bottom: 4px solid var(--red);

    border-radius: 5px;

    position: relative;

    overflow: hidden;
}

.featured-message::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    background: var(--red);
    opacity: 0.12;

    filter: blur(80px);

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);
}


/* FEATURED LOGO */

.featured-logo {
    position: relative;

    width: 75px;
    height: 75px;

    object-fit: contain;

    margin-bottom: 20px;
}


/* FEATURED TITLE */

.featured-message h3 {
    position: relative;

    font-family: var(--heading-font);

    font-size: clamp(17px, 3vw, 24px);

    color: var(--white);
}


/* FEATURED DESCRIPTION */

.featured-message p {
    position: relative;

    max-width: 550px;

    margin: 18px auto 25px;

    color: #aaaaaa;

    font-size: 13px;

    line-height: 1.8;
}


/* FEATURED BUTTON */

.featured-button {
    position: relative;

    display: inline-block;

    background: var(--red);
    color: var(--white);

    padding: 14px 22px;

    border-radius: 3px;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;

    transition: all var(--transition);
}

.featured-button:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
}


/* ===================== 10. FOOTER ===================== */

.footer {
    width: 100%;

    background: #080808;
    color: var(--white);

    text-align: center;

    padding: 55px 20px 25px;
}


/* FOOTER BRAND */

.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    color: var(--white);

    font-family: var(--heading-font);

    font-size: 21px;
    font-weight: bold;
    letter-spacing: 2px;
}

.footer-brand img {
    width: 45px;
    height: 42px;

    object-fit: contain;
}

.footer-brand b {
    color: var(--red);
}


/* FOOTER DESCRIPTION */

.footer-description {
    color: #aaaaaa;

    font-size: 12px;
    line-height: 1.8;

    margin-top: 16px;
}


/* FOOTER LINKS */

.footer-links {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 25px;

    margin-top: 30px;
}

.footer-links a {
    color: #aaaaaa;

    font-size: 10px;
    letter-spacing: 1px;

    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--red);
}


/* FOOTER DIVIDER */

.footer-line {
    width: 100%;
    max-width: 900px;

    height: 1px;

    background: #292929;

    margin: 35px auto 22px;
}


/* COPYRIGHT */

.footer small {
    color: #777777;
    font-size: 10px;
}


/* ===================== 11. TABLET RESPONSIVE ===================== */

@media screen and (max-width: 1000px) {

    .header {
        padding-left: 5%;
        padding-right: 5%;
        gap: 18px;
    }

    .brand {
        font-size: 19px;
    }

    .navigation {
        gap: 18px;
    }

    .hero {
        padding-left: 6%;
        padding-right: 6%;
        min-height: 520px;
    }

    .hero h1 {
        font-size: clamp(40px, 5vw, 58px);
    }

    .hero-perfume-image {
        height: 390px;
    }

    .collections,
    .featured {
        padding-left: 6%;
        padding-right: 6%;
    }

    .collection-card {
        min-height: 270px;
        padding: 28px;
    }

}


/* ===================== 12. MOBILE / TABLET ===================== */

@media screen and (max-width: 768px) {

    /* HEADER */

    .header {
        justify-content: center;
        flex-wrap: wrap;

        padding: 20px 5%;
        gap: 18px;
    }

    .brand {
        justify-content: center;
    }

    .navigation {
        order: 3;

        width: 100%;

        justify-content: center;
        flex-wrap: wrap;

        gap: 22px;
    }

    .header-actions {
        justify-content: center;
    }


    /* HERO */

    .hero {
        grid-template-columns: 1fr;

        text-align: center;

        padding: 55px 7% 25px;

        gap: 10px;
    }

    .hero-content {
        margin: auto;
    }

    .hero-description {
        margin: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-note {
        margin-top: 28px;
    }

    .hero-visual {
        min-height: 370px;
    }

    .hero-perfume-image {
        max-height: 360px;
    }


    /* FEATURES */

    .features {
        grid-template-columns: 1fr;
        padding: 30px 8%;
        gap: 25px;
    }

    .feature {
        justify-content: flex-start;

        max-width: 350px;

        margin: auto;

        width: 100%;
    }


    /* COLLECTIONS */

    .collection-grid {
        grid-template-columns: 1fr;
    }

    .collection-card {
        min-height: 290px;
    }


    /* SECTIONS */

    .collections,
    .featured {
        padding: 65px 6%;
    }

}


/* ===================== 13. SMALL MOBILE ===================== */

@media screen and (max-width: 480px) {

    /* ANNOUNCEMENT */

    .announcement {
        font-size: 8px;
        letter-spacing: 2px;
        padding: 9px 5px;
    }


    /* HEADER */

    .header {
        padding: 17px 12px;
        gap: 17px;
    }

    .brand {
        font-size: 17px;
        gap: 7px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .navigation {
        gap: 15px;
    }

    .navigation a {
        font-size: 9px;
    }

    .header-actions {
        gap: 15px;
    }

    .login-link,
    .cart-link {
        font-size: 9px;
    }

    .cart-link {
        padding: 11px 14px;
    }


    /* HERO */

    .hero {
        padding: 50px 6% 20px;
        min-height: auto;
    }

    .eyebrow {
        font-size: 8px;
        letter-spacing: 3px;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 47px);
        margin: 22px 0;
    }

    .hero-description {
        font-size: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .primary-btn {
        width: 100%;
        max-width: 260px;
        padding: 15px 20px;
    }

    .secondary-btn {
        font-size: 9px;
    }

    .hero-note {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .hero-visual {
        min-height: 300px;
    }

    .hero-perfume-image {
        height: 290px;
        max-height: 290px;
    }

    .visual-caption {
        font-size: 7px;
        letter-spacing: 2px;
    }


    /* FEATURES */

    .features {
        padding: 27px 8%;
    }

    .feature-icon {
        font-size: 25px;
    }

    .feature-text h4 {
        font-size: 9px;
    }

    .feature-text p {
        font-size: 10px;
    }


    /* SECTION HEADINGS */

    .collections,
    .featured {
        padding: 55px 5%;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .section-heading > p {
        font-size: 11px;
    }


    /* COLLECTION CARDS */

    .collection-card {
        min-height: 230px;
        padding: 24px 20px;
    }

    .collection-content {
        max-width: 85%;
    }

    .collection-label {
        font-size: 8px;
    }

    .collection-content h3 {
        font-size: 29px;
    }

    .collection-content > p {
        font-size: 11px;
    }

    .collection-link {
        font-size: 9px;
    }


    /* FEATURED */

    .featured-message {
        padding: 40px 15px;
    }

    .featured-message h3 {
        font-size: 17px;
    }

    .featured-message p {
        font-size: 11px;
    }


    /* FOOTER */

    .footer {
        padding: 45px 15px 22px;
    }

    .footer-brand {
        font-size: 17px;
    }

    .footer-brand img {
        width: 38px;
        height: 38px;
    }

    .footer-links {
        gap: 16px;
    }

    .footer-links a {
        font-size: 9px;
    }

    .footer small {
        font-size: 9px;
    }

}


/* ===================== 14. ACCESSIBILITY ===================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}

/* FULL BOTTLES COLLECTION CARD */

.collection-card.full-bottles {
    grid-column: 1 / -1;
    min-height: 280px;
}

.collection-card.full-bottles .collection-image {
    object-position: center 45%;
}

/* FULL BOTTLES ON MOBILE */

@media screen and (max-width: 768px) {

    .collection-card.full-bottles {
        grid-column: auto;
        min-height: 240px;
    }

}

/* RESPONSIVE NAVIGATION */

@media screen and (max-width: 1100px) {

    .header {
        flex-wrap: wrap;
        justify-content: center;
    }

    .navigation {
        justify-content: center;
        flex-wrap: wrap;
    }

}

/* PRODUCT DESCRIPTION */

.product-description {
    color: #888888;
    font-size: 11px;
    line-height: 1.7;
    margin-top: 10px;
}

/* VIEW PRODUCT DETAILS BUTTON */

.view-product-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;

    margin-top: 20px;
    padding: 14px 12px;

    background: #111111;
    color: #ffffff;

    border: none;
    border-radius: 3px;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;

    transition: all 0.3s ease;
}

.view-product-btn:hover {
    background: #c8102e;
    transform: translateY(-2px);
}

.no-available-sizes {
    color: #c8102e;
    font-size: 10px;
    margin-top: 10px;
}



/* ===================== END ===================== */
