/* ===== FONTS & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

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

body {
    font-family: 'Vazirmatn', sans-serif;
}

/* ===== TAILWIND EXTENSIONS ===== */
.font-vazir { font-family: 'Vazirmatn', sans-serif; }

/* ===== COLORS ===== */
:root {
    --gold: #30424E;
    --gold-dark: #263645;
    --black: #0a0a0a;
}

.text-gold  { color: var(--gold); }
.bg-gold    { background-color: var(--gold); }
.border-gold { border-color: var(--gold); }

/* ===== BUTTONS ===== */
.btn-gold {
    background-color: var(--gold);
    color: #fff;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
}
.btn-gold:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-outline-black {
    border: 2px solid #111;
    color: #111;
    transition: all 0.3s;
}
.btn-outline-black:hover {
    background: #111;
    color: #fff;
}

/* ===== NAVBAR ===== */
#navbar { transition: background 0.4s, box-shadow 0.4s, padding 0.4s; }
#navbar.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 24px rgba(0,0,0,0.10);
    padding-top: 1rem;
    padding-bottom: 1rem;
}
#navbar.scrolled .nav-link,
#navbar.scrolled .logo-text { color: #111; }
#navbar.scrolled .logo-text span { color: var(--gold); }

/* ===== HERO ===== */
.hero-bg {
    transform: scale(1.05);
    transition: transform 8s ease-out;
}
body.loaded .hero-bg { transform: scale(1); }

/* ===== SCROLL INDICATOR ===== */
.scroll-dot {
    animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%       { transform: translateY(12px); opacity: 0.3; }
}

/* ===== PARALLAX ===== */
.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .parallax-section { background-attachment: scroll; }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-up    { transform: translateY(50px); }
.reveal-left  { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;transform: translate(0, 0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.30s; }
.delay-3 { transition-delay: 0.45s; }

/* ===== PORTFOLIO OVERLAY ===== */
.portfolio-item { cursor: pointer; }
.portfolio-overlay { transition: opacity 0.35s ease; }

/* ===== SERVICE CARD ===== */
.service-card { min-height: 320px; }
/* ===== FILTER BUTTONS ===== */
.filter-btn {
    border: 2px solid #e5e7eb;
    color: #555;
    transition: all 0.3s;
    background: white;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);color: #000;
}
/* ===== DETAIL HERO ZOOM ===== */
.detail-hero-img {
    transition: transform 6s ease-out;
}
body.loaded .detail-hero-img {
    transform: scale(1);
}
/* ===== CONTACT FORM ===== */
.contact-input {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;background: #fafafa;
}
.contact-input:focus {
    border-color: var(--gold);
    background: white;
}
