/* custom.css - Global Styles for MUSETO */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700&display=swap');

:root {
    --gold: #D4AF37;
    --gold-light: #F5E2A8;
    --gold-dark: #AA7C11;
    --gold-glow: rgba(212, 175, 55, 0.15);
    --black: #080808;
    --black-card: #121212;
    --gray-soft: #F9F8F6; /* Alabaster warm gray */
    --text-main: #1C1B19;
}

* {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.01em;
}

html {
    scroll-behavior: smooth;
    background-color: var(--gray-soft);
}

body {
    background-color: var(--gray-soft);
    color: var(--text-main);
}

/* Glassmorphism Classes */
.glass-nav {
    background: rgba(8, 8, 8, 0.82) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04), 0 1px 1px rgba(0, 0, 0, 0.01);
}

.glass-card-dark {
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

/* Gradients & Text effects */
.gold-text-gradient {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-bg-gradient {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
}

.gold {
    color: var(--gold);
}

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

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

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

.bg-black-custom {
    background-color: var(--black);
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%) !important;
    color: var(--black) !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.8rem;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    position: relative;
    overflow: hidden;
}
.btn-gold::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: rotate(45deg);
    transition: transform 0.5s ease;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    filter: brightness(1.05);
}
.btn-gold:hover::after {
    transform: translate(50%, 50%) rotate(45deg);
}

.btn-outline-gold {
    background: rgba(8, 8, 8, 0.2);
    backdrop-filter: blur(4px);
    color: var(--gold) !important;
    border: 1.5px solid var(--gold) !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-outline-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%) !important;
    color: var(--black) !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-outline-white:hover {
    background: #ffffff !important;
    color: var(--black) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

/* Card Hover Micro-Interactions */
.card-hover {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 0 20px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.35) !important;
}

/* Section titles */
.section-title {
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
    border-radius: 9999px;
}
.section-title-left::after {
    left: 0;
    transform: none;
}

/* Form Styles */
.form-input, .form-select {
    border: 1.5px solid rgba(212, 175, 55, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s ease !important;
    border-radius: 14px !important;
}
.form-input:focus, .form-select:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15) !important;
    background-color: #ffffff !important;
}

/* Nav Link transitions */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}
.nav-link:hover {
    color: var(--gold-light);
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link-active {
    color: var(--gold) !important;
    font-weight: 700;
}
.nav-link-active::after {
    width: 100%;
    background-color: var(--gold);
}

/* Icons */
.icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
}
.icon-circle i {
    font-size: 1.85rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}
.card-hover:hover .icon-circle {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}
.card-hover:hover .icon-circle i {
    color: var(--black);
    transform: scale(1.1);
}

/* Stat numbers */
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer Link transitions */
.footer-link {
    position: relative;
    transition: all 0.2s ease;
}
.footer-link:hover {
    color: var(--gold-light) !important;
    padding-left: 4px;
}

/* Badge styles */
.badge-gold {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(4px);
}

/* Glowing Orbs */
.glow-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}
.glow-gold {
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
}

/* Hero classes */
.hero-home, .hero-about, .hero-adhesion, .hero-gouvernance, .hero-cotisation, .hero-contact, .hero-prestations {
    background-size: cover;
    position: relative;
    isolation: isolate;
}
.hero-home::after, .hero-about::after, .hero-adhesion::after, .hero-gouvernance::after, .hero-cotisation::after, .hero-contact::after, .hero-prestations::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.hero-home > *, .hero-about > *, .hero-adhesion > *, .hero-gouvernance > *, .hero-cotisation > *, .hero-contact > *, .hero-prestations > * {
    position: relative;
    z-index: 1;
}

.hero-home {
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.7) 100%), url('logo.jpeg');
    background-size: cover;
    background-position: center 25%;
}
.hero-about {
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.7) 100%), url('logo.jpeg');
    background-size: cover;
    background-position: center 30%;
}
.hero-adhesion {
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.7) 100%), url('logo.jpeg');
    background-size: cover;
    background-position: center 25%;
}
.hero-gouvernance {
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.7) 100%), url('logo.jpeg');
    background-size: cover;
    background-position: center 30%;
}
.hero-cotisation {
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.7) 100%), url('logo.jpeg');
    background-size: cover;
    background-position: center 25%;
}
.hero-contact {
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.7) 100%), url('logo.jpeg');
    background-size: cover;
    background-position: center 25%;
}
.hero-prestations {
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.7) 100%), url('logo.jpeg');
    background-size: cover;
    background-position: center 25%;
}

/* Shimmer animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.shimmer-bg {
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: shimmer 4s infinite linear;
}

/* Governance Member Card Styles */
.member-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.member-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 40px -15px rgba(212, 175, 55, 0.15);
    transform: translateY(-6px);
}
.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 9999px;
    border: 3.5px solid var(--gold);
    margin: 0 auto 1.25rem;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
}
.member-card:hover .member-avatar {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}
.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
}
.member-role {
    font-size: 0.9rem;
    color: var(--gold-dark);
    font-weight: 600;
    letter-spacing: 0.025em;
    margin-top: 0.25rem;
    text-transform: uppercase;
}
.member-desc {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.75rem;
    line-height: 1.5;
}
