/* FolkLegacy — shared site styles */

:root {
    --primary-burgundy: #8B2635;
    --secondary-gold: #D4AF37;
    --accent-terracotta: #C97D60;
    --warm-cream: #F5E6D3;
    --deep-charcoal: #2C2C2C;
    --sage-green: #9CAF88;
}

iframe {
    margin: 0 auto;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, var(--warm-cream) 0%, #F0E4D0 100%);
    color: var(--deep-charcoal);
}

.hero-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(139, 38, 53, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Navigation */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

#mobile-nav {
    display: none;
}

#mobile-nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 60;
    flex-direction: column;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5E6D3 100%);
    padding: 1.5rem;
    overflow-y: auto;
}

/* Typography & accents */
.text-gradient {
    background: linear-gradient(135deg, #8B2635, #C97D60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #C97D60, transparent);
    margin: 4rem 0;
}

.ornament {
    font-size: 2rem;
    color: #D4AF37;
    opacity: 0.6;
}

.cross-link {
    color: #8B2635;
    text-decoration: underline;
    text-decoration-color: #D4AF37;
    transition: all 0.3s ease;
}

.cross-link:hover {
    color: #C97D60;
    text-decoration-color: #8B2635;
}

/* Color utilities */
.bg-primary-burgundy { background-color: #8B2635; }
.text-primary-burgundy { color: #8B2635; }
.bg-secondary-gold { background-color: #D4AF37; }
.text-secondary-gold { color: #D4AF37; }
.bg-accent-terracotta { background-color: #C97D60; }
.bg-sage-green { background-color: #9CAF88; }
.bg-deep-charcoal { background-color: #2C2C2C; }

/* Cards & interactions */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 38, 53, 0.2);
}

.staggered-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.staggered-card:hover {
    transform: translateY(-12px) rotate(1deg);
    box-shadow: 0 25px 50px rgba(139, 38, 53, 0.25);
}

.tilt-card {
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.tilt-card:nth-child(even) {
    transform: rotate(1deg);
}

.tilt-card:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.region-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.region-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.region-card:hover::before {
    top: -100%;
    left: -100%;
}

.region-card:hover {
    transform: scale(1.1) rotate(2deg);
    z-index: 5;
}

.featured-large {
    grid-column: span 2;
}

/* List / filter sidebar */
.filter-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(139, 38, 53, 0.15);
}

/* About page timeline */
.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: #D4AF37;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #8B2635;
    border: 3px solid #D4AF37;
}

/* Contact form */
.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #E5E5E5;
    border-radius: 0.5rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #8B2635;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #8B2635, #C97D60);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 38, 53, 0.3);
}

.contact-card {
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .hero-pattern {
        background-size: 20px 20px;
    }

    .featured-large {
        grid-column: span 1;
    }

    .tilt-card {
        transform: rotate(0deg) !important;
        margin-top: 0 !important;
    }

    .tilt-card:nth-child(even) {
        transform: rotate(0deg) !important;
    }

    .region-card {
        transform: rotate(0deg) !important;
        margin-top: 0 !important;
    }

    .staggered-card {
        transform: none !important;
    }

    .staggered-card:hover {
        transform: translateY(-8px) !important;
    }
}
