* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #dba34d;
    --light-gold: #ffe1aa;
    --dark: #080604;
    --text: #f7ead4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(#080604dc, #080604ed),
        url("assets/waad-background.jpeg") center / cover fixed;

    opacity: .7;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse at 50% 20%,
            #d18a3020,
            transparent 60%
        );
}

/* HEADER */

.topbar {
    height: 78px;
    position: sticky;
    top: 0;
    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5%;

    background: #080604e8;
    backdrop-filter: blur(18px);

    border-bottom: 1px solid #b77b2b77;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--light-gold);

    font: 700 22px "Cormorant Garamond", serif;
    letter-spacing: 4px;
}

.brand img {
    width: 46px;
    height: 46px;

    border-radius: 50%;
    object-fit: cover;

    border: 1px solid var(--gold);
}

.brand small {
    display: block;
    text-align: center;
    font-size: 10px;
}

nav {
    display: flex;
    gap: 28px;
    color: #f5d6a0;
}

nav a {
    transition: .3s;
}

nav a:hover {
    color: white;
    text-shadow: 0 0 15px var(--gold);
}

.phone {
    direction: ltr;
    border: 1px solid var(--gold);
    border-radius: 25px;
    padding: 8px 16px;
    color: var(--light-gold);
}

.toggle {
    display: none;
}

/* HERO */

.hero {
    min-height: 660px;
    position: relative;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    align-items: center;
    text-align: center;

    padding: 55px 6%;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            #080604dc,
            #08060470,
            #080604dc
        ),
        url("assets/waad-background.jpeg") center / cover;

    border-bottom: 1px solid var(--gold);
}

.hero::after {
    content: "";
    position: absolute;
    inset: -30%;

    background: conic-gradient(
        transparent,
        #d99b3b18,
        transparent 30%
    );

    animation: rotate 25s linear infinite;
    pointer-events: none;
}

.copy,
.emblem,
.hero-bottle {
    position: relative;
    z-index: 1;
}

.copy small,
.heading small,
.about small,
.contact small {
    color: var(--gold);
    letter-spacing: 4px;
}

.copy h1 {
    font-size: clamp(42px, 6vw, 75px);
    color: var(--light-gold);
    text-shadow: 0 0 25px #d88b28;
    margin: 10px 0;
}

.copy h3 {
    font: 700 16px "Cormorant Garamond", serif;
    letter-spacing: 5px;
    color: var(--gold);
}

.copy p {
    font-size: 21px;
    margin: 22px 0;
}

.emblem img {
    width: min(290px, 90%);
    border-radius: 50%;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 25px #d78a36);
    animation: float 5s ease-in-out infinite;
}

.hero-bottle img {
    height: 390px;
    max-width: 90%;
    object-fit: cover;
    border-radius: 100px 100px 30px 30px;

    box-shadow: 0 0 35px #d98b3c88;

    animation: float 6s ease-in-out infinite reverse;
}

/* BUTTON */

.gold {
    display: inline-block;
    padding: 12px 26px;

    border: 1px solid var(--gold);
    border-radius: 30px;

    background: linear-gradient(
        110deg,
        #744014,
        #d99a3e,
        #744014
    );

    box-shadow: 0 0 20px #d9953544;

    font-weight: 800;
    transition: .3s;
}

.gold:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 0 32px #efa83b;
}

/* HERO FOOT */

.hero-foot {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    display: flex;
    justify-content: space-evenly;

    padding: 15px;

    background: #090604d9;
    color: var(--light-gold);

    border-top: 1px solid #bd873c;
}

/* BENEFITS */

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;

    text-align: center;
    padding: 22px;

    background: linear-gradient(
        90deg,
        #160c05,
        #39220d,
        #160c05
    );

    color: var(--light-gold);
}

/* SECTIONS */

.section {
    padding: 85px 7%;
}

.heading,
.contact {
    text-align: center;
}

.heading h2,
.about h2,
.contact h2 {
    font-size: 42px;
    color: var(--light-gold);
    margin: 8px;
}

.heading p,
.contact p {
    color: #c9b08b;
    margin-bottom: 25px;
}

/* SEARCH */

.tools {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 25px 0;
}

input {
    width: min(360px, 100%);
    padding: 12px 18px;

    border-radius: 25px;
    border: 1px solid #9c682d;

    background: #130c07;
    color: white;

    font: inherit;
    outline: none;
}

input:focus {
    box-shadow: 0 0 20px #d99b3b66;
}

/* FILTERS */

.filters {
    display: flex;
    gap: 8px;
}

.filters button {
    border: 1px solid #9c682d;
    border-radius: 25px;

    padding: 8px 18px;

    background: #130c07;
    color: var(--light-gold);

    font: inherit;
    cursor: pointer;
    transition: .3s;
}

.filters button.active,
.filters button:hover {
    background: linear-gradient(
        110deg,
        #744014,
        #d99a3e
    );

    color: white;
    box-shadow: 0 0 15px #d99b3b55;
}

/* PRODUCT GRID */

.products {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 17px;
}

/* PRODUCT CARD */

