/**
 * EFW Core Styles
 * Glamorous gold & black theme for Extremadura Fashion Week
 */

/* =====================================================
   CSS Variables - Luxurious Gold & Black Theme
   ===================================================== */

:root {
    /* Primary - Gold tones */
    --efw-gold: #d4af37;
    --efw-gold-light: #f0d890;
    --efw-gold-dark: #b8860b;
    --efw-gold-shine: linear-gradient(135deg, #d4af37 0%, #f0d890 50%, #d4af37 100%);

    /* Secondary - Black tones */
    --efw-black: #0a0a0a;
    --efw-black-soft: #1a1a1a;
    --efw-charcoal: #2d2d2d;

    /* Accent colors */
    --efw-white: #ffffff;
    --efw-cream: #f5f5dc;
    --efw-gray: #888888;
    --efw-gray-light: #cccccc;

    /* Semantic */
    --efw-success: #4ade80;
    --efw-warning: #fbbf24;
    --efw-danger: #f87171;

    /* Shadows */
    --efw-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --efw-shadow-gold: 0 4px 30px rgba(212, 175, 55, 0.3);
    --efw-shadow-lg: 0 10px 60px rgba(0, 0, 0, 0.5);

    /* Typography */
    --efw-font-primary: 'Playfair Display', Georgia, serif;
    --efw-font-secondary: 'Montserrat', -apple-system, sans-serif;

    /* Spacing */
    --efw-radius: 0;
    --efw-radius-sm: 0;
    --efw-radius-lg: 0;
}

/* =====================================================
   Cookie Banner - Elegant Dark Style
   ===================================================== */

.efw-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    border-top: 1px solid var(--efw-gold);
    padding: 20px;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.efw-cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.efw-cookie-content p {
    color: var(--efw-white);
    margin: 0;
    font-family: var(--efw-font-secondary);
    font-size: 0.95rem;
}

.efw-cookie-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.efw-cookie-link {
    color: var(--efw-gold) !important;
    text-decoration: underline;
    font-size: 0.9rem;
}

/* =====================================================
   Buttons - Luxurious Style
   ===================================================== */

.efw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-family: var(--efw-font-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.efw-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.efw-btn:hover::before {
    left: 100%;
}

.efw-btn-primary {
    background: var(--efw-gold);
    color: var(--efw-black) !important;
    box-shadow: var(--efw-shadow-gold);
}

.efw-btn-primary:hover {
    background: var(--efw-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.5);
}

.efw-btn-secondary {
    background: transparent;
    color: var(--efw-gold) !important;
    border: 2px solid var(--efw-gold);
}

.efw-btn-secondary:hover {
    background: var(--efw-gold);
    color: var(--efw-black) !important;
}

.efw-btn-white {
    background: var(--efw-white);
    color: var(--efw-black) !important;
}

.efw-btn-white:hover {
    background: var(--efw-cream);
}

/* =====================================================
   Hero Section
   ===================================================== */

.efw-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--efw-black);
    overflow: hidden;
}

.efw-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.efw-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.efw-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
}

.efw-hero-title {
    font-family: var(--efw-font-primary);
    font-size: 5rem;
    font-weight: 400;
    color: var(--efw-white);
    line-height: 1.1;
    margin: 0 0 20px 0;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.efw-hero-title span {
    color: var(--efw-gold);
    display: block;
}

.efw-hero-subtitle {
    font-family: var(--efw-font-secondary);
    font-size: 1.3rem;
    color: var(--efw-gray-light);
    font-weight: 300;
    margin: 0 0 50px 0;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.efw-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   Sections
   ===================================================== */

.efw-section {
    padding: 100px 0;
    position: relative;
}

.efw-section-dark {
    background: var(--efw-black);
    color: var(--efw-white);
}

.efw-section-light {
    background: var(--efw-white);
    color: var(--efw-black);
}

.efw-section-charcoal {
    background: var(--efw-charcoal);
    color: var(--efw-white);
}

.efw-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.efw-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.efw-section-label {
    display: inline-block;
    font-family: var(--efw-font-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--efw-gold);
    margin-bottom: 20px;
    position: relative;
}

.efw-section-label::before,
.efw-section-label::after {
    content: '—';
    margin: 0 15px;
    opacity: 0.5;
}

.efw-section-title {
    font-family: var(--efw-font-primary);
    font-size: 3rem;
    font-weight: 400;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.efw-section-dark .efw-section-title {
    color: var(--efw-white);
}

.efw-section-subtitle {
    font-family: var(--efw-font-secondary);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    margin: 0;
    opacity: 0.8;
}

/* =====================================================
   Blog Cards
   ===================================================== */

.efw-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.efw-blog-card {
    background: var(--efw-black-soft);
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
}

.efw-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--efw-shadow-lg);
}

.efw-blog-card-image {
    position: relative;
    display: block;
    height: 250px;
    overflow: hidden;
}

.efw-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.efw-blog-card:hover .efw-blog-card-image img {
    transform: scale(1.1);
}

.efw-blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
}

