/* Base Variables & Setup */
:root {
    --color-bg-dark: #1E120B;
    --color-bg-light: #2A1810;
    --color-cocoa: #6E4B2A;
    --color-accent: #6E4B2A;
    --color-gold: #D4A017;
    --color-gold-hover: #C99700;
    --color-text-main: #F5E6CC;
    --color-text-muted: #b0a8a6;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.dark-luxury-theme {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

body.dark-luxury-theme h1, 
body.dark-luxury-theme h2, 
body.dark-luxury-theme h3, 
body.dark-luxury-theme h4, 
body.dark-luxury-theme h5, 
body.dark-luxury-theme h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--color-text-main);
}

body.dark-luxury-theme a {
    color: var(--color-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}

body.dark-luxury-theme a:hover {
    color: var(--color-gold-hover);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.page-padding {
    padding: 150px 0 100px 0;
}

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

/* Glassmorphism */
.glassmorphism {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-hover) 100%);
    color: #000 !important;
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--color-gold-hover) 0%, var(--color-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.5);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-gold);
    color: var(--color-gold) !important;
}

.btn-outline:hover {
    background: rgba(212, 160, 23, 0.1);
    transform: translateY(-2px);
}

.btn-link {
    background: transparent;
    color: var(--color-gold) !important;
    padding: 0;
    border-bottom: 1px solid var(--color-gold);
    border-radius: 0;
}

.btn-link:hover {
    color: var(--color-gold-hover) !important;
    border-color: var(--color-gold-hover);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(30, 18, 11, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.site-title a {
    color: var(--color-gold) !important;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    color: var(--color-text-main) !important;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-navigation a:hover {
    color: var(--color-gold) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1614088685112-0a760b71a3c8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(30, 18, 11, 0.6) 0%, rgba(30, 18, 11, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Featured Products */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--color-gold) !important;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--color-bg-light);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.02);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 160, 23, 0.15);
    border-color: rgba(212, 160, 23, 0.3);
}

.product-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

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

.product-info {
    padding: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
    background: var(--color-bg-light);
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-info .price {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Brand Story */
.brand-story {
    background: linear-gradient(to right, var(--color-bg-dark), var(--color-bg-light));
}

.story-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.story-content {
    flex: 1;
}

.story-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.story-image {
    flex: 1;
}

.image-wrapper {
    padding: 20px;
    border-radius: 8px;
}

.image-wrapper img {
    width: 100%;
    border-radius: 4px;
    display: block;
}

/* Special Collections */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.collection-card {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.collection-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
}

.collection-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
}

.collection-card:hover .collection-bg {
    transform: scale(1.1);
}

.collection-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
    text-align: center;
    border-radius: 4px;
}

/* Testimonials */
.testimonials {
    background-image: url('https://images.unsplash.com/photo-1548907040-4baa42d10919?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 18, 11, 0.85);
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.stars {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.quote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.author {
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Newsletter */
.newsletter-box {
    padding: 60px;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-box p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 4px;
    font-family: var(--font-body);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-gold);
}

/* Footer */
.site-footer {
    background: var(--color-bg-dark);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-widget h3 {
    color: var(--color-gold) !important;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul a {
    color: var(--color-text-muted) !important;
}

.footer-widget ul a:hover {
    color: var(--color-gold) !important;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--color-text-muted) !important;
}

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

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Elementor Resets for Theme Consistency */
.elementor-widget-heading h1.elementor-heading-title,
.elementor-widget-heading h2.elementor-heading-title,
.elementor-widget-heading h3.elementor-heading-title,
.elementor-widget-heading h4.elementor-heading-title {
    color: var(--color-gold);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-title {
        font-size: 3rem;
    }
    .story-container {
        flex-direction: column;
    }
    .newsletter-form {
        flex-direction: column;
    }
}
