/* 
   YKEN - Premium Fragrance Theme 
   Colors: Matte Black, Charcoal, Gold Accent, White Text
*/

:root {
    --color-black: #080808;
    --color-charcoal: #151515;
    --color-dark-grey: #222222;
    --color-gold: #D4AF37;
    --color-gold-light: #F3E5AB;
    --color-gold-dark: #AA8C2C;
    --color-white: #F8F8F8;
    --color-text-muted: #A0A0A0;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--color-gold);
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-gold-light);
}

/* Utilities */
.text-gold {
    color: var(--color-gold);
}

.bg-charcoal {
    background-color: var(--color-charcoal);
}

.gold-divider {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.price-old {
    text-decoration: line-through;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-right: 8px;
}

.price-new {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Buttons */
.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-black);
    border: 1px solid var(--color-gold);
    border-radius: 0;
    padding: 10px 24px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--color-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    border-radius: 0;
    padding: 10px 24px;
    transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.brand-logo {
    height: 25px;
    /* Perfectly balanced with navbar */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.nav-link {
    color: var(--color-white) !important;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 5px;
    left: 50%;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Offcanvas Menu */
.luxury-offcanvas {
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-left: 1px solid rgba(212, 175, 55, 0.2);
}

.offcanvas-link {
    font-size: 1rem !important;
    letter-spacing: 4px;
    margin: 0;
    display: inline-block;
}

.offcanvas-link::after {
    bottom: -5px;
}

.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding-left: 8%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.8) 0%, rgba(8, 8, 8, 0.2) 60%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
    text-align: left;
}

.hero-title {
    font-family: 'Distancia', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-content .btn {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.5s, color 0.5s, box-shadow 0.5s;
}

/* Swiper Active Slide Animations */
.swiper-slide-active .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.swiper-slide-active .hero-tagline {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.swiper-slide-active .hero-content .btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.swiper-pagination-bullet {
    background: var(--color-white);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--color-gold);
    opacity: 1;
}

/* Fragrance Section */
.section-title {
    font-family: 'Distancia', serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-card {
    background: var(--color-charcoal);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.2);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.product-img-wrapper img {
    width: 100%;
    transition: transform 0.8s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 8, 8, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    backdrop-filter: blur(3px);
}

.product-img-wrapper:hover .product-overlay {
    opacity: 1;
}

.view-icon {
    font-size: 2rem;
    color: var(--color-gold);
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-gold);
    transform: scale(0.5);
    transition: var(--transition-smooth);
}

.product-img-wrapper:hover .view-icon {
    transform: scale(1);
}

.product-name {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Reviews Section */
.reviews-section {
    background-color: var(--color-charcoal);
    position: relative;
}

.review-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    height: 100%;
    backdrop-filter: blur(10px);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-dark-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-right: 15px;
}

.reviewer-name {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.stars {
    color: var(--color-gold);
    font-size: 0.8rem;
}

.review-text {
    font-style: italic;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* About Section */
.about-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.about-img {
    width: 100%;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

.about-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

.about-text {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand {
    color: var(--color-white);
    letter-spacing: 4px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-charcoal);
    color: var(--color-white);
    margin: 0 10px;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

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

.copyright {
    color: #A0A0A0 !important;
}

/* Modal */
.glass-modal {
    background: rgba(21, 21, 21, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    opacity: 0.8;
}

.modal-close:hover {
    opacity: 1;
}

.modal-img-container {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-main-img {
    max-height: 60vh;
    object-fit: contain;
}

.modal-product-title {
    font-size: 2.2rem;
    color: var(--color-gold);
}

.modal-product-desc {
    color: #A0A0A0 !important;
}

.share-icons a {
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.share-icons a:hover {
    color: var(--color-gold) !important;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    /* WhatsApp Brand Color */
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 10000;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    animation: float-entrance 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.whatsapp-float:hover {
    color: #FFF;
    background-color: #20ba56;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.5);
}

@keyframes float-entrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .brand-logo {
        height: 28px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .navbar {
        /* background: rgba(8, 8, 8, 0.95); */
    }

    .modal-main-img {
        max-height: 40vh;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}