@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@200;300;400;500;600&display=swap');

:root {
    --accent-grey: #D1D1D1;
    --dark: #000000;
    --light: #FFFFFF;
    --off-white: #F5F5F5;
    --whatsapp-btn: #000000;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    font-weight: 300;
    scroll-behavior: smooth;
}

h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

/* Hero Styling */
.hero-bg {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), 
                url('https://urbanscents.co.za/cdn/shop/collections/men4.jpg?v=1631189579');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

/* Navigation Links */
.nav-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--dark);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

#nav-container > a {
    letter-spacing: 0.28em;
}

/* Button Variations */
.btn-minimal {
    border: 1px solid var(--dark);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-minimal:hover {
    background-color: var(--dark);
    color: white;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade { 
    animation: fadeIn 2s ease-in; 
}

/* Product Slider */
.slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 2rem;
    padding: 2rem 0;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    .slide { 
        flex: 0 0 calc(50% - 1rem); 
    }
}

@media (min-width: 1024px) {
    .slide { 
        flex: 0 0 calc(33.333% - 1.33rem); 
    }
}

.product-img-container {
    background-color: var(--off-white);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.product-img-container img {
    transition: transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

.product-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.product-card .text-center {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card .text-center a {
    margin-top: auto;
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-btn);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 100;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover { 
    transform: scale(1.1); 
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 105;
    background: rgba(255, 255, 255, 0.96);
    transform: translateY(-110%);
    transition: transform 0.25s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.mobile-nav.open {
    transform: translateY(0);
}

.mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 110;
    background: transparent;
    border: none;
    color: #000;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.6rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-nav-close:hover {
    color: #444;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 3.5rem 1.5rem 1.5rem;
}

.mobile-nav-links a {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: #111;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
}

.mobile-nav-links a.mobile-contact-btn {
    color: #fff !important;
    background-color: #000 !important;
    border-bottom: none !important;
}

.mobile-nav .mobile-contact-btn {
    color: #fff !important;
    background-color: #000 !important;
    border-bottom: none;
}

.mobile-contact-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 1rem;
    margin-top: 0.4rem;
    border-radius: 999px;
    color: #fff !important;
    background-color: #000 !important;
    letter-spacing: 0.24em;
    font-size: 0.85rem;
    border: none;
}

.mobile-contact-btn:hover {
    background-color: #222 !important;
}

/* Responsive Design */
@media (max-width: 1023px) {
    .hero-bg {
        padding-top: 60px;
    }

    h1 {
        font-size: 2.25rem;
    }

    .hero-buttons a {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        font-size: 11px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    #nav-container {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: space-between;
    }

    #nav-container > a {
        font-size: 14px;
        letter-spacing: 0.34em;
    }

    .nav-link {
        font-size: 11px;
        letter-spacing: 0.17em;
    }

    .hidden.md\:flex.space-x-3.md\:space-x-\[20px\] {
        gap: 1rem;
    }

    .space-x-4.md\:space-x-10 {
        gap: 0.85rem;
    }

    .mobile-nav-links {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .mobile-nav-links a {
        font-size: 14px;
    }

    .mobile-contact-btn {
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    .max-w-7xl { 
        padding: 0 1rem; 
    }

    .py-32 { 
        padding-top: 3rem; 
        padding-bottom: 3rem; 
    }

    .text-4xl { 
        font-size: 1.75rem !important; 
    }

    .text-3xl { 
        font-size: 1.5rem !important; 
    }

    .text-2xl { 
        font-size: 1.35rem !important; 
    }

    .grid-cols-1 { 
        grid-template-columns: 1fr !important; 
    }

    .nav-link {
        font-size: 13px;
    }

    .slider-container { 
        gap: 1rem; 
        padding: 1rem 0; 
    }

    .slide { 
        flex: 0 0 85% !important; 
    }

        #nav-container {
            padding-top: 0.75rem;
            padding-bottom: 0.75rem;
        }

        .btn-minimal {
            width: 100%;
            max-width: 100%;
            justify-content: center;
            padding-left: 0.95rem;
            padding-right: 0.95rem;
        }

        .product-card {
            margin-left: auto;
            margin-right: auto;
        }

        .product-card .text-center {
            padding-left: 0.75rem;
            padding-right: 0.75rem;
        }

        .mobile-nav-links a {
            letter-spacing: 0.16em;
            padding: 1rem 0;
        }
    }

    .hero-buttons { 
        flex-direction: column; 
    }

    .hero-buttons a { 
        width: 100%; 
        text-align: center; 
    }

    #contact .order-panel {
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 90%;
        max-width: 90%;
        margin: 0 auto;
        padding-left: 1rem;
    }

    #contact .order-panel h3,
    #contact .order-panel p,
    #contact .order-panel a {
        margin-left: auto;
        margin-right: auto;
    }

    #contact .whatsapp-icon {
        margin: 0 auto 1rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar { 
    width: 4px; 
}

::-webkit-scrollbar-track { 
    background: var(--light); 
}

::-webkit-scrollbar-thumb { 
    background: #ddd; 
}