/* ============================
   FARO CHOYERO — ESTILOS PRINCIPALES
   Minimalismo editorial
   ============================ */

/* ---------- Variables de color ---------- */
:root {
    --gold: #d39c41;
    --dark-wine: #510a15;
    --accent-yellow: #ffe963;
    --cream: #faf7f2;
    --white-pure: #ffffff;
    --gray-text: #3a3a3a;
    --gray-light: #6c757d;
    --body-bg: #fefdfb;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* ---------- Estilos base ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--body-bg);
    color: var(--gray-text);
    line-height: 1.7;
    letter-spacing: -0.01em;
}

/* ---------- Tipografía ---------- */
h1, h2, h3, h4, .display-3, .display-5, .section-title, .brand-text {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.text-dark-custom {
    color: #1a1a1a;
}

.text-gold {
    color: var(--gold) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--dark-wine) 0%, #7a1f2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Barra de navegación ---------- */
.navbar {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(211, 156, 65, 0.25);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.navbar.scrolled {
    box-shadow: 0 10px 30px -10px rgba(81, 10, 21, 0.08);
    background-color: rgba(255, 255, 255, 0.97);
}

.navbar-logo {
    height: 42px;
    width: auto;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

.brand-text {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--dark-wine);
    position: relative;
    top: 2px;
}

.nav-link {
    color: var(--gray-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.35rem 1rem !important;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--dark-wine) !important;
    background-color: rgba(211, 156, 65, 0.12);
}

/* Botones personalizados navbar */
.btn-outline-gold {
    border: 1.5px solid var(--gold);
    color: var(--gold);
    background: transparent;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.btn-accent {
    background-color: var(--accent-yellow);
    color: var(--dark-wine);
    font-weight: 700;
    border: none;
    transition: all 0.25s ease;
}

.btn-accent:hover {
    background-color: #f5d44a;
    color: var(--dark-wine);
}

.btn-dark-custom {
    background-color: var(--dark-wine);
    color: #fff;
    border: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-dark-custom:hover {
    background-color: #3d0710;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(81, 10, 21, 0.3);
}

.btn-gold {
    background-color: var(--gold);
    color: #fff;
    border: none;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-gold:hover {
    background-color: #b8852f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 156, 65, 0.4);
}

/* ---------- Hero section ---------- */
.hero-section {
    min-height: 90vh;
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, #fffefb 0%, #faf7f2 100%);
}

.overline {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: rotate(0.5deg);
    transition: transform 0.4s ease;
}

.hero-image-wrapper:hover {
    transform: rotate(0deg) scale(1.01);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: filter 0.4s ease;
}

/* ---------- Secciones generales ---------- */
.section-padding {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

.bg-light-cream {
    background-color: var(--cream);
}

.bg-dark-custom {
    background-color: #1c0b0e;
    background-image: radial-gradient(circle at 50% 0%, rgba(211, 156, 65, 0.08) 0%, transparent 70%);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dark-wine);
    background-color: rgba(211, 156, 65, 0.15);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--gold);
    margin-bottom: 0;
    font-family: var(--font-serif);
}

.divider-accent {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--accent-yellow) 100%);
    border-radius: 4px;
}

.divider-gold {
    width: 80px;
    height: 4px;
    background-color: var(--gold);
    border-radius: 4px;
    opacity: 0.8;
}

.section-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #3e3e3e;
    margin-bottom: 1.2rem;
}

/* ---------- Imágenes modernas ---------- */
.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
}

.image-frame-right::after {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.5;
}

.image-frame-left::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-yellow);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.45;
}

.section-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.98) contrast(1.02);
}

.image-frame:hover .section-image {
    transform: scale(1.04);
    filter: brightness(1.02) contrast(1.05);
}

/* ---------- Sección oscura final ---------- */
.bg-glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(211, 156, 65, 0.25);
}

.text-light-emphasis {
    color: rgba(255, 255, 255, 0.8);
}

.border-gold {
    border-color: var(--gold) !important;
}

/* ---------- Footer ---------- */
.footer {
    font-size: 0.95rem;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.social-icon {
    transition: transform 0.25s ease, color 0.25s ease;
    display: inline-block;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: var(--accent-yellow) !important;
}

/* ---------- Ajustes responsive ---------- */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 2.2rem;
    }

    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 1.5rem;
        margin-top: 1rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(211, 156, 65, 0.25);
    }

    .hero-section {
        min-height: auto;
        padding-top: 100px;
    }

    .image-frame-right::after,
    .image-frame-left::after {
        display: none;
    }
}