/* ========================================
   O'WELLNESS — GLOBAL DESIGN SYSTEM
   Brand: #4f3222 (brown) + #ffffff (white)
   ======================================== */

/* ---------- FONTS ---------- */
@font-face {
    font-family: 'Copperplate';
    src: url('../fonts/Copperplate.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0705;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* ---------- CSS VARIABLES ---------- */
:root {
    --brand-brown: #4f3222;
    --brand-brown-light: #6b4a36;
    --brand-brown-dark: #3a2418;
    --brand-cream: #f5efe6;
    --brand-gold: #c9a96e;
    --brand-gold-light: #e0c992;
    --white: #ffffff;
    --black: #0a0705;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.35);
    --surface-1: #0f0c09;
    --surface-2: #1a1410;
    --surface-3: #241c16;
    --glass-bg: rgba(79, 50, 34, 0.12);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 50px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- TYPOGRAPHY ---------- */
.font-serif {
    font-family: 'Copperplate', serif;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 20px;
}

.section-badge svg {
    width: 14px;
    height: 14px;
    fill: var(--brand-gold);
}

.section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 16px;
}

.section-title span {
    color: var(--brand-gold);
}

.section-subtitle {
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 clamp(20px, 4vw, 60px);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 7, 5, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    background: rgba(10, 7, 5, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo img {
    height: 32px;
    width: auto;
    display: block;
    filter: brightness(1);
    transition: opacity var(--transition-base);
}

.header-logo:hover img {
    opacity: 0.85;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    position: relative;
}

.header-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.header-nav a.active {
    color: var(--brand-gold);
}

.header-contact-btn {
    margin-left: 16px;
    padding: 10px 24px !important;
    background: linear-gradient(135deg, var(--brand-brown), var(--brand-brown-light)) !important;
    border-radius: var(--radius-xl) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(79, 50, 34, 0.3);
    transition: all var(--transition-base) !important;
}

.header-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(79, 50, 34, 0.5) !important;
    background: linear-gradient(135deg, var(--brand-brown-light), var(--brand-gold)) !important;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    border: none;
    background: transparent;
    z-index: 10001; /* Higher than header-nav */
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- PAGE HERO ---------- */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding: 0 clamp(20px, 6vw, 100px);
    padding-top: 120px;
    padding-bottom: 60px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35) saturate(0.7);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 7, 5, 0.4) 0%,
            rgba(10, 7, 5, 0.2) 50%,
            rgba(10, 7, 5, 0.95) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
}

.page-hero-content .section-title {
    margin-bottom: 20px;
}

.page-hero-content .section-subtitle {
    margin-bottom: 0;
}

/* ---------- CONTAINER ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

.container-fluid {
    width: 100%;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* ---------- SECTIONS ---------- */
.section {
    padding: clamp(60px, 8vw, 120px) clamp(20px, 6vw, 100px);
    position: relative;
}

.section-dark {
    background: var(--surface-1);
}

.section-darker {
    background: var(--black);
}

.section-brown {
    background: linear-gradient(135deg, var(--brand-brown-dark), var(--brand-brown));
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-brown), var(--brand-gold));
    border-radius: 2px;
    margin: 20px 0 30px;
}

/* ---------- CONTENT CARD / GLASS CARD ---------- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 48px);
    transition: all var(--transition-base);
}

.glass-card:hover {
    border-color: rgba(201, 169, 110, 0.15);
    box-shadow: 0 8px 40px rgba(79, 50, 34, 0.15);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: 'Inter', sans-serif;
}

.btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-brown), var(--brand-brown-light));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(79, 50, 34, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(79, 50, 34, 0.6);
    background: linear-gradient(135deg, var(--brand-brown-light), var(--brand-gold));
}

.btn-outline {
    background: transparent;
    color: var(--brand-gold);
    border: 1px solid rgba(201, 169, 110, 0.3);
}

.btn-outline:hover {
    background: rgba(201, 169, 110, 0.1);
    border-color: var(--brand-gold);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--brand-brown);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* ---------- GRID LAYOUTS ---------- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 40px);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 40px);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 30px);
}

.grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(12px, 1.5vw, 20px);
}

/* ---------- FOOTER ---------- */
.footer {
    background: #060503;
    padding: 0;
    position: relative;
}

