/* ================================================
   styles.css — Verdant Musical
   ================================================ */

/* ----- Fonts ----- */
body {
    font-family: 'DM Sans', sans-serif;
}

.font-display,
h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
}

html {
    scroll-behavior: smooth;
}

/* ----- Utilities ----- */
.highlight {
    color: #7c3aed;
}

.btn-primary {
    display: inline-block;
    background-color: #7c3aed;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
    text-decoration: none;
}
.btn-primary:hover {
    background-color: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.form-input {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: #1f2937;
    width: 100%;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    background: #fff;
}
.form-input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

/* ================================================
   NAV LINK
   ================================================ */
.nav-link {
    color: #4b5563;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}
.nav-link:hover,
.nav-link.active {
    color: #7c3aed;
}

/* ================================================
   SCROLL PROGRESS BAR
   ================================================ */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(to right, #7c3aed, #a78bfa);
    z-index: 9999;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ================================================
   HERO SECTION
   ================================================
   HOW TO ADD A BACKGROUND IMAGE:
   1. Create an "images/" folder next to your index.html
   2. Put your image in it (e.g. images/hero-bg.jpg)
   3. Replace the url() value below with your image path
   4. Adjust background-size and background-position as needed

   If NO background image: the gradient fallback shows instead.
   ================================================ */
.hero-section {
    position: relative;

    /* === OPTION A: Background IMAGE (recommended) ===
       Uncomment the line below and set your image path: */
    /* background-image: url('images/hero-bg.jpg'); */

    /* === OPTION B: Gradient only (default) === */
    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 50%, #eef2ff 100%);

    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* use 'fixed' for parallax bg effect */
}

/* Dark overlay — only visible when background image is set */
.hero-overlay {
    position: absolute;
    inset: 0;
    /* Uncomment below if using a background image for readability: */
    /* background: rgba(0, 0, 0, 0.45); */
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

/* When using a bg image, make hero text white */
/* Uncomment this block if your hero has a dark overlay:
.hero-section .hero-content h1,
.hero-section .hero-content blockquote,
.hero-section .hero-content p {
    color: #fff;
}
*/

/* ================================================
   SCROLL REVEAL ANIMATIONS
   ================================================ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ================================================
   HAMBURGER BUTTON
   ================================================ */
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1f2937;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}
.hamburger-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.99);
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(124, 58, 237, 0.14);
}


.stat-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(124, 58, 237, 0.12);
}


.testimonial-card {
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.modal-box {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px 48px;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    transform: scale(0.92);
    transition: transform 0.3s ease;
}
.modal-overlay.open .modal-box {
    transform: scale(1);
}
.modal-box h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    color: #1e1b4b;
    margin-bottom: 12px;
}
.modal-box p {
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 18px;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}
.modal-close:hover { color: #7c3aed; }


@keyframes ripple {
    to { transform: scale(2.5); opacity: 0; }
}


@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeInUp 0.55s ease forwards;
}