/* Events by Leydi - Master Build 2026 
   THE UNABRIDGED EDITION: Restores ALL logic for:
   Home Hero, Split Nav, Process Grid, About/Inquire Frames, 
   Luxury Form Engine, and Portfolio Start Page.
*/

@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600&family=Lato:wght@300;400;700&family=Montserrat:wght@300;400;700&family=Pinyon+Script&family=Cinzel:wght@400;700&display=swap');

:root {
    --rose-gold: #b76e79;
    --soft-charcoal: #4a4a4a;
    --white: #ffffff;
    --grey-light: #fdfaf5;
    --border-light: #e0e0e0;
    --mist-overlay: rgba(255, 252, 249, 0.7); 
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- 1. CORE ENGINE & SCROLL CONTROL --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { 
    width: 100%; 
    background-color: var(--white); 
    font-family: 'Montserrat', sans-serif; 
    color: var(--soft-charcoal); 
    -webkit-font-smoothing: antialiased;
}

/* Home vs Content Scroll Logic */
body.page-home { overflow: hidden !important; height: 100vh; position: relative; }
body:not(.page-home) { overflow-y: auto !important; height: auto; min-height: 100vh; display: flex; flex-direction: column; }

/* --- 2. HEADER SYMMETRY (160px PC FIX) --- */
.main-header { 
    position: fixed; top: 0; width: 100%; height: 160px; 
    background: #fff; z-index: 9999; display: flex; align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container { 
    width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 40px; 
    display: flex; justify-content: space-between; align-items: center; 
}
.nav-side { flex: 1; display: flex; align-items: center; z-index: 10000; }
.left-nav { justify-content: flex-end; padding-right: 60px; }
.right-nav { justify-content: flex-start; padding-left: 60px; }

.nav-links { display: flex; gap: 40px; }
.nav-links a { 
    text-decoration: none; color: var(--soft-charcoal) !important; font-size: 11px; 
    font-weight: 700; text-transform: uppercase; letter-spacing: 2px; 
    transition: var(--transition);
}
.nav-links a:hover { color: var(--rose-gold) !important; }
.center-logo { height: 90px; width: auto; transition: var(--transition); display: block; }

/* --- 3. PAGE CONTENT WRAPPERS --- */
.page-content-wrapper { padding-top: 180px; padding-bottom: 120px; width: 100%; max-width: 1200px; margin: 0 auto; flex: 1; }
.container { width: 100%; padding: 0 5%; }

/* --- 4. TYPOGRAPHY --- */
.fancy-type { font-family: 'Pinyon Script', cursive; font-size: 4.5rem; color: var(--rose-gold); line-height: 1.1; font-weight: 400; text-shadow: 1px 1px 0px rgba(255,255,255,1); }
.eyebrow { font-size: 10px; letter-spacing: 5px; text-transform: uppercase; color: var(--rose-gold); display: block; margin-bottom: 15px; }
.paragraph { font-family: 'Lato', sans-serif; font-size: 16px; line-height: 2; color: #626262; font-weight: 300; }

/* --- 5. SOCIAL MEDIA REPAIR --- */
.quick-socials-hero { display: flex; gap: 35px; justify-content: center; margin-top: 40px; }
.quick-socials-hero a, .wsite-social-item, .social-link { 
    color: var(--soft-charcoal) !important; 
    font-size: 22px; 
    transition: var(--transition); 
    text-decoration: none !important; 
}
.quick-socials-hero a:hover, .wsite-social-item:hover { color: var(--rose-gold) !important; transform: translateY(-3px); }

/* --- 6. SERVICES & PROCESS GRID --- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: left; margin-top: 50px; }
.process-step { padding: 30px; border: 1px solid #f0f0f0; transition: var(--transition); background: #fff; }
.process-step:hover { border-color: var(--rose-gold); transform: translateY(-5px); }
.step-num { font-family: 'Cinzel', serif; font-size: 14px; color: var(--rose-gold); font-weight: 700; display: block; margin-bottom: 20px; }

/* --- 7. THE SIDE-BY-SIDE FRAMES (ABOUT & INQUIRE) --- */
.about-frame, .inquiry-frame { display: grid; grid-template-columns: 45% 1fr; gap: 80px; align-items: flex-start; }
.about-image-side, .inquiry-image-side { position: relative; height: 750px; }
.about-photo, .inquiry-photo { width: 100%; height: 100%; object-fit: cover; z-index: 2; position: relative; }
.image-accent-shadow { position: absolute; top: 30px; left: -30px; width: 100%; height: 100%; background: var(--grey-light); border: 1px solid var(--rose-gold); z-index: 1; }

/* --- 8. LUXURY FORM ENGINE --- */
.inquiry-content-side form { margin-top: 40px; }
.wsite-form-label, label { 
    display: block; font-family: 'Montserrat', sans-serif; font-size: 10px; 
    font-weight: 700; text-transform: uppercase; letter-spacing: 2px; 
    color: var(--soft-charcoal); margin-bottom: 10px; 
}
.wsite-form-input, input[type="text"], input[type="email"], textarea, select {
    width: 100%; padding: 15px 0; border: none; border-bottom: 1px solid var(--border-light);
    background: transparent; font-family: 'Lato', sans-serif; font-size: 15px;
    color: var(--soft-charcoal); transition: var(--transition); outline: none;
}
.wsite-form-input:focus, input:focus, textarea:focus { border-bottom: 1px solid var(--rose-gold); }
textarea { min-height: 120px; resize: vertical; }

body.page-inquire .btn-luxury {
    background-color: var(--rose-gold) !important; color: #fff !important;
    border: none; display: block; width: 100%; padding: 20px; margin-top: 40px;
}

/* --- 9. GALLERY GRID ENGINE --- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 50px; width: 100%; }
.gallery-item { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #fdfaf5; border: 1px solid rgba(0,0,0,0.03); }
.gallery-item a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--transition); }
.gallery-item:hover img { transform: scale(1.08); }

.category-overlay {
    position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0.8; transition: var(--transition);
}
.gallery-item:hover .category-overlay { background: rgba(183, 110, 121, 0.6); opacity: 1; }

/* --- 10. LUXURY PORTFOLIO START PAGE --- */
.portfolio-experience { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }
.feature-row { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; }
.specialty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.portfolio-hero-card, .portfolio-sub-card {
    position: relative; overflow: hidden; background: #000; display: block; height: 500px; text-decoration: none;
}
.portfolio-sub-card { height: 350px; }

.portfolio-hero-card img, .portfolio-sub-card img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 1.5s ease;
}
.portfolio-hero-card:hover img, .portfolio-sub-card:hover img { transform: scale(1.1); opacity: 0.5; }

.card-content {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; 
    justify-content: center; text-align: center; padding: 30px;
}
.btn-minimal {
    margin-top: 15px; color: #fff; font-size: 9px; text-transform: uppercase; 
    letter-spacing: 3px; border-bottom: 1px solid #fff; padding-bottom: 4px;
    opacity: 0; transform: translateY(10px); transition: 0.5s ease;
}
.portfolio-hero-card:hover .btn-minimal, .portfolio-sub-card:hover .btn-minimal { opacity: 1; transform: translateY(0); }

/* --- 11. HOME PAGE HERO STAGE --- */
.page-home .hero-stage { position: absolute; top: 160px; bottom: 100px; left: 4vw; right: 4vw; overflow: hidden; z-index: 10; display: flex; align-items: center; justify-content: center; }
.page-home .hero-image { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 1; }
.page-home .white-wash-overlay { position: absolute; inset: 0; background: var(--mist-overlay); z-index: 2; }
.page-home .hero-content { position: relative; z-index: 100; text-align: center; pointer-events: none; width: 100%; }
.page-home .hero-message-box { max-width: 850px; margin: 0 auto; pointer-events: auto; }

/* --- 12. BUTTONS & ELEGANT PAGE LINKS --- */
.btn-luxury { display: inline-block; background: transparent; color: var(--rose-gold) !important; padding: 15px 45px; text-decoration: none; text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: 2px; border: 1px solid var(--rose-gold); transition: var(--transition); cursor: pointer; text-align: center; }
.btn-luxury:hover { background: var(--rose-gold); color: #fff !important; }

/* SERVICES PAGE NAV - Removes the "Button" look from image provided */
.services-nav { display: flex; justify-content: center; gap: 40px; margin-bottom: 60px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.service-link { 
    font-size: 11px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; cursor: pointer; color: #999; 
    padding-bottom: 20px; border: none; background: none; text-decoration: none !important; transition: 0.3s;
}
.service-link:hover, .service-link.active { color: var(--rose-gold); border-bottom: 2px solid var(--rose-gold); }

/* --- 13. ELEGANT FOOTER --- */
.footer { width: 100%; padding: 60px 0; background: #fff; border-top: 1px solid #eee; display: flex; align-items: center; justify-content: center; z-index: 9999; }
body.page-home .footer { position: fixed; bottom: 0; }
body:not(.page-home) .footer { position: relative; margin-top: auto; }

.footer-content { text-align: center; }
.footer-content p { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #999; margin-bottom: 12px; }
.footer-contact-links a { color: var(--rose-gold); font-size: 12px; letter-spacing: 1px; text-decoration: none !important; margin: 0 15px; }

/* --- 14. MOBILE REPAIR (THE HAMBURGER FIX) --- */
@media (max-width: 991px) {
    .main-header { height: 100px; padding: 0 20px; }
    .center-logo { height: 70px !important; }
    
    .nav-links { display: none !important; }
    
    .menu-toggle { 
        display: block !important; 
        font-size: 26px; 
        color: var(--rose-gold); 
        cursor: pointer;
        z-index: 10002;
    }

    .mobile-nav-overlay {
        display: none; 
        position: fixed; inset: 0; background: #fff; z-index: 100000;
        flex-direction: column; align-items: center; justify-content: center;
    }
    .mobile-nav-overlay a {
        padding: 15px; text-decoration: none; font-size: 20px;
        color: var(--soft-charcoal); display: block; transition: 0.3s;
        font-family: 'Cinzel', serif; letter-spacing: 3px; text-transform: uppercase;
    }

    .page-content-wrapper { padding-top: 120px; }
    .process-grid { grid-template-columns: 1fr; }
}

.reveal { opacity: 0; transform: translateY(20px); transition: 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }