:root {
    --gold: #c5a059;
    --black: #0a0a0a;
    --white: #ffffff;
    --glass: rgba(15, 15, 15, 0.85);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fcfcfc;
    color: var(--black);
    overflow-x: hidden;
}



/* Floating Nav Logic */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 95%;
    max-width: 1200px;
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 100px;
    padding: 15px 30px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: var(--transition);
}

.nav-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
}

.nav-links a, .more-btn {
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.nav-links a:hover, .more-btn:hover, .active { color: var(--gold); }

/* Dropdown Grid */
.dropdown { 
    position: relative;
    padding-bottom: 20px; /*this creates a bridge so the so the mouse doesn't accidentally close the dropdown when moving from the button to the content*/
    margin-bottom: -20px; /*negate the padding visually*/
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /*Position it exactly where the bridge ends*/
    right: 0;
    background: #111;
    width: 500px;
    padding: 25px;
    border-radius: 20px;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 1px solid #333;
    z-index: 5000;
}

.dropdown:hover .dropdown-content { display: grid; animation: slideUp 0.4s ease; }

.dropdown-content a {
    padding: 10px;
    border-bottom: 1px solid #222;
    text-transform: none;
    font-size: 12px;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.main-header {
    padding: 140px 5% 40px;
    text-align: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    letter-spacing: 10px;
    text-transform: uppercase;
}

.btn-action {
    padding: 12px 25px;
    border: 1px solid #000;
    background: none;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    margin: 10px;
}

.btn-action:hover { background: #000; color: #fff; }

.hero-section { height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* Hero Section Styling */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 10%;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    color: var(--white);
    overflow: hidden;
    perspective: 1000px; /* This is the secret for 3D depth */
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-btns {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    padding: 15px 35px;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 15px 35px;
    border: 1px solid var(--white);
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(197, 160, 89, 0.4); }

/* Floating Watch Animation */
.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-watch {
    width: 100%;
    border-radius: 15%;
    max-width: 500px;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.8));
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    transition: transform 0.1s ease-out; /* Smooths the mouse movement */
    transform-style: preserve-3d;
    will-change: transform; /* Performance optimization */
}

.watch-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gold);
    filter: blur(150px);
    opacity: 0.2;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* Product Grid Styling */
.products-section {
    padding: 100px 5%;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-top: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    position: relative;
    background: #fdfdfd;
    transition: var(--transition);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Hover Overlay */
.product-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card:hover .product-overlay {
    bottom: 0;
}

/* Buttons inside card */
.view-btn, .cart-btn {
    width: 180px;
    padding: 12px 0;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.view-btn { background: #fff; color: #000; }
.cart-btn { background: var(--gold); color: #fff; }

.product-info {
    padding: 20px 0;
    text-align: left;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.product-info .category {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.product-info .price {
    font-weight: 700;
    color: var(--black);
}/* Product Grid Styling */
.products-section {
    padding: 100px 5%;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-top: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    position: relative;
    background: #fdfdfd;
    transition: var(--transition);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Hover Overlay */
.product-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card:hover .product-overlay {
    bottom: 0;
}

/* Buttons inside card */
.view-btn, .cart-btn {
    width: 180px;
    padding: 12px 0;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.view-btn { background: #fff; color: #000; }
.cart-btn { background: var(--gold); color: #fff; }

.product-info {
    padding: 20px 0;
    text-align: left;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.product-info .category {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.product-info .price {
    font-weight: 700;
    color: var(--black);
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 60px 5% 30px;
    text-align: center;
}

.footer-links a { color: #888; text-decoration: none; margin: 0 15px; font-size: 13px; }
.footer-address { margin-top: 20px; border-top: 1px solid #222; padding-top: 20px; font-size: 12px; color: #555; }



/* Experience Section Styling */
.experience-section {
    padding: 80px 5%;
    background: #050505;
    color: var(--white);
}

.ar-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.experience-card {
    position: relative;
    padding: 60px;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 450px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ar-card {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}

.loyalty-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
}

.experience-content {
    position: relative;
    z-index: 2;
}

.experience-content span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 700;
}

.experience-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin: 15px 0;
}

.experience-content p {
    color: #888;
    max-width: 400px;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Visual Background Icons */
.experience-visual {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 15rem;
    color: rgba(197, 160, 89, 0.03);
    transform: rotate(-15deg);
    transition: var(--transition);
}

.experience-card:hover .experience-visual {
    color: rgba(197, 160, 89, 0.08);
    transform: rotate(0deg) scale(1.1);
}

/* Custom Buttons */
.btn-ar, .btn-loyalty {
    padding: 15px 30px;
    border: none;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ar { background: var(--gold); color: #000; }
.btn-loyalty { background: transparent; border: 1px solid var(--gold); color: var(--gold); }

.btn-ar:hover { background: #fff; }
.btn-loyalty:hover { background: var(--gold); color: #000; }

/* Responsive */
@media (max-width: 992px) {
    .ar-container { grid-template-columns: 1fr; }
    .experience-card { padding: 40px; min-height: 350px; }
}


/* Sidebar Panels */
.sidebar {
    position: fixed;
    top: 0;
    right: -450px; /* Hidden by default */
    width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    transition: var(--transition);
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.sidebar.active {
    right: 0; /* Slide in */
}

#sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    display: none;
    backdrop-filter: blur(5px);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Auth Form Inside Sidebar */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form input {
    padding: 15px;
    border: 1px solid #ddd;
    font-family: inherit;
}

.empty-cart {
    text-align: center;
    margin-top: 100px;
}

.empty-cart i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 20px;
}


/* Story Page Styles */
.story-hero {
    height: 60vh;
    background: url('https://images.unsplash.com/photo-1509048191080-d2984bad6ad5?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}

.story-title { position: relative; z-index: 1; color: white; }
.story-title span { color: var(--gold); letter-spacing: 5px; text-transform: uppercase; }
.story-title h1 { font-family: 'Playfair Display'; font-size: 3.5rem; margin-top: 10px; }

/* Vertical Timeline */
.timeline-section {
    padding: 100px 10%;
    position: relative;
    background: #fff;
}

/* The Vertical Line */
.timeline-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: #eee;
}

.timeline-item {
    width: 45%;
    margin-bottom: 50px;
    position: relative;
    opacity: 0; /* JS will animate this */
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.timeline-item:nth-child(even) { margin-left: 55%; }

.timeline-content {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
}

.timeline-dot {
    position: absolute;
    right: -12.5%; /* Center it on the line */
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot { left: -12.5%; }

/* Animation trigger class */
.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* Weapon Watches Theme */
.tactical-theme {
    background-color: #0d0d0d;
    color: #ffffff;
}

.weapon-hero {
    height: 70vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), transparent), 
                url('https://images.unsplash.com/photo-1542496658-e33a6d0d50f6?q=80&w=1200');
    background-size: cover;
    background-position: center;
}

.tag {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-left: 3px solid var(--gold);
    padding-left: 15px;
}

.tactical-grid {
    padding: 80px 10%;
}

.spec-card {
    display: flex;
    gap: 50px;
    align-items: center;
    background: #151515;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #222;
}

.spec-img img {
    width: 350px;
    border-radius: 10px;
    filter: grayscale(100%) contrast(110%);
    transition: 0.5s;
}

.spec-card:hover .spec-img img {
    filter: grayscale(0%);
}

.specs {
    list-style: none;
    margin: 25px 0;
}

.specs li {
    margin: 15px 0;
    font-size: 1.1rem;
    color: #aaa;
}

.specs li i {
    color: var(--gold);
    margin-right: 15px;
    width: 20px;
}


/* Perfume Theme Styles */
.perfume-theme {
    background-color: #fcf8f3; /* Soft cream background */
}

.perfume-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.4)), 
                url('https://images.unsplash.com/photo-1615485240384-552e40019c45?q=80&w=1200');
    background-size: cover;
    background-position: center;
}

.perfume-hero h1 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 4rem;
    color: var(--black);
}

.perfume-card {
    border-radius: 0; /* Clean, minimalist edges */
    background: transparent;
}

.scent-notes {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.btn-add-perfume {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    background: var(--black);
    color: white;
    border: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-add-perfume:hover {
    background: var(--gold);
}

.perfume-grid-section {
    padding: 80px 10%;
}

/* Jewellery Theme Specifics */
.jewellery-theme {
    background-color: #0f0b08; /* Deep dark brown/black */
    color: #f5f5f5;
}

.jewellery-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1601121141461-9d6647bca1ed?q=80&w=1200') center/cover;
    position: relative;
}

.hero-overlay-gold {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 11, 8, 0.7), rgba(15, 11, 8, 0.9));
}

.sub-title {
    display: block;
    font-size: 14px;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.center-text { text-align: center; }

.j-desc {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin-bottom: 10px;
}

.btn-gold-action {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 25px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 15px;
}

.btn-gold-action:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.jewellery-showcase { padding: 100px 10%; }

/* Wallet Theme Specifics */
.wallet-theme {
    background-color: #f4f1ee; /* Warm parchment color */
}

.wallet-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), 
                url('https://images.unsplash.com/photo-1614333362771-05bd399859f5?q=80&w=1200') center/cover;
    color: white;
}

.label {
    background: var(--gold);
    color: #000;
    padding: 5px 15px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 2px;
}

.wallet-container { padding: 80px 10%; }

.wallet-card {
    background: #fff;
    border: 1px solid #e0dbd5;
    padding: 10px;
}

.wallet-type {
    font-size: 11px;
    color: #777;
    margin-bottom: 10px;
}

.btn-dark {
    width: 100%;
    padding: 12px;
    background: #222;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-dark:hover { background: var(--gold); color: #000; }


/* Contact & Page Enhancements */
.contact-container { padding: 180px 10% 100px; }
.contact-grid-main { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.main-contact-form { display: flex; flex-direction: column; gap: 20px; }
.main-contact-form input, .main-contact-form textarea {
    padding: 15px; border: 1px solid #ddd; background: #fff;
}
.detail-box { margin-bottom: 40px; }
.detail-box i { font-size: 2rem; color: var(--gold); margin-bottom: 15px; }

/* Women Theme */
.women-theme { background: #fffafb; }
.category-header-women { height: 40vh; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #fdf2f4; }

/* AR Simulator */
.ar-simulator { display: flex; height: 80vh; margin-top: 100px; background: #000; color: #fff; }
.camera-feed { flex: 3; display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid #333; }
.ar-sidebar { flex: 1; padding: 30px; }

/* Loyalty Dashboard */
.loyalty-dashboard { padding: 150px 10%; display: flex; justify-content: center; }
.points-card { background: var(--black); color: white; padding: 60px; border-radius: 20px; border: 1px solid var(--gold); text-align: center; }

/* Info & Guide Theme */
.info-theme { background: #fdfdfd; }
.info-container { padding: 180px 10%; }
.info-hero { text-align: center; margin-bottom: 80px; }
.info-hero h1 { font-family: 'Playfair Display'; font-size: 3rem; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.info-card { padding: 40px; border: 1px solid #eee; text-align: center; }
.info-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; }

/* Smart Theme */
.smart-theme { background: #000; color: #fff; }
.smart-hero { height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; border-bottom: 1px solid #222; }
.pulse-dot {
    width: 10px; height: 10px; background: #00f3ff; border-radius: 50%; display: inline-block;
    box-shadow: 0 0 10px #00f3ff; margin-bottom: 10px;
}

/* AR Simulator Styles */
.ar-theme {
    background: #000;
    color: #fff;
    overflow: hidden;
}

.ar-interface {
    display: flex;
    height: 100vh;
    padding-top: 80px;
}

.ar-viewfinder {
    flex: 2;
    position: relative;
    background: #111;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#webcam {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* Flips camera for mirror effect */
}

.scanner-overlay {
    position: absolute;
    inset: 50px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    pointer-events: none;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--gold);
    box-shadow: 0 0 15px var(--gold);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.virtual-watch-overlay {
    position: absolute;
    width: 200px;
    cursor: grab;
    z-index: 10;
    transition: transform 0.1s ease;
}

.virtual-watch-overlay img {
    width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.ar-controls {
    flex: 1;
    background: #0a0a0a;
    padding: 40px;
    border-left: 1px solid #222;
}

.ar-selection-grid {
    display: grid;
    gap: 15px;
    margin: 30px 0;
}

.ar-item {
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
    cursor: pointer;
}

.ar-item.active {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.1);
}