/* Islamic Premium Theme */
:root {
    --navy-blue: #0A192F;
    --navy-light: #112240;
    --gold: #D4AF37;
    --gold-light: #FCEABB;
    --white-art: #F8F9FA;
    --text-desc: #A8B2D1;

    --font-heading: 'Amiri', serif;
    --font-body: 'Noto Serif', serif;
}

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

body {
    font-family: var(--font-body);
    background:
        linear-gradient(rgba(10, 25, 47, 0.78), rgba(10, 25, 47, 0.9)),
        url('assets/bg.png') center/cover fixed no-repeat;
    color: var(--white-art);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text, .brand-logo, .arabic-bismillah {
    font-family: var(--font-heading);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}
.container-narrow { max-width: 700px; }
.text-center { text-align: center; }

/* Entrance Overhead */
.entrance-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        linear-gradient(rgba(17, 34, 64, 0.74), rgba(10, 25, 47, 0.84)),
        url('assets/bg.png') center/cover no-repeat;
}

.pattern-door {
    position: absolute;
    top: 0; height: 100%; width: 50%;
    background-color: var(--navy-light);
    background-image: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M30 0l30 30-30 30L0 30z" stroke="%23D4AF37" stroke-opacity="0.1" fill="none" /></svg>');
    transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.left-door { left: 0; border-right: 2px solid var(--gold); }
.right-door { right: 0; border-left: 2px solid var(--gold); }

.entrance-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: opacity 0.5s, transform 0.5s;
}

.lantern-box {
    margin-bottom: 20px;
}

.icon-glow {
    font-size: 3.5rem;
    color: var(--gold);
    filter: drop-shadow(0 0 15px rgba(212,175,55,0.6));
}

.logo-text {
    font-size: 2.5rem;
    color: var(--gold-light);
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.open-btn {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    letter-spacing: 1px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s;
}

.open-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: var(--gold);
    transition: left 0.4s;
    z-index: -1;
}

.open-btn:hover { color: var(--navy-blue); }
.open-btn:hover::before { left: 0; }

.hidden { display: none; }

/* Main layout setup */
#main-content {
    opacity: 0;
    transition: opacity 1.5s ease;
}

/* Nav */
.top-nav {
    padding: 20px 0;
    position: absolute;
    top: 0; left: 0; width: 100%;
    z-index: 10;
}
.nav-split {
    display: flex; justify-content: space-between; align-items: center;
}
.brand-logo { max-height: 40px; font-weight: bold; color: var(--gold); display: flex;}
.nav-text { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase;}

/* Hero Canvas */
.hero-canvas {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 100px 20px 40px;
}

.opacity-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 0l20 20-20 20L0 20z" stroke="%23D4AF37" stroke-opacity="0.05" fill="none" /></svg>');
    z-index: 0;
}

.hero-framed {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(212,175,55,0.3);
    padding: 80px 40px;
    text-align: center;
    background: rgba(10,25,47,0.8);
    backdrop-filter: blur(5px);
    max-width: 800px;
    margin: 0 auto;
}

.ornament {
    position: absolute;
    width: 30px; height: 30px;
    border: 2px solid var(--gold);
}
.top-left { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.top-right { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.bottom-left { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.bottom-right { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.salutation {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--gold-light);
    margin-bottom: 20px;
}

.separator-art {
    width: 80px; height: 2px;
    background: var(--gold);
    margin: 0 auto 30px;
    position: relative;
}
.separator-art::after {
    content: '✦';
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 1.2rem;
    background: var(--navy-blue);
    padding: 0 10px;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--white-art);
    letter-spacing: 1px;
}

.star-cluster {
    margin-top: 40px;
    color: var(--gold);
    font-size: 1rem;
    display: flex; gap: 15px; justify-content: center;
}
.s-2 { transform: translateY(10px); font-size: 1.2rem; }

/* Scroll Anim Class */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}
.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Message Section */
.message-section {
    padding: 80px 0;
    background: var(--navy-light);
    text-align: center;
    border-top: 1px solid rgba(212,175,55,0.1);
    border-bottom: 1px solid rgba(212,175,55,0.1);
}

.arabic-bismillah {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.msg-title {
    font-size: 2rem;
    color: var(--gold-light);
    margin-bottom: 30px;
}

.msg-body {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 20px;
}

.secondary-msg {
    color: var(--text-desc);
    font-size: 1.05rem;
}

/* Appreciation Grid */
.appreciation-section {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 60px;
}

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

.art-card {
    background: rgba(17,34,64,0.5);
    border: 1px solid rgba(212,175,55,0.2);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
}
.art-card:hover {
    background: rgba(17,34,64,1);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.art-card h4 {
    color: var(--gold-light);
    font-size: 1.4rem;
    margin-bottom: 15px;
}
.art-card p {
    color: var(--text-desc);
}

/* Response Section */
.response-section {
    padding: 60px 0 100px;
}

.response-framed {
    border: 1px solid rgba(212,175,55,0.3);
    padding: 60px 40px;
    text-align: center;
    background: var(--navy-light);
    position: relative;
}

.response-title {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
}
.response-desc {
    color: var(--text-desc);
    margin-bottom: 40px;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-blue);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
    background: transparent;
    color: var(--white-art);
    border: 1px solid var(--white-art);
    padding: 12px 30px;
    font-size: 1rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background 0.3s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.cultural-form {
    display: none;
    margin-top: 30px;
    text-align: left;
    animation: fadeIn 0.5s ease;
}

.input-wrap {
    margin-bottom: 20px;
}
.input-wrap input, .input-wrap textarea {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(212,175,55,0.3);
    padding: 15px;
    color: var(--white-art);
    font-family: var(--font-body);
}
.input-wrap input:focus, .input-wrap textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-btn-group {
    display: flex; gap: 15px; margin-top: 20px;
}

.form-status {
    margin-top: 16px;
    color: var(--text-desc);
}

.form-status.is-error {
    color: #fecaca;
}

.form-status.is-success {
    color: #bbf7d0;
}

@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }

/* Footer */
.art-footer {
    padding: 40px 0;
    border-top: 2px solid var(--navy-light);
    background: #060F1E;
}

.footer-brand {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.footer-contacts {
    color: var(--text-desc);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}
.social-icons {
    margin-bottom: 20px;
}
.social-icons a {
    color: var(--gold);
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s;
}
.social-icons a:hover { color: var(--gold-light); }

.copyright {
    color: var(--text-desc);
    font-size: 0.8rem;
    padding-top: 20px;
    border-top: 1px solid rgba(212,175,55,0.1);
}

@media (max-width: 768px) {
    .salutation { font-size: 2.5rem; }
    .hero-framed { padding: 40px 20px; border: none;}
    .nav-split { flex-direction: column; gap: 10px; }
}
