/*
Theme Name: Luxorae Custom Theme
Theme URI: http://luxoraelife.com
Author: Luxorae
Description: Custom theme for Luxorae - Divine Luxury & Social Impact.
Version: 2.0
*/

/* --- GLOBAL STYLES --- */
:root {
    --gold: #d4af37;
    --gold-hover: #f3e5ab;
    --purple-deep: #05010a;
    --purple-panel: #120420;
    --text-cream: #f8f5f2;
    --text-muted: #cbbdd6;
    --transition: all 0.3s ease;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html { scroll-behavior: smooth; margin-top: 0 !important; }

body {
    background-color: var(--purple-deep);
    color: var(--text-cream);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

h1, h2, h3, h4, h5, .serif {
    font-family: var(--font-heading);
    color: var(--gold);
    font-weight: 400;
    letter-spacing: 1px;
}

h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(212, 175, 55, 0.2); display: inline-block; padding-bottom: 10px; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; }
h5 { font-size: 1.1rem; color: var(--gold); margin-bottom: 0.5rem; text-transform: uppercase; }
p { margin-bottom: 1.5rem; color: var(--text-muted); }
strong { color: var(--text-cream); }

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }

/* Utilities */
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section-padding { padding: 6rem 0; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 3rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    background-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1.5rem;
    text-align: center;
}

.btn:hover {
    background-color: var(--gold);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Nav */
nav {
    position: relative;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background-color: #020005;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img { height: 60px; }

.nav-links { display: flex; gap: 2.5rem; align-items: center; margin: 0; }
.nav-links li { list-style: none; }
.nav-links a { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: #fff; padding-bottom: 5px; position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 1px; bottom: 0; left: 0; background-color: var(--gold); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }

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

/* Carousel */
.carousel { position: relative; height: 85vh; width: 100%; overflow: hidden; background: radial-gradient(circle at center, #1b072e 0%, #05010a 90%); }
.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 1rem; }
.carousel-slide.active { opacity: 1; z-index: 2; }

/* Page Hero */
.page-hero { height: 40vh; background: radial-gradient(circle at bottom, #150525 0%, #05010a 100%); display: flex; align-items: center; justify-content: center; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 0 1rem; }

/* Cards & Blog Articles */
.content-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(212, 175, 55, 0.15); padding: 2rem; transition: var(--transition); height: 100%; display: flex; flex-direction: column; }
.content-card:hover { border-color: var(--gold); transform: translateY(-5px); background: rgba(255, 255, 255, 0.04); }
.content-card img { height: 250px; width: 100%; object-fit: contain; margin-bottom: 1.5rem; }

.article-preview { margin-bottom: 1rem; }
.article-preview h3 { font-size: 1.4rem; color: var(--gold); margin-bottom: 0.5rem; }
.article-preview p { font-size: 0.95rem; line-height: 1.6; }

.service-list { list-style: none; padding: 0; margin: 1rem 0; }
.service-list li { position: relative; padding-left: 20px; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.9rem; }
.service-list li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); }
.investment-box { background: rgba(212, 175, 55, 0.05); padding: 1rem; border-left: 3px solid var(--gold); margin-top: auto; font-size: 0.9rem; }

/* Footer */
footer { background: #020005; padding: 5rem 0 2rem; border-top: 1px solid var(--gold); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 3rem; margin-bottom: 4rem; }
.footer-col h4 { color: var(--gold); font-size: 0.9rem; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 2px; }
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-links a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-muted); }
.social-links a:hover { border-color: var(--gold); color: var(--gold); }

/* Forms */
input, textarea, select { width: 100%; padding: 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; font-family: var(--font-body); margin-bottom: 1rem; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); }

/* WOOCOMMERCE FIXES */
.woocommerce, .woocommerce-page { color: #fff !important; }
.woocommerce h1, .woocommerce h2, .woocommerce h3, .woocommerce h4, 
.woocommerce .product_title, .woocommerce .price { color: var(--gold) !important; }
.woocommerce-content-wrapper { padding-top: 50px; min-height: 400px; }
.woocommerce ul.products li.product { background: rgba(255,255,255,0.02); border: 1px solid rgba(212,175,55,0.2); padding: 15px; }
.woocommerce ul.products li.product:hover { border-color: var(--gold); transform: translateY(-5px); }
.woocommerce a.button, .woocommerce button.button { background: transparent !important; color: var(--gold) !important; border: 1px solid var(--gold) !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--gold) !important; color: #000 !important; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--gold) !important; font-size: 1.5rem; }

/* Responsive */
@media (max-width: 900px) {
    h1 { font-size: 2.5rem; margin-bottom: 1rem; }
    h2 { font-size: 2rem; text-align: center; }
    .btn { padding: 0.8rem 2rem; width: 100%; margin-top: 1rem; }
    .hamburger { display: block; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: #020005; flex-direction: column; padding: 2rem 0; border-bottom: 1px solid var(--gold); }
    .nav-links.active { display: flex; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 3rem; }
    .grid-2[style*="rtl"] { direction: ltr !important; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .section-padding { padding: 4rem 0; }
    .container { padding: 0 25px; }
}
/* ===================================================
   WOOCOMMERCE DROPDOWNS & INPUT FIXES
   =================================================== */

/* 1. Style the Select Boxes and Quantity Inputs (When Closed) */
.woocommerce div.product form.cart .variations select,
.woocommerce .quantity .qty,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce select {
    background-color: #120420 !important; /* Dark Purple Background */
    color: #ffffff !important; /* White Text */
    border: 1px solid #d4af37 !important; /* Gold Border */
    padding: 10px !important;
    border-radius: 0 !important;
    appearance: auto !important;
}

/* 2. Style the Dropdown Options (When Clicked Open) 
   Browsers force a white background on open menus. 
   We must force BLACK text here so it remains visible. */
.woocommerce div.product form.cart .variations select option,
.woocommerce select option {
    background-color: #ffffff !important; 
    color: #000000 !important; /* Black text for visibility */
}

/* 3. Clear Variation Button */
.woocommerce div.product form.cart .reset_variations {
    color: #d4af37 !important;
    margin-left: 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}