.footer-top {
    padding: 80px clamp(20px, 6vw, 100px) 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.footer-brand-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.8;
    margin-bottom: 28px;
}

.footer-col h4 {
    font-size: 10px;
    font-weight: 700;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 14px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 1px;
    background: var(--brand-gold);
    opacity: 0.4;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 15px;
    height: 15px;
    fill: rgba(255, 255, 255, 0.45);
    transition: fill 0.3s ease;
}

.footer-social a:hover svg {
    fill: #0a0705;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px clamp(20px, 6vw, 100px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom span,
.footer-bottom a {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

.footer-bottom a:hover {
    color: var(--brand-gold);
}

/* ---------- FORM ELEMENTS ---------- */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all var(--transition-base);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--brand-gold);
    background: rgba(201, 169, 110, 0.05);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

/* ---------- EVENT CARD ---------- */
.event-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 169, 110, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.event-card-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, var(--surface-2));
}

.event-card-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(10, 7, 5, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    text-align: center;
    z-index: 2;
}

.event-card-date .day {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-gold);
    line-height: 1;
}

.event-card-date .month {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.event-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.event-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: auto;
}

.event-card-meta svg {
    width: 14px;
    height: 14px;
    fill: var(--brand-gold);
    opacity: 0.6;
}

/* ---------- TEAM CARD ---------- */
.team-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    background: var(--surface-2);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 169, 110, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.team-card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--brand-brown), var(--brand-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(79, 50, 34, 0.3);
    overflow: hidden;
}

.team-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.team-card-role {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-gold);
    margin-bottom: 14px;
}

.team-card-bio {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- CONTACT INFO CARD ---------- */
.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface-2);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.contact-info-card:hover {
    border-color: rgba(201, 169, 110, 0.15);
    transform: translateY(-3px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-brown), var(--brand-brown-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(79, 50, 34, 0.3);
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

.contact-info-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.contact-info-text p,
.contact-info-text a {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-info-text a:hover {
    color: var(--brand-gold);
}

/* ---------- MAP ---------- */
.map-container {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.6) brightness(0.7) contrast(1.1);
    transition: filter var(--transition-base);
}

.map-container:hover iframe {
    filter: grayscale(0.2) brightness(0.8) contrast(1);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.header {
    animation: slideDown 0.8s ease forwards;
}

/* ========================================
   LANDING PAGE — Full Viewport
======================================== */
body.landing-page,
body.landing-page html {
    height: 100%;
    overflow: hidden;
}

.landing-wrapper {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* --- Dropdown Styles --- */
.nav-item-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.dropdown-trigger svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-trigger svg {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 12, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    width: 100%;
    padding: 10px 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
}

.dropdown-menu a:hover {
    color: var(--brand-gold);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.lang-switcher {
    margin-left: 12px;
}

.lang-switcher .dropdown-trigger {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-switcher:hover .dropdown-trigger {
    border-color: var(--brand-gold);
    background: rgba(201, 169, 110, 0.05);
    color: var(--brand-gold);
}

.lang-switcher .dropdown-menu {
    min-width: 120px;
    margin-top: 8px;
}

/* --- Branch Panels --- */
.branches-container {
    flex: 1;
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.branch-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    color: inherit;
}

.branch-panel:hover {
    flex: 1.8;
}

.branch-panel:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(201, 169, 110, 0.4) 30%,
            rgba(201, 169, 110, 0.6) 50%,
            rgba(201, 169, 110, 0.4) 70%,
            transparent 100%);
    z-index: 10;
}

.branch-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.7s ease;
    filter: brightness(0.5) saturate(0.8);
}

.branch-panel:hover .branch-bg {
    transform: scale(1.08);
    filter: brightness(0.6) saturate(1);
}

.branch-panel--sky .branch-bg {
    background-image: url('../images/sky.webp');
}

.branch-panel--dragos .branch-bg {
    background-image: url('../images/dragos.webp');
}

.branch-panel--yalikavak .branch-bg {
    background-image: url('../images/yalikavak.webp');
}

.branch-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 7, 5, 0.3) 0%,
            rgba(10, 7, 5, 0.1) 40%,
            rgba(10, 7, 5, 0.5) 70%,
            rgba(10, 7, 5, 0.85) 100%);
    transition: background 0.5s ease;
}