.card {
    position: relative;
    text-align: center;

    padding: 12px;

    border: 1px solid #a16b2d;
    border-radius: 17px;

    background: linear-gradient(
        145deg,
        #241407,
        #090604
    );

    overflow: hidden;
    transition: .35s;

    box-shadow:
        inset 0 0 25px #d68a2815,
        0 10px 25px #0008;
}

/* GOLD ANIMATION */

.card::before {
    content: "";
    position: absolute;
    inset: -80%;

    background: conic-gradient(
        transparent 65%,
        #f4bc5a88,
        transparent 80%
    );

    animation: rotate 8s linear infinite;
    z-index: 0;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card:hover {
    transform: translateY(-8px) scale(1.03);

    box-shadow: 0 0 28px #d98b3c66;

    border-color: #ffcf75;
}

.card img {
    height: 135px;
    max-width: 85%;

    object-fit: contain;

    filter: drop-shadow(0 8px 12px #000);

    transition: .4s;
}

.card:hover img {
    transform: scale(1.12) rotate(-3deg);
}

.card h3 {
    font-size: 16px;
    color: var(--light-gold);
    margin-top: 8px;
}

.card small {
    color: #bfa27b;
}

.card button {
    margin-top: 9px;
    padding: 6px 17px;

    border: 1px solid var(--gold);
    border-radius: 20px;

    background: #211205;
    color: var(--light-gold);

    cursor: pointer;
    transition: .3s;
}

.card button:hover {
    background: var(--gold);
    color: #080604;
    box-shadow: 0 0 15px var(--gold);
}

/* ABOUT */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;

    background: #100a06dd;
}

.about > img {
    width: 100%;
    max-height: 370px;

    object-fit: cover;

    border: 1px solid var(--gold);
    border-radius: 17px;

    box-shadow: 0 0 25px #bd792d33;
}

.about p {
    line-height: 2.2;
    color: #d3bea0;
    margin: 15px 0 25px;
}

/* CONTACT */

.contact {
    text-align: center;

    background: radial-gradient(
        ellipse,
        #38200d88,
        transparent 70%
    );
}

.social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 25px;
}

.social a {
    border: 1px solid #a36c30;
    border-radius: 22px;

    padding: 8px 18px;

    color: var(--light-gold);
    transition: .3s;
}

.social a:hover {
    background: var(--gold);
    color: #080604;
}

/* FOOTER */

footer {
    text-align: center;
    padding: 28px;

    border-top: 1px solid #9d682d66;

    background: #070503;
    color: #c9a16a;
}

footer img {
    width: 48px;
    height: 48px;

    border-radius: 50%;
    vertical-align: middle;
    margin-left: 8px;

    object-fit: cover;
}

footer b {
    font: 700 20px "Cormorant Garamond", serif;
    letter-spacing: 5px;
}

footer p {
    margin: 8px;
}

/* BACK TO TOP */

#top {
    position: fixed;
    bottom: 20px;
    left: 20px;

    width: 44px;
    height: 44px;

    border: 1px solid var(--light-gold);
    border-radius: 50%;

    background: #a96b25;
    color: white;

    font-size: 24px;

    display: none;
    cursor: pointer;

    z-index: 10;

    box-shadow: 0 0 20px #d99b3b77;
}

/* SCROLL ANIMATION */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: 1s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FLOATING PARTICLES */

.spark {
    position: fixed;
    z-index: 20;
    pointer-events: none;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #ffd27c;

    box-shadow: 0 0 10px 3px #e99a36;

    animation: sparkle 4s linear forwards;
}

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(.3);
    }

    15% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-150px) scale(1.5);
    }
}

/* MAIN ANIMATIONS */

@keyframes float {
    50% {
        transform: translateY(-16px) rotate(1deg);
    }
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

/* TABLET */

@media (max-width: 1000px) {
    .products {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* MOBILE */

@media (max-width: 740px) {

    .topbar {
        height: 68px;
    }

    .toggle {
        display: block;
        background: none;
        border: none;

        color: var(--gold);
        font-size: 25px;

        order: 3;
        cursor: pointer;
    }

    nav {
        display: none;

        position: absolute;
        top: 68px;
        left: 0;
        right: 0;

        background: #090604;
        padding: 20px;

        flex-direction: column;
        text-align: center;
    }

    nav.open {
        display: flex;
    }

    .phone {
        font-size: 12px;
        padding: 7px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 5% 75px;
    }

    .emblem {
        order: 1;
    }

    .emblem img {
        width: 175px;
    }

    .copy {
        order: 2;
    }

    .hero-bottle {
        order: 3;
    }

    .hero-bottle img {
        height: 230px;
    }

    .hero-foot {
        font-size: 11px;
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr);
        font-size: 13px;
    }

    .section {
        padding: 60px 5%;
    }

    .tools {
        flex-direction: column;
    }

    .filters {
        justify-content: center;
        flex-wrap: wrap;
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 11px;
    }

    .card img {
        height: 115px;
    }

    .card h3 {
        font-size: 14px;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about > img {
        order: 2;
    }

    .social {
        flex-wrap: wrap;
    }
}

/* REDUCE MOTION */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        scroll-behavior: auto !important;
        transition: none !important;
    }
}