/*
Theme Name: EFW Theme
Theme URI: https://extremadurafashionweek.com
Author: Extremadura Fashion Week
Author URI: https://extremadurafashionweek.com
Description: Elegant gold & black theme for Extremadura Fashion Week - Powered by EFW Core plugin.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: efw-theme
Tags: custom-logo, custom-menu, featured-images, full-width-template, fashion, dark-theme
*/

/* =====================================================
   EFW Theme - Luxurious Gold & Black Design
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    /* Gold Palette */
    --efw-gold: #d4af37;
    --efw-gold-light: #f0d890;
    --efw-gold-dark: #b8860b;
    --efw-gold-shine: linear-gradient(135deg, #d4af37 0%, #f0d890 50%, #d4af37 100%);

    /* Black Palette */
    --efw-black: #0a0a0a;
    --efw-black-soft: #1a1a1a;
    --efw-charcoal: #2d2d2d;
    --efw-gray-dark: #3d3d3d;

    /* Neutrals */
    --efw-white: #ffffff;
    --efw-cream: #f5f5dc;
    --efw-gray: #888888;
    --efw-gray-light: #cccccc;

    /* Typography */
    --efw-font-display: 'Playfair Display', Georgia, serif;
    --efw-font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --efw-header-height: 80px;
    --efw-max-width: 1200px;

    /* Shadows */
    --efw-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    --efw-shadow-gold: 0 4px 30px rgba(212, 175, 55, 0.25);
}

/* =====================================================
   Reset & Base
   ===================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--efw-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--efw-white);
    background: var(--efw-black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =====================================================
   Typography
   ===================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--efw-font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--efw-white);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--efw-gray-light);
}

a {
    color: var(--efw-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--efw-gold-light);
}

/* =====================================================
   Layout
   ===================================================== */

.efw-container {
    width: 100%;
    max-width: var(--efw-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.efw-main {
    flex: 1;
}

/* =====================================================
   Header
   ===================================================== */

.efw-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    height: var(--efw-header-height);
    transition: all 0.4s ease;
}

.efw-header-scrolled {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.efw-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--efw-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.efw-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.efw-logo img {
    height: 50px;
    width: auto;
}

.efw-logo-text {
    font-family: var(--efw-font-display);
    font-size: 1.5rem;
    color: var(--efw-gold);
    letter-spacing: 0.05em;
}

.efw-logo:hover .efw-logo-text {
    color: var(--efw-gold-light);
}

/* Navigation */
.efw-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.efw-nav a {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--efw-white);
    font-family: var(--efw-font-body);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.efw-nav a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--efw-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.efw-nav a:hover {
    color: var(--efw-gold);
}

.efw-nav a:hover::after {
    transform: scaleX(1);
}

.efw-nav a.efw-nav-cta {
    background: var(--efw-gold);
    color: var(--efw-black) !important;
    padding: 12px 25px;
    margin-left: 10px;
}

.efw-nav a.efw-nav-cta::after {
    display: none;
}

.efw-nav a.efw-nav-cta:hover {
    background: var(--efw-gold-light);
}

/* Mobile Menu Toggle */
.efw-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}

.efw-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--efw-gold);
    margin: 6px 0;
    transition: all 0.3s ease;
}

.efw-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.efw-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.efw-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* =====================================================
   Footer
   ===================================================== */

.efw-footer {
    background: var(--efw-black-soft);
    border-top: 1px solid var(--efw-charcoal);
    padding: 80px 0 40px;
    margin-top: auto;
}

.efw-footer-inner {
    max-width: var(--efw-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.efw-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.efw-footer-brand {
    max-width: 300px;
}

.efw-footer-brand .efw-logo-text {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: block;
}

.efw-footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--efw-gray);
}

.efw-footer-col h4 {
    font-family: var(--efw-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--efw-gold);
    margin-bottom: 25px;
}

.efw-footer-col ul {
    list-style: none;
}

.efw-footer-col li {
    margin-bottom: 15px;
}

.efw-footer-col a {
    color: var(--efw-gray);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.efw-footer-col a:hover {
    color: var(--efw-white);
}

/* Social Links */
.efw-social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.efw-social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--efw-charcoal);
    color: var(--efw-gray);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.efw-social-link:hover {
    border-color: var(--efw-gold);
    color: var(--efw-gold);
    background: rgba(212, 175, 55, 0.1);
}

/* Footer Bottom */
.efw-footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--efw-charcoal);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.efw-footer-copyright {
    color: var(--efw-gray);
    font-size: 0.9rem;
}

.efw-footer-links {
    display: flex;
    gap: 30px;
}

.efw-footer-links a {
    color: var(--efw-gray);
    font-size: 0.9rem;
}

.efw-footer-links a:hover {
    color: var(--efw-gold);
}

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 1024px) {
    .efw-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --efw-header-height: 70px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }

    .efw-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        padding: 20px;
        gap: 5px;
    }

    .efw-nav.active {
        display: flex;
    }

    .efw-nav a {
        font-size: 1.2rem;
        padding: 15px 20px;
    }

    .efw-nav a::after {
        display: none;
    }

    .efw-nav a.efw-nav-cta {
        margin: 20px 0 0 0;
    }

    .efw-menu-toggle {
        display: block;
    }

    .efw-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .efw-footer-brand {
        max-width: none;
    }

    .efw-social-links {
        justify-content: center;
    }

    .efw-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
