/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary-gold: #D4AF37;
    --secondary-gold: #C5A028;
    --dark-charcoal: #1a1a1a;
    --soft-white: #f9f9f9;
    --pure-white: #ffffff;
    --text-grey: #4a4a4a;
    --whatsapp-green: #25D366;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-grey);
    background-color: var(--pure-white);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--dark-charcoal);
    font-weight: 600;
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* =========================================
   2. GLOBAL LAYOUT & UTILITIES
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }
.section-title { font-size: 3rem; margin-bottom: 10px; }
.section-subtitle {
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 50px;
    color: var(--primary-gold);
}
.center { text-align: center; }
.bg-light { background-color: var(--soft-white); }
.dark-section { background-color: var(--dark-charcoal); color: var(--pure-white); }
.white-text { color: var(--pure-white) !important; }
.gold-text { color: var(--primary-gold); }

/* =========================================
   3. BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary { background-color: var(--primary-gold); color: var(--pure-white); }
.btn-primary:hover { background-color: var(--secondary-gold); }

.btn-outline { border: 1px solid var(--primary-gold); color: var(--primary-gold); }
.btn-outline:hover { background-color: var(--primary-gold); color: var(--pure-white); }

.btn-dark { background-color: var(--dark-charcoal); color: var(--pure-white); }
.btn-dark:hover { background-color: var(--primary-gold); }

/* WhatsApp Button inside cards */
.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: white;
    border: 1px solid var(--whatsapp-green);
    display: flex; align-items: center; justify-content: center;
    gap: 10px; width: 100%; margin-top: 15px;
}
.btn-whatsapp:hover { background-color: #128C7E; color: white; border-color: #128C7E; }

/* =========================================
   4. NAVIGATION
   ========================================= */
.navbar {
    background: var(--pure-white);
    height: 80px;
    display: flex; justify-content: center; align-items: center;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-family: var(--font-heading); font-size: 1.8rem; color: var(--dark-charcoal); font-weight: 700; letter-spacing: 2px; }
.nav-menu { display: flex; align-items: center; }
.nav-link { margin-left: 30px; color: var(--dark-charcoal); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.nav-link:hover, .nav-link.highlight, .nav-link.active { color: var(--primary-gold); }

/* Mobile Menu Toggle */
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--dark-charcoal); transition: all 0.3s ease-in-out; }

/* =========================================
   5. HEADERS (HERO & PAGE HEADER)
   ========================================= */
/* Home Hero */
.hero {
    background: url('https://images.unsplash.com/photo-1595777457583-95e059d581b8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    height: 90vh;
    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.3); }
.hero-content { position: relative; z-index: 1; color: var(--pure-white); }
.hero-content h1 { font-size: 4.5rem; margin-bottom: 20px; color: var(--pure-white); }
.hero-content p { font-size: 1.5rem; margin-bottom: 30px; font-weight: 300; }

/* Sub-Page Header */
.page-header {
    background-size: cover; background-position: center;
    height: 50vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--pure-white);
    position: relative;
}
/* Darken sub-page headers slightly for text readability */
.page-header::before {
    content: ''; position: absolute; top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.4);
}
.header-content { position: relative; z-index: 2; }
.header-content h1 { font-size: 3.5rem; color: var(--pure-white); margin-bottom: 15px; }
.header-content p { font-size: 1.2rem; font-weight: 300; letter-spacing: 1px; }

/* =========================================
   6. SECTIONS (ABOUT, COLLECTIONS, INVEST)
   ========================================= */
/* About Grid */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image img { border-radius: 2px; box-shadow: 10px 10px 0px var(--primary-gold); }
.signature { font-family: var(--font-heading); font-size: 2rem; color: var(--primary-gold); margin-top: 20px; font-style: italic; }

/* Collection Grid */
.collection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.collection-card { background: var(--pure-white); transition: all 0.3s ease; cursor: pointer; }
.collection-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
/* Animation for filtering */
.collection-card.fade-in { animation: fadeIn 0.5s ease-in; }

.card-image { height: 400px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-info { padding: 25px; text-align: center; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Filter Bar */
.filter-bar { display: inline-flex; gap: 20px; margin-bottom: 20px; border-bottom: 1px solid #ddd; padding-bottom: 10px; }
.filter-bar span { cursor: pointer; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: #888; transition: 0.3s; }
.filter-bar span:hover, .filter-bar span.active { color: var(--primary-gold); font-weight: 600; border-bottom: 2px solid var(--primary-gold); }

/* Pricing/Invest Cards */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; align-items: center; }
.pricing-card { background: var(--pure-white); color: var(--text-grey); padding: 40px; text-align: center; position: relative; border: 1px solid #eee; transition: 0.3s; }
.pricing-card.featured { transform: scale(1.05); border: 2px solid var(--primary-gold); z-index: 10; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary-gold); color: white; padding: 5px 20px; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }
.roi { font-size: 2.5rem; color: var(--primary-gold); font-weight: 700; font-family: var(--font-heading); margin-bottom: 20px; }
.tier-body ul { margin-bottom: 30px; text-align: left; }
.tier-body li { padding: 10px 0; border-bottom: 1px solid #eee; }

/* Values/Philosophy Grid */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-top: 50px; text-align: center; }
.value-item i { font-size: 2.5rem; color: var(--primary-gold); margin-bottom: 20px; }
.value-item h3 { margin-bottom: 15px; font-size: 1.4rem; }

/* =========================================
   7. CONTACT & MAP
   ========================================= */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.info-item { margin-bottom: 30px; }
.info-item i { font-size: 1.2rem; margin-right: 10px; margin-bottom: 5px; display: block; }
.info-item h4 { color: var(--primary-gold); text-transform: uppercase; font-size: 0.9rem; }

.contact-form { background: var(--soft-white); padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; font-family: inherit; }

.map-section { width: 100%; line-height: 0; }
.map-section iframe { filter: grayscale(100%) contrast(1.2); transition: filter 0.5s ease; }
.map-section iframe:hover { filter: grayscale(0%); }

/* =========================================
   8. FOOTER & FLOATING ELEMENTS
   ========================================= */
footer { background: var(--dark-charcoal); color: #888; padding: 40px 0; text-align: center; border-top: 1px solid #333; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.socials a { color: #888; margin-left: 15px; font-size: 1.2rem; }
.socials a:hover { color: var(--primary-gold); }

/* Floating WhatsApp */
.float-whatsapp {
    position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px;
    background-color: var(--whatsapp-green); color: #FFF; border-radius: 50px;
    text-align: center; font-size: 30px; box-shadow: 2px 2px 3px #999;
    z-index: 100; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center;
}
.float-whatsapp:hover { background-color: #128C7E; transform: scale(1.1); }
.my-float { margin-top: 2px; }

/* =========================================
   9. RESPONSIVE DESIGN
   ========================================= */
@media(max-width: 768px) {
    .menu-toggle { display: block; }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-menu {
        position: fixed; left: -100%; top: 80px; gap: 0; flex-direction: column;
        background-color: var(--pure-white); width: 100%; text-align: center;
        transition: 0.3s; box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    .nav-menu.active { left: 0; }
    .nav-link { margin: 20px 0; display: block; }
    
    .hero-content h1 { font-size: 3rem; }
    .about-grid, .contact-container { grid-template-columns: 1fr; }
    .about-image { margin-bottom: 30px; }
    .pricing-card.featured { transform: scale(1); }
    .footer-content { flex-direction: column; gap: 20px; }
    .float-whatsapp { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 24px; }
}