/* ═══════════════════════════════════════════
   MASHRABIYA LUXURY THEME (FULL VERSION)
   Traditional Lattice & Warm Lantern Glow
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi:wght@400;700&family=Playfair+Display:wght@400;700&family=Noto+Naskh+Arabic:wght@400;700&display=swap');

:root {
    --mash-dark: #1A110A;
    --mash-wood: #3D2B1F;
    --mash-wood-light: #4E3B2C;
    --mash-gold: #C5A059;
    --mash-amber: #FFBF00;
    --mash-cream: #FFFDD0;
    --mash-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Reem Kufi', 'Noto Naskh Arabic', serif;
    background-color: var(--mash-dark);
    color: var(--mash-cream);
    scroll-behavior: smooth;
    direction: rtl;
}

/* Lantern Glow Canvas */
#lanternGlow {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Lattice Overlay */
.lattice-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h80v80H0V0zm40 5L5 40l35 35 35-35L40 5zM10 40l30-30 30 30-30 30-30-30z' fill='%233D2B1F' fill-opacity='0.2'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Nav */
.mash-nav {
    background: rgba(26, 17, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--mash-wood);
    padding: 1rem 0;
    position: fixed;
    width: 100%; top: 0; z-index: 1000;
}

.brand-mash {
    font-size: 2rem;
    color: var(--mash-gold);
}

/* Hero */
.mash-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.mash-hero-box {
    background: rgba(61, 43, 31, 0.4);
    border: 15px double var(--mash-wood-light);
    padding: 5rem;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 0 100px rgba(255, 191, 0, 0.05);
    backdrop-filter: blur(10px);
}

.mash-names {
    font-size: 5rem;
    color: var(--mash-gold);
    margin-bottom: 2rem;
}

.mash-ampersand {
    font-family: 'Playfair Display';
    font-size: 2rem;
    color: var(--mash-cream);
}

@media (max-width: 768px) {
    .mash-ampersand { font-size: 1.5rem; }
}

/* Section Title */
.mash-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.mash-title {
    font-size: 3.5rem;
    color: var(--mash-gold);
    text-align: center;
    margin-bottom: 5rem;
}

/* Cards */
.mash-card {
    background: rgba(61, 43, 31, 0.3);
    border: 1px solid var(--mash-wood-light);
    padding: 3rem;
    border-radius: 20px;
    transition: 0.4s;
    text-align: center;
}

.mash-card:hover { border-color: var(--mash-gold); transform: translateY(-10px); }

.mash-img-wrap {
    width: 200px; height: 200px;
    margin: 0 auto 2rem;
    border: 5px solid var(--mash-wood);
    border-radius: 20px;
    overflow: hidden;
}

/* Forms */
.mash-form-box {
    background: var(--mash-wood);
    padding: 5rem;
    border-radius: 30px;
    border: 2px solid var(--mash-gold);
}

.mash-input {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--mash-wood-light);
    color: var(--mash-cream);
    padding: 1.2rem;
    border-radius: 10px;
    width: 100%;
}

.mash-input:focus { border-color: var(--mash-gold); outline: none; }

.mash-btn {
    background: var(--mash-gold);
    color: var(--mash-dark);
    font-weight: 700;
    padding: 1.2rem;
    border-radius: 10px;
    width: 100%;
    margin-top: 1rem;
    font-size: 1.2rem;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .mash-names { font-size: 3rem; }
    .mash-title { font-size: 2.8rem; margin-bottom: 3rem; }
    .mash-hero-box { padding: 2.5rem 1.5rem; border-width: 8px; }
    .mash-hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 60px;
    }
    .mash-section { padding: 60px 0; }
    .mash-form-box { padding: 3rem 1.5rem; }
    .mash-card { padding: 2.5rem 1.5rem; }
}

@media (max-width: 480px) {
    .mash-names { font-size: 2.4rem; }
    .mash-title { font-size: 2.2rem; }
}