.efw-blog-card-content {
    padding: 30px;
}

.efw-blog-card-date {
    font-family: var(--efw-font-secondary);
    font-size: 0.8rem;
    color: var(--efw-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.efw-blog-card-title {
    font-family: var(--efw-font-primary);
    font-size: 1.4rem;
    margin: 15px 0;
    line-height: 1.3;
}

.efw-blog-card-title a {
    color: var(--efw-white);
    text-decoration: none;
    transition: color 0.3s;
}

.efw-blog-card-title a:hover {
    color: var(--efw-gold);
}

.efw-blog-card-excerpt {
    font-family: var(--efw-font-secondary);
    font-size: 0.95rem;
    color: var(--efw-gray);
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.efw-blog-card-link {
    font-family: var(--efw-font-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--efw-gold) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.efw-blog-card-link:hover {
    gap: 15px;
}

/* =====================================================
   Gallery Grid
   ===================================================== */

.efw-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.efw-gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.efw-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.efw-gallery-item:hover img {
    transform: scale(1.1);
}

.efw-gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.efw-gallery-item:hover .efw-gallery-item-overlay {
    opacity: 1;
}

.efw-gallery-icon {
    font-size: 3rem;
    color: var(--efw-gold);
    font-weight: 200;
}

.efw-gallery-title {
    font-family: var(--efw-font-secondary);
    font-size: 0.9rem;
    color: var(--efw-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 15px;
}

/* Gallery Filter */
.efw-gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.efw-filter-btn {
    padding: 12px 25px;
    font-family: var(--efw-font-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--efw-gold);
    color: var(--efw-gold);
    cursor: pointer;
    transition: all 0.3s;
}

.efw-filter-btn:hover,
.efw-filter-btn.active {
    background: var(--efw-gold);
    color: var(--efw-black);
}

/* =====================================================
   Lightbox
   ===================================================== */

.efw-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
}

.efw-lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.efw-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.efw-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.efw-lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    display: block;
}

.efw-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--efw-white);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.efw-lightbox-close:hover {
    color: var(--efw-gold);
}

.efw-lightbox-prev,
.efw-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--efw-white);
    font-size: 2rem;
    padding: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.efw-lightbox-prev:hover,
.efw-lightbox-next:hover {
    color: var(--efw-gold);
}

.efw-lightbox-prev {
    left: -60px;
}

.efw-lightbox-next {
    right: -60px;
}

.efw-lightbox-caption {
    text-align: center;
    color: var(--efw-white);
    padding: 20px 0;
    font-family: var(--efw-font-secondary);
    letter-spacing: 0.1em;
}

/* =====================================================
   Scroll Animations
   ===================================================== */

.efw-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.efw-animate.efw-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 1024px) {
    .efw-blog-grid,
    .efw-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .efw-hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .efw-section {
        padding: 60px 0;
    }

    .efw-hero-title {
        font-size: 2.5rem;
    }

    .efw-hero-subtitle {
        font-size: 1rem;
        letter-spacing: 0.1em;
    }

    .efw-section-title {
        font-size: 2rem;
    }

    .efw-blog-grid,
    .efw-gallery-grid {
        grid-template-columns: 1fr;
    }

    .efw-cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .efw-lightbox-prev {
        left: 10px;
    }

    .efw-lightbox-next {
        right: 10px;
    }
}