.branch-panel:hover .branch-overlay {
    background: linear-gradient(to bottom,
            rgba(79, 50, 34, 0.15) 0%,
            rgba(10, 7, 5, 0.05) 40%,
            rgba(10, 7, 5, 0.4) 70%,
            rgba(10, 7, 5, 0.8) 100%);
}

.branch-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 clamp(24px, 3vw, 48px) clamp(40px, 6vh, 80px);
    z-index: 5;
}

.branch-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-gold-light);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.1s;
}

.branch-panel:hover .branch-location-badge {
    opacity: 1;
    transform: translateY(0);
}

.branch-location-badge svg {
    width: 12px;
    height: 12px;
    fill: var(--brand-gold);
}

.branch-name {
    font-family: 'Copperplate', serif;
    font-size: clamp(28px, 3.5vw, 52px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 8px;
    transition: all 0.5s ease;
}

.branch-name span {
    color: var(--brand-gold);
}

.branch-subtitle {
    font-size: clamp(12px, 1vw, 15px);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 20px;
    transition: all 0.5s ease;
}

.branch-panel:hover .branch-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.branch-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.branch-panel:hover .branch-details {
    max-height: 200px;
    opacity: 1;
}

.branch-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.branch-detail-item svg {
    width: 16px;
    height: 16px;
    fill: var(--brand-gold);
    flex-shrink: 0;
    opacity: 0.7;
}

.branch-detail-item a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.3s ease;
}

.branch-detail-item a:hover {
    color: var(--brand-gold-light);
}

.branch-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--brand-brown), var(--brand-brown-light));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    width: fit-content;
    box-shadow: 0 4px 20px rgba(79, 50, 34, 0.4);
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s ease 0.2s;
}

.branch-panel:hover .branch-cta {
    opacity: 1;
    transform: translateY(0);
}

.branch-cta:hover {
    background: linear-gradient(135deg, var(--brand-brown-light), var(--brand-gold));
    box-shadow: 0 6px 30px rgba(79, 50, 34, 0.6);
    transform: translateY(-2px) !important;
}

.branch-cta svg {
    width: 16px;
    height: 16px;
    fill: var(--white);
    transition: transform 0.3s ease;
}

.branch-cta:hover svg {
    transform: translateX(4px);
}

.branch-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Copperplate', serif;
    font-size: clamp(80px, 12vw, 200px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    transition: all 0.7s ease;
    z-index: 1;
}

.branch-panel:hover .branch-number {
    color: rgba(201, 169, 110, 0.06);
    transform: translate(-50%, -50%) scale(1.1);
}

.branch-deco-line {
    position: absolute;
    left: clamp(24px, 3vw, 48px);
    top: 120px;
    width: 1px;
    height: 0;
    background: linear-gradient(to bottom,
            transparent,
            var(--brand-gold),
            transparent);
    opacity: 0;
    transition: all 0.8s ease 0.1s;
    z-index: 5;
}

.branch-panel:hover .branch-deco-line {
    height: 80px;
    opacity: 0.4;
}

/* --- Floating Social --- */
.floating-social {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 100;
}

.floating-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.floating-social a:hover {
    background: rgba(79, 50, 34, 0.4);
    border-color: rgba(201, 169, 110, 0.3);
    transform: translateX(-4px);
}

.floating-social a svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.5);
    transition: fill 0.3s ease;
}

.floating-social a:hover svg {
    fill: var(--brand-gold);
}

/* --- Bottom Bar --- */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(10, 7, 5, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    z-index: 100;
    padding: 10px 20px;
    flex-wrap: wrap;
    text-align: center;
    line-height: 1.4;
}

.bottom-bar span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

.bottom-bar a {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.3s ease;
}

.bottom-bar a:hover {
    color: var(--brand-gold);
}

/* --- Explore Hint --- */
.explore-hint {
    position: fixed;
    bottom: 56px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 100;
    animation: fadeIn 1s ease forwards, pulse 2s ease-in-out infinite;
    animation-delay: 2s, 3s;
    opacity: 0;
}

.explore-hint span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

