/* ==========================================================================
   Singing Officiant - Edgar Andres Zorrilla
   Bold modern redesign — Unbounded + Outfit
   ========================================================================== */

:root {
    --bg-dark: #141414;
    --bg-light: #FAFAF7;
    --bg-card: #F0EEEB;
    --text-primary: #1A1A1A;
    --text-secondary: #6B6860;
    --text-light: #FAFAF7;
    --accent: #C4613A;
    --accent-hover: #D97B4A;
    --accent-subtle: rgba(196, 97, 58, 0.08);
    --border-subtle: #E0DDD8;
}

/* ---- Base ---- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-primary);
}

/* Accent bar at top */
.accent-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #D97B4A, var(--accent));
    z-index: 999;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

.section-tag {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-heading {
    margin-bottom: 3rem;
}

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 97, 58, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: heroGlow 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-weight: 900;
    font-size: clamp(3.5rem, 11vw, 11rem);
    line-height: 0.92;
    letter-spacing: -0.03em;
    margin-bottom: 0;
}

.hero-title .line-1 {
    display: block;
    color: var(--text-light);
    animation: slideUp 0.8s ease-out both;
}

.hero-title .line-2 {
    display: block;
    color: var(--accent);
    animation: slideUp 0.8s ease-out 0.15s both;
}

.hero-divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 2rem auto;
    animation: growWidth 0.6s ease-out 0.5s both;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(250, 250, 247, 0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.hero-location {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(250, 250, 247, 0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0.25rem 0 0;
    animation: slideUp 0.8s ease-out 0.7s both;
}

.hero-quote {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: rgba(250, 250, 247, 0.35);
    
    margin: 2.5rem auto 0;
    font-style: italic;
    animation: slideUp 0.8s ease-out 0.85s both;
}

.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(250, 250, 247, 0.2);
    font-size: 1.2rem;
    animation: bounce 2s ease-in-out 2s infinite;
    z-index: 2;
}

/* ---- About ---- */
.about {
    padding: 7rem 0 5rem;
}

.bio-photo {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.about h2 {
    color: var(--accent);
}

.location-badge {
    background: var(--accent-subtle);
    border: 1px solid var(--border-subtle);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.location-badge i {
    color: var(--accent);
    margin-right: 0.25rem;
}

.contact-block {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.contact-block p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-block p:last-child {
    margin-bottom: 0;
}

.contact-block i {
    color: var(--accent);
    width: 20px;
    margin-right: 0.5rem;
}

/* ---- Services ---- */
.services {
    padding: 5rem 0;
    background: var(--bg-card);
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: left;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--accent-subtle);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-wrap i {
    font-size: 1.25rem;
    color: var(--accent);
}

.service-card h4 {
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 0;
}

/* ---- CTA ---- */
.cta {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.cta h2 {
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-light);
    line-height: 1.1;
}

.cta-divider {
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin: 1.5rem auto;
}

.cta-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.cta-link {
    color: rgba(250, 250, 247, 0.6);
    font-size: 1.1rem;
    font-weight: 300;
    transition: color 0.3s ease;
}

.cta-link:hover {
    color: var(--accent);
}

.cta-link i {
    color: var(--accent);
    margin-right: 0.5rem;
}

/* ---- Instagram ---- */
.instagram-section {
    padding: 5rem 0;
}

.instagram-embed-container {
    max-width: 540px;
    margin: 0 auto;
}

/* ---- Footer ---- */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(250, 250, 247, 0.06);
    padding: 3rem 1rem;
}

.footer a {
    color: rgba(250, 250, 247, 0.4);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer a:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.footer p {
    color: rgba(250, 250, 247, 0.25);
    font-size: 0.8rem;
    margin: 0;
}

/* ---- Animations ---- */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growWidth {
    from { width: 0; }
    to { width: 60px; }
}

@keyframes heroGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .about {
        padding: 5rem 0 4rem;
    }

    .bio-photo {
        max-width: 240px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
    }

    .hero-title {
        letter-spacing: -0.02em;
    }

    .service-card {
        padding: 1.5rem;
    }

    .services {
        padding: 4rem 0;
    }

    .cta {
        padding: 4rem 0;
    }

    .cta-contacts {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-quote {
        font-size: 0.95rem;
    }

    .location-badge {
        display: block;
        text-align: center;
    }

    .about {
        padding: 4rem 0 3rem;
    }

    .bio-photo {
        max-width: 200px;
    }
}
