/* Landing Page Specific Styles - Extracted from LandingPage-Timoteo-753.html */

:root {
    --primary: #1a1a1a;
    --secondary: #2d2d2d;
    --accent: #c9a962;
    --accent-light: #d4b978;
    --accent-dark: #a68b4a;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --bg-dark: #0d0d0d;
}

/* Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #1a1a1a, #333333, #1a1a1a);
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 48px;
    height: 48px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(201, 169, 98, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(201, 169, 98, 0.6);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(13, 13, 13, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 850px;
    padding: 1.5rem 2rem;
    animation: fadeInUp 1.2s ease forwards;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201, 169, 98, 0.2);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 169, 98, 0.15);
    border: 1px solid var(--accent);
    padding: 0.5rem 1.2rem;
    margin-bottom: 0;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.hero-title span {
    display: block;
    font-style: italic;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 2rem auto 0;
}

.decorative-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 auto 1.5rem;
}

/* Stats */
.stats-bar {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    padding: 3.5rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    border-bottom: 1px solid rgba(201, 169, 98, 0.2);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

/* Standard WP Content & Sections to match static HTML */
.landing-content-wrapper section {
    padding: 7rem 5%;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 300;
}

/* Gallery Grid Fixes */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ============================================================
   LIGHT MODE — Landing Page (template-landing.php)
   Warm luxury palette, alternating backgrounds, strong form borders.
   ============================================================ */

/* Landing contact section background */
[data-theme="light"] .landing-contact {
    background: #F0ECE3 !important;
    border-top: 1px solid rgba(176, 141, 85, 0.15);
}

/* Landing page content sections alternation */
[data-theme="light"] .landing-content-wrapper {
    background: #FFFFFF;
}

[data-theme="light"] .landing-content-wrapper section:nth-child(even) {
    background: #F5F2EB;
}

[data-theme="light"] .landing-content-wrapper section:nth-child(odd) {
    background: #FFFFFF;
}

/* Stats bar warm band */
[data-theme="light"] .stats-bar {
    background: linear-gradient(135deg, #EDE8DC 0%, #E6E0D2 100%) !important;
    border-top: 1px solid #D5CFC4 !important;
    border-bottom: 1px solid #D5CFC4 !important;
}

[data-theme="light"] .stat-number {
    color: #8A6E3E !important;
}

[data-theme="light"] .stat-label {
    color: #555 !important;
    font-weight: 600 !important;
}

/* Section headers */
[data-theme="light"] .section-label {
    color: #8A6E3E !important;
    font-weight: 700 !important;
}

[data-theme="light"] .section-title {
    color: #1a1a1a !important;
}

[data-theme="light"] .section-description {
    color: #666 !important;
}

/* Form inputs in landing-contact */
[data-theme="light"] .landing-contact-container input,
[data-theme="light"] .landing-contact-container select,
[data-theme="light"] .landing-contact-container textarea {
    background: #FAFAF8 !important;
    border: 2px solid #B5AE9E !important;
    color: #1a1a1a !important;
    border-radius: 8px !important;
}

[data-theme="light"] .landing-contact-container input:focus,
[data-theme="light"] .landing-contact-container select:focus,
[data-theme="light"] .landing-contact-container textarea:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 4px rgba(176, 141, 85, 0.15) !important;
    outline: none !important;
    background: #FFFFFF !important;
}

[data-theme="light"] .landing-contact-container label {
    color: #2a2a2a !important;
    font-weight: 600 !important;
}

[data-theme="light"] .landing-contact-container input::placeholder,
[data-theme="light"] .landing-contact-container textarea::placeholder {
    color: #999 !important;
}

/* Hero light mode (stays dark for image contrast) */
[data-theme="light"] .hero-content {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 98, 0.6);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

/* Gallery items in light mode */
[data-theme="light"] .gallery-item {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #E0DAD0;
}

[data-theme="light"] .gallery-item:hover {
    border-color: var(--accent);
}

/* Decorative line */
[data-theme="light"] .decorative-line {
    background: linear-gradient(90deg, transparent, #B08D55, transparent) !important;
}

/* Mobile Fixes for Landing Page */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .about-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