/* --- Cursor Glow --- */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79, 50, 34, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 998;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.preloader-logo svg {
    width: clamp(200px, 30vw, 320px);
    height: auto;
}

.preloader-logo svg .logo-path {
    fill: none;
    stroke: #fff;
    stroke-width: 1.5;
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    animation: drawLogo 2s ease forwards 0.4s;
}

.preloader-logo svg .logo-fill {
    fill: #fff;
    opacity: 0;
    animation: revealFill 0.8s ease forwards 1.8s;
}

.preloader-logo svg .accent-path {
    fill: none;
    stroke: var(--brand-gold);
    stroke-width: 1.5;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLogo 1.2s ease forwards 1s;
}

.preloader-logo svg .accent-fill {
    fill: var(--brand-gold);
    opacity: 0;
    animation: revealFill 0.8s ease forwards 2s;
}

@keyframes drawLogo {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes revealFill {
    to {
        opacity: 1;
    }
}

.preloader-glow {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
    position: absolute;
    animation: preloaderPulse 2s ease-in-out infinite;
}

@keyframes preloaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.4s ease 0.5s forwards;
}

.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-brown), var(--brand-gold));
    border-radius: 2px;
    animation: expandWidth 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

@keyframes expandWidth {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* --- Landing Page Animations --- */
.landing-wrapper .branch-panel {
    animation: fadeIn 1s ease forwards;
}

.landing-wrapper .branch-panel:nth-child(1) {
    animation-delay: 0.2s;
    opacity: 0;
}

.landing-wrapper .branch-panel:nth-child(2) {
    animation-delay: 0.4s;
    opacity: 0;
}

.landing-wrapper .branch-panel:nth-child(3) {
    animation-delay: 0.6s;
    opacity: 0;
}

.landing-wrapper .branch-name {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.landing-wrapper .branch-subtitle {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

.landing-wrapper .floating-social {
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

.landing-wrapper .bottom-bar {
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.4s;
    opacity: 0;
}

/* ---------- GRAIN TEXTURE ---------- */
.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* ---------- LANDING PAGE RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .floating-social {
        display: none;
    }
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: 10px;
    }

    .lang-switcher .dropdown-trigger {
        border-color: rgba(255, 255, 255, 0.1);
        width: fit-content;
        padding: 6px 16px;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .nav-item-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-trigger svg {
        display: none;
    }

    .branches-container {
        flex-direction: column;
    }

    .branch-panel {
        flex: 1;
        transition: flex 0.5s ease;
    }

    .branch-panel:hover {
        flex: 2.5;
    }

    .branch-panel:not(:last-child)::after {
        top: auto;
        bottom: -1px;
        left: 0;
        right: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right,
                transparent 0%,
                rgba(201, 169, 110, 0.4) 30%,
                rgba(201, 169, 110, 0.6) 50%,
                rgba(201, 169, 110, 0.4) 70%,
                transparent 100%);
    }

    .branch-content {
        padding: 0 24px 24px;
    }

    .branch-name {
        font-size: 28px;
    }

    .branch-number {
        font-size: 100px;
    }

    .branch-details {
        max-height: 0;
    }

    .branch-panel:hover .branch-details {
        max-height: 150px;
    }

    .branch-cta {
        padding: 12px 22px;
        font-size: 11px;
    }

    .branch-deco-line {
        display: none;
    }

    .explore-hint {
        display: none;
    }

    .bottom-bar {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .branch-name {
        font-size: 24px;
    }

    .branch-subtitle {
        font-size: 10px;
    }

    .branch-location-badge {
        font-size: 9px;
        padding: 4px 10px;
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header {
        height: 64px;
        padding: 0 20px;
    }

    .header-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: #0a0705;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px; /* Reduced gap */
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 10000;
        padding: 80px 20px 40px; /* Top padding for close button space */
        overflow-y: auto;
    }

    .header-nav.open {
        transform: translateX(0);
    }

    .header-nav a {
        font-size: 15px;
        padding: 10px 24px;
        width: 100%;
        text-align: center;
        max-width: 300px;
    }

    .mobile-menu-btn {
        display: flex;
        position: fixed; /* Fixed to stay visible */
        top: 24px;
        right: 20px;
        z-index: 10001;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        min-height: 40vh;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-logo img {
        height: 26px;
    }
}