/* 
 * Cuandeoro Brand CSS - Unified Theme
 * Colores oficiales: Navy, Gold, Platinum
 * Usado en: cuandeoro.es, cuandeoro.com, realtortoken.es
 */

:root {
    /* Primary Colors */
    --gold: #D4AF37;
    --gold-light: #FFD700;
    --gold-dark: #B8860B;
    
    /* Background Colors */
    --navy: #1a1a2e;
    --navy-light: #16213e;
    --navy-dark: #0f0f1a;
    
    /* Text Colors */
    --platinum: #E5E4E2;
    --platinum-light: #F5F5F5;
    --platinum-dark: #D4D4D4;
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #B8860B 100%);
    --gradient-navy: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* Base body styles */
.cuandeoro-theme {
    background-color: var(--navy);
    color: var(--platinum);
    font-family: 'Inter', system-ui, sans-serif;
}

/* Gradient utilities */
.gradient-gold {
    background: var(--gradient-gold);
}

.gradient-navy {
    background: var(--gradient-navy);
}

.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Standard Header */
.cuandeoro-header {
    position: fixed;
    width: 100%;
    z-index: 50;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.cuandeoro-header.has-banner {
    top: 48px !important;
}

.cuandeoro-header__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

@media (min-width: 1024px) {
    .cuandeoro-header__container {
        padding: 0 1.5rem;
        height: 80px;
    }
}

/* Logo area */
.cuandeoro-header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.cuandeoro-header__logo img {
    height: 48px;
    width: 48px;
}

@media (min-width: 1024px) {
    .cuandeoro-header__logo img {
        height: 56px;
        width: 56px;
    }
}

.cuandeoro-header__brand {
    display: none;
}

@media (min-width: 640px) {
    .cuandeoro-header__brand {
        display: flex;
        flex-direction: column;
    }
}

.cuandeoro-header__brand-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.05em;
    line-height: 1;
}

.cuandeoro-header__brand-tagline {
    font-size: 0.75rem;
    color: rgba(212, 175, 55, 0.8);
    font-style: italic;
    margin-top: 0.25rem;
}

/* Navigation */
.cuandeoro-header__nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .cuandeoro-header__nav {
        display: flex;
    }
}

.cuandeoro-header__nav a {
    font-size: 0.875rem;
    color: rgba(229, 228, 226, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cuandeoro-header__nav a:hover {
    color: var(--gold);
}

.cuandeoro-header__nav a.active,
.cuandeoro-header__nav a[aria-current="page"] {
    color: var(--gold);
}

/* CTA Button in nav */
.cuandeoro-header__cta {
    background: var(--gradient-gold);
    color: var(--navy) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.cuandeoro-header__cta:hover {
    opacity: 0.9;
    color: var(--navy) !important;
}

/* Marketplace button */
.cuandeoro-header__marketplace {
    color: var(--gold) !important;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background 0.2s ease;
}

.cuandeoro-header__marketplace:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Language selector */
.cuandeoro-header__langs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    margin-left: 1rem;
}

.cuandeoro-header__langs a {
    color: rgba(229, 228, 226, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cuandeoro-header__langs a:hover {
    color: var(--gold);
}

.cuandeoro-header__langs a.active {
    color: var(--gold);
    font-weight: 500;
}

.cuandeoro-header__langs-separator {
    color: rgba(229, 228, 226, 0.3);
}

/* Mobile menu button */
.cuandeoro-header__mobile-btn {
    display: flex;
    padding: 0.5rem;
    color: var(--platinum);
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .cuandeoro-header__mobile-btn {
        display: none;
    }
}

/* Mobile menu */
.cuandeoro-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 100;
    padding: 1.5rem;
    flex-direction: column;
}

.cuandeoro-mobile-menu.open {
    display: flex;
}

.cuandeoro-mobile-menu__close {
    align-self: flex-end;
    padding: 0.5rem;
    color: var(--platinum);
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 2rem;
}

.cuandeoro-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cuandeoro-mobile-menu__nav a {
    font-size: 1.125rem;
    color: var(--platinum);
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.cuandeoro-mobile-menu__nav a:hover {
    color: var(--gold);
}

/* Utility Classes */
.text-gold { color: var(--gold-light); }
.text-navy { color: var(--navy); }
.text-platinum { color: var(--platinum); }
.bg-gold { background-color: var(--gold); }
.bg-navy { background-color: var(--navy); }
.bg-platinum { background-color: var(--platinum); }
.border-gold { border-color: var(--gold); }
