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

:root {
    --bg-dark: #1e2e72;
    --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;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    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);
    padding: 1rem 1.5rem;
    border-radius: 6px;
    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: 6px;
}

.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 (minimal) ---- */
.services-min {
    padding: 2.5rem 0 2rem;
    background: var(--bg-card);
}

.svc {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.svc i {
    color: var(--accent);
    font-size: 0.8rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.svc strong {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.svc p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.45;
}

/* ---- 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;
}

/* ---- Hero IG Link ---- */
.hero-ig-link {
    display: inline-block;
    margin-top: 2rem;
    color: rgba(250, 250, 247, 0.35);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    animation: slideUp 0.8s ease-out 1s both;
}

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

.hero-ig-link i {
    margin-right: 0.35rem;
}

/* ---- Blog ---- */
.blog {
    padding: 5rem 0;
}

.blog-post-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.blog-post-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.blog-credits {
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.blog-credits-title {
    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;
}

.blog-credits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.blog-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 0.5rem;
    vertical-align: middle;
    object-fit: cover;
    background: var(--accent-subtle);
}

.blog-credits-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.blog-credits-list li span {
    color: var(--text-secondary);
    font-weight: 300;
    margin-left: 0.25rem;
}

.blog-photo-credit {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.blog-photo-credit i {
    color: var(--accent);
    margin-right: 0.25rem;
}

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

.instagram-embed-container iframe {
    max-width: 100% !important;
}

/* ---- Bottom Nav ---- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 0.75rem 0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

.bottom-nav a {
    color: rgba(250, 250, 247, 0.5);
    font-size: 1.25rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav a:hover {
    color: var(--accent);
    transform: scale(1.15);
}

/* ---- Footer ---- */
.footer {
    background: var(--bg-dark);
    padding: 3rem 1rem 4rem;
}

.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;
    }

    .cta {
        padding: 4rem 0;
    }

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

    .bottom-nav {
        padding: 1rem 0;
        gap: 3rem;
    }

    .bottom-nav a {
        font-size: 2rem;
    }

    .instagram-embed-container {
        max-width: 100%;
    }

    .instagram-media {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .footer {
        padding: 3rem 1rem 5rem;
    }
}

@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;
    }
}
