/* ===== Ultra-Premium Theme ===== */
:root {
    --primary-gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #AA8C2C;
    --gold-gradient: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    
    --bg-dark: #050505;
    --bg-card: rgba(15, 15, 15, 0.6);
    --bg-glass: rgba(10, 10, 10, 0.4);
    
    --text-light: #F8F8F8;
    --text-muted: #A9A9A9;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default; /* Change to custom if needed */
}

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

.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul { list-style: none; }

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* ===== Glass Navbar ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 6%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-slow);
}

.navbar.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 1rem 6%;
}

.logo {
    display: flex;
    align-items: center;
}

#brand-logo {
    height: 100px;
    width: auto;
    mix-blend-mode: screen;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links li a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 1px;
    background: var(--gold-gradient);
    transition: var(--transition-slow);
    transform: translateX(-50%);
}

.nav-links li a:hover::after, .nav-links li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-gold);
    cursor: pointer;
}

/* ===== Immersive Hero ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 120%; /* For parallax */
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.3), rgba(5,5,5,0.9));
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    opacity: 0; /* Handled by JS */
    transform: translateY(30px);
    transition: opacity 1.5s ease 0.5s, transform 1.5s ease 0.5s;
}

.hero-content.loaded {
    opacity: 1;
    transform: translateY(0);
}

.hero-content h1 {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 3rem;
    letter-spacing: 1px;
    max-width: 600px;
    margin-inline: auto;
}

/* Premium Button */
.btn-gold {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--gold-gradient);
    transition: var(--transition-slow);
    z-index: -1;
}

.btn-gold:hover {
    color: var(--bg-dark);
    border-color: transparent;
}

.btn-gold:hover::before {
    left: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
.scroll-indicator span {
    display: block;
    width: 1px;
    height: 40px;
    background: var(--gold-gradient);
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* ===== Sections ===== */
.section-padding {
    padding: 8rem 6%;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-header .line {
    width: 80px;
    height: 1px;
    background: var(--gold-gradient);
    margin: 0 auto;
}

/* ===== Magazine Style Product Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: 1px solid transparent;
    background: var(--gold-gradient) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-slow);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.9) contrast(1.1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
    filter: brightness(1);
}

.product-info {
    text-align: center;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.product-price {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* ===== Swiper Custom Styles ===== */
.product-swiper {
    padding-bottom: 3rem;
}

.swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.5;
}

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

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.5rem !important;
}

/* ===== Editorial About Section ===== */
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    display: block;
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition-slow);
}

.about-image:hover img {
    filter: grayscale(0%);
}

.about-image::after {
    content: '';
    position: absolute;
    top: -20px; 
    left: -20px;
    right: -20px;
    bottom: -20px;
    width: auto; 
    height: auto;
    border: 1px solid var(--primary-gold);
    z-index: -1;
    pointer-events: none;
}

/* ===== Features Section ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    text-align: center;
}

.feature-card {
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-slow);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ===== Testimonials Section ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: transparent;
    border-left: 2px solid var(--primary-gold);
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 5rem;
    font-family: var(--font-heading);
    color: rgba(212, 175, 55, 0.1);
    line-height: 1;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.client-name {
    font-weight: 600;
    color: var(--primary-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* ===== Product Detail Page ===== */
.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    height: 500px;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-list {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.thumbnail:hover, .thumbnail.active-thumb {
    opacity: 1;
    border-color: var(--primary-gold);
}

.product-title-large {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.product-price-large {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.product-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.product-description p {
    margin-bottom: 1rem;
}

.product-description ul, .product-description ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.product-description ul {
    list-style-type: disc;
}

.product-description ol {
    list-style-type: decimal;
}

.product-description strong {
    color: var(--text-light);
}

.features-list ul li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* ===== Footer ===== */
footer {
    background: #020202;
    padding: 6rem 6% 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.footer-col p, .footer-col ul li a, .footer-col ul li {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.footer-col ul li a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ===== Scroll Reveal Classes ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .about-wrapper { flex-direction: column; }
    .about-image::after { display: none; }
    .hero-content h1 { font-size: 4rem; }
    .product-detail-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        background: var(--bg-glass);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        clip-path: circle(0% at 50% 0);
        transition: all 0.6s ease-in-out;
    }
    .nav-links.active {
        clip-path: circle(150% at 50% 0);
    }
    .hamburger { display: block; }
    .hero-content h1 { font-size: 3rem; }
    .section-padding { padding: 5rem 6%; }
    .hero-content { margin-top:25px};
}
