/* ===== TAPAS CULTURAL FOUNDATION - GLOBAL STYLES ===== */
:root {
    --primary-800: #6B3410;
    --primary-700: #8B4513;
    --primary-600: #A0522D;
    --primary-500: #CD853F;
    --primary-400: #DEB887;
    --primary-300: #F5DEB3;
    --secondary-800: #B8860B;
    --secondary-700: #DAA520;
    --secondary-600: #FFD700;
    --secondary-500: #FFDB58;
    --secondary-400: #FFE66D;
    --secondary-300: #FFF8DC;
    --neutral-900: #1A1A1A;
    --neutral-800: #333333;
    --neutral-700: #4D4D4D;
    --neutral-600: #666666;
    --neutral-500: #808080;
    --neutral-400: #999999;
    --neutral-300: #CCCCCC;
    --neutral-200: #E6E6E6;
    --neutral-100: #F5F5F5;
    --neutral-50: #FAFAFA;
    --accent-red: #FF6B6B;
    --font-primary: 'Cormorant', serif;
    --font-secondary: 'IBM Plex Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-secondary);
    overflow-x: hidden;
    background: white;
}

/* ===== HEADER ===== */
.header {
    background: white;
    height: 84px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--neutral-200);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container { height: 100%; }
.header-content {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

/* ===== FOOTER LOGO ===== */
.footer-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
    display: block;
    /* filter: brightness(0) invert(1); */
    opacity: 0.92;
}
.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    height: 100%;
}
.nav-menu a {
    position: relative;
    color: var(--neutral-800);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-secondary);
    transition: color 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-700);
    transition: width 0.3s ease;
}
.nav-menu a:hover { color: var(--primary-700); }
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: var(--primary-700); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neutral-800);
    transition: all 0.3s ease;
}
.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    flex-direction: column;
    padding: 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    color: var(--neutral-800);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--neutral-100);
    font-family: var(--font-secondary);
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--primary-700); }

/* ===== PAGE HERO BANNER ===== */
.page-hero {
    position: relative;
    height: 320px;
    background: var(--primary-800);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(212,175,55,0.15) 0%, transparent 70%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.page-hero-content h1 {
    font-family: var(--font-primary);
    font-size: 56px;
    font-weight: 600;
    color: var(--secondary-500);
    margin-bottom: 12px;
}
.page-hero-content p {
    font-family: var(--font-secondary);
    font-size: 16px;
    color: var(--neutral-300);
}
.breadcrumb-bar {
    background: var(--neutral-50);
    border-bottom: 1px solid var(--neutral-200);
    padding: 12px 0;
}
.breadcrumb-bar .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--neutral-600);
    font-family: var(--font-secondary);
}
.breadcrumb-bar a {
    color: var(--primary-700);
    text-decoration: none;
}
.breadcrumb-bar a:hover { text-decoration: underline; }
.breadcrumb-bar i { font-size: 10px; }

/* ===== SECTION COMMON ===== */
.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    position: relative;
    z-index: 2;
    font-family: var(--font-primary);
    font-size: 44px;
    font-weight: 600;
    display: inline-block;
    color: var(--primary-700);
}
.section-title .flower-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%);
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
    animation: pulseFlower 4s ease-in-out infinite;
}
.section-title p.subtitle {
    margin-top: 16px;
    font-size: 16px;
    color: var(--neutral-600);
    font-family: var(--font-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
@keyframes pulseFlower {
    0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.12; }
    50% { transform: translate(-50%, -50%) scale(1.15) rotate(5deg); opacity: 0.22; }
    100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.12; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    padding: 13px 32px;
    background: var(--primary-700);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-secondary);
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: var(--primary-800);
    box-shadow: 0 4px 12px rgba(139,69,19,0.3);
    color: white;
}
.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: var(--primary-700);
    border: 2px solid var(--primary-700);
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-secondary);
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background: var(--primary-700);
    color: white;
}
.btn-gold {
    display: inline-block;
    padding: 13px 32px;
    background: var(--secondary-500);
    color: var(--primary-800);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-secondary);
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background: var(--secondary-600);
    box-shadow: 0 4px 12px rgba(218,165,32,0.4);
    color: var(--primary-800);
}

/* ===== CARDS ===== */
.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important;
}

/* ===== DIVIDER ===== */
.ornamental-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}
.ornamental-divider::before,
.ornamental-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--secondary-500), transparent);
}
.ornamental-divider span {
    color: var(--secondary-500);
    font-size: 18px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-700);
    color: white;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-section h3 {
    color: var(--secondary-500);
    margin-bottom: 20px;
    font-size: 17px;
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
    font-family: var(--font-secondary);
    font-size: 14px;
    display: block;
}
.footer-section a:hover { color: var(--secondary-500); }
.footer-section .footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1 !important;
}
.social-links a:hover {
    background: var(--secondary-500);
    color: var(--primary-700) !important;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-family: var(--font-secondary);
    font-size: 13px;
}

/* ===== NEWSLETTER STRIP ===== */
.newsletter-strip {
    background: var(--primary-800);
    padding: 50px 0;
}
.newsletter-strip h3 {
    font-family: var(--font-primary);
    font-size: 28px;
    color: var(--secondary-500);
    margin-bottom: 8px;
}
.newsletter-strip p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
    font-family: var(--font-secondary);
}
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}
.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-family: var(--font-secondary);
    font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { outline: none; border-color: var(--secondary-500); }
.newsletter-form button {
    padding: 12px 24px;
    background: var(--secondary-500);
    color: var(--primary-800);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.newsletter-form button:hover { background: var(--secondary-600); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .nav-menu { display: none !important; }
    .hamburger { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .page-hero-content h1 { font-size: 36px; }
    .section-title h2 { font-size: 32px; }
    .footer-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
}
