/* assets/css/style.css */

:root {
    --gold-primary: #C59B27; /* Sophisticated luxury gold with increased contrast on warm whites */
    --gold-light: #D4AF37;
    --gold-dark: #A27C1E;
    --black-bg: #FAF9F5; /* Premium Alabaster Warm White */
    --black-surface: #F4F1EA; /* Elegant cream-white secondary surface */
    --black-surface-light: #E9E6DC; /* Warm sand accent color */
    --text-main: #1D1C1B; /* Ultimate deep charcoal for high-end legibility */
    --text-muted: #72706B; /* Refined soft taupe/grey */
}

body {
    background-color: var(--black-bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Playfair Display', serif;
}

.text-gold {
    color: var(--gold-primary) !important;
}

.bg-black {
    background-color: var(--black-bg) !important;
    color: var(--text-main) !important;
}

/* Top Bar styling */
.top-bar {
    background-color: var(--gold-primary);
    color: #111;
    font-size: 0.9rem;
}
.top-bar .contact-info i {
    margin-right: 0.4rem;
}
.top-bar .social-links a {
    font-size: 1.2rem;
    transition: color 0.3s;
}
.top-bar .social-links a:hover {
    color: var(--gold-dark);
}

/* Featured Collections */
.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.collection-card:hover img {
    transform: scale(1.05);
}
.collection-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.collection-card:hover .overlay {
    opacity: 1;
}

/* Ensure white text is readable on light background */
.bg-black .text-white {
    color: var(--text-main) !important;
}

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

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease-out;
}
.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}
.loader-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold-primary);
    letter-spacing: 5px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInOut 2s infinite;
    white-space: nowrap;
}
@media (max-width: 576px) {
    .loader-logo {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }
}
.loader-line {
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    animation: expandLine 2s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}
@keyframes expandLine {
    0% { width: 0; opacity: 1; }
    100% { width: 200px; opacity: 0; }
}

/* Navbar */
.glass-nav {
    background: rgba(250, 249, 245, 0.75) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s ease;
}
.glass-nav.scrolled {
    background: rgba(250, 249, 245, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04) !important;
}
#mainNav {
    transition: top 0.3s ease, background 0.4s ease, box-shadow 0.3s ease;
}
@media (min-width: 992px) {
    #mainNav {
        top: 40px;
    }
    #mainNav.scrolled {
        top: 0 !important;
    }
}
.navbar-logo {
    height: 115px; /* Desktop logo size (increased from 100px) */
    transition: height 0.3s ease;
}

@media (max-width: 991.98px) {
    #mainNav {
        top: 0 !important;
        padding-top: 8px !important;
        padding-bottom: 5px !important;
    }
    .navbar-logo {
        height: 100px; /* Mobile logo size set to 100px */
    }
    #smooth-content {
        padding-top: 116px; /* Offset for fixed mobile header */
    }
}
.navbar-brand {
    font-size: 1.8rem;
    letter-spacing: 3px;
}

/* Navbar search form */
.nav-search-form {
    max-width: 380px;
    width: 100%;
}
.nav-search-form .form-control {
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 50px 0 0 50px;
    background: rgba(255,255,255,0.8);
    padding: 8px 18px;
    font-size: 0.85rem;
}
.nav-search-form .form-control:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 2px rgba(197,155,39,0.15);
}
.nav-search-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 8px 16px;
}

/* Navbar icon links */
.nav-icon-link {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-main);
    font-size: 1.05rem;
    transition: all 0.3s;
    text-decoration: none;
    border: 1px solid transparent;
}
.nav-icon-link:hover {
    color: var(--gold-primary);
    background: rgba(197,155,39,0.08);
    border-color: rgba(197,155,39,0.2);
}
.nav-link {
    color: var(--text-main) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0 !important;
    margin: 0 1rem;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--gold-primary) !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.custom-toggler {
    border: none;
}
.custom-toggler:focus {
    box-shadow: none;
}
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28212, 175, 55, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn-gold {
    background-color: var(--gold-primary);
    color: #000;
    border: 1px solid var(--gold-primary);
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}
.btn-gold:hover {
    background-color: transparent;
    color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}
.btn-outline-gold {
    background-color: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-outline-gold:hover {
    background-color: var(--gold-primary);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(15, 15, 15, 0.15), rgba(10, 10, 10, 0.6)), url('../images/luxury_wallet.png') no-repeat center center;
    background-size: cover;
}
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.hero-title {
    font-size: 5rem;
    font-weight: 400;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(50px);
}
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 40px;
    color: var(--text-main);
    text-transform: uppercase;
    opacity: 0;
}

/* Product Cards */
.product-card {
    background: var(--black-surface);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}
.product-card:hover::before {
    opacity: 1;
}
.product-img-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 120%; /* 5:6 aspect ratio */
}
.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(0.85) contrast(1.1);
}
.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.1);
}
.product-card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, var(--black-surface) 0%, rgba(244, 241, 234, 0) 100%) !important;
}
.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.product-price {
    color: var(--gold-primary);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Smooth Scrolling Setup */
html.has-scroll-smooth {
    overflow: hidden;
}

/* Sections */
.section-padding {
    padding: 100px 0;
}
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--gold-primary);
}

/* Footer links */
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--gold-primary);
}

/* Glassmorphism Panel */
.glass-panel {
    background: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

/* Global Utilities */
.bg-gold {
    background-color: var(--gold-primary) !important;
}
.letter-spacing-1 {
    letter-spacing: 1px !important;
}
.letter-spacing-2 {
    letter-spacing: 2px !important;
}
.cursor-pointer {
    cursor: pointer !important;
}

/* Luxury Lightbox Styles */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.lightbox-modal.active {
    display: flex;
    opacity: 1;
}
.lightbox-wrapper {
    position: relative;
    max-width: 85%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.15);
    border-radius: 4px;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.lightbox-close:hover {
    color: var(--gold-primary);
    transform: scale(1.1);
}
.lightbox-nav {
    position: absolute;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10005;
    user-select: none;
}
.lightbox-nav:hover {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}
.lightbox-prev {
    left: -80px;
}
.lightbox-next {
    right: -80px;
}
@media (max-width: 992px) {
    .lightbox-prev {
        left: 10px;
        bottom: -70px;
        top: auto;
    }
    .lightbox-next {
        right: 10px;
        bottom: -70px;
        top: auto;
    }
    .lightbox-close {
        top: -60px;
        right: 10px;
    }
    .lightbox-wrapper {
        margin-bottom: 60px;
    }
}

/* Footer Override for Soft Contrast */
.footer-area {
    background-color: var(--black-surface) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.footer-area .text-white {
    color: var(--text-main) !important;
}
.footer-area border-top {
    border-color: rgba(0, 0, 0, 0.05) !important;
}
.footer-area .border-dark {
    border-color: rgba(0, 0, 0, 0.05) !important;
}
.footer-area .subscribe-form input {
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: var(--text-main) !important;
}
.footer-area .subscribe-form input::placeholder {
    color: var(--text-muted) !important;
}
.social-links a:hover {
    color: var(--gold-dark) !important;
}
