/* ===== Global & Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", sans-serif;
    background-color: #333333;
    color: #ffffff;
    margin: 0;
}

.test {
    font-family: "Playfair Display", serif;
}

/* ===== Typography ===== */
h1,
h3,
.section-header {
    font-family: "Playfair Display", serif;
}

.section-header {
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

.section-header::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #87ceeb;
    border-radius: 9999px;
}

/* ===== Cards ===== */
.card-animation {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-animation:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

/* ===== Mobile Menu Overlay ===== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.overlay-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(135, 206, 235, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.menu-overlay.active .overlay-glow {
    opacity: 1;
}

/* ===== Hamburger ===== */
.hamburger-premium {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(135, 206, 235, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hamburger-premium:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(135, 206, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger-line {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, #ffffff 0%, #87CEEB 100%);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hamburger-premium.active {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-color: #87CEEB;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(135, 206, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hamburger-premium.active .hamburger-line {
    background: #87CEEB;
}

.hamburger-premium.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg) scaleX(1.1);
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
}

.hamburger-premium.active .hamburger-line:nth-child(2) {
    transform: scaleX(0);
    opacity: 0;
}

.hamburger-premium.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) scaleX(1.1);
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
}

/* ===== Mobile Menu ===== */
#mobile-menu {
    background: linear-gradient(145deg, #1a1a1a 0%, #222222 50%, #1a1a1a 100%);
    backdrop-filter: blur(20px);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6), inset 1px 0 0 rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(135, 206, 235, 0.15);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 50;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 85%;
    max-width: 400px;
    visibility: visible !important;
    pointer-events: auto !important;
}

#mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible !important;
}

#mobile-menu:not(.active) {
    transform: translateX(100%);
    opacity: 0;
}

.nav-link-mobile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin: 4px 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.8) 0%, rgba(30, 30, 30, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.nav-link-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.2), transparent);
    transition: left 0.7s ease;
}

.nav-link-mobile:hover::before {
    left: 100%;
}

.nav-link-mobile:hover {
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.9) 0%, rgba(40, 40, 40, 0.9) 100%);
    border-color: rgba(135, 206, 235, 0.3);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(135, 206, 235, 0.2);
}

.icon-container {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1) 0%, rgba(135, 206, 235, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(135, 206, 235, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-link-mobile:hover .icon-container {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.2) 0%, rgba(135, 206, 235, 0.1) 100%);
    border-color: rgba(135, 206, 235, 0.3);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.3);
}

.icon-container svg {
    color: #87CEEB;
    transition: all 0.3s ease;
}

.nav-link-mobile:hover .icon-container svg {
    color: #ffffff;
    transform: scale(1.1);
}

.link-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link-mobile:hover .link-text {
    color: #87CEEB;
    letter-spacing: 0.5px;
}

.link-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 18px;
    font-weight: 300;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-link-mobile:hover .link-arrow {
    color: #87CEEB;
    transform: translateX(5px);
}

.close-button {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.close-button:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(135, 206, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-link-mobile.active {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.15) 0%, rgba(135, 206, 235, 0.05) 100%);
    border-color: rgba(135, 206, 235, 0.4);
}

.nav-link-mobile.active .icon-container {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.3) 0%, rgba(135, 206, 235, 0.2) 100%);
    border-color: rgba(135, 206, 235, 0.4);
}

.nav-link-mobile.active .link-text {
    color: #87CEEB;
    font-weight: 600;
}

.nav-link-mobile.active .link-arrow {
    color: #87CEEB;
}

#mobile-menu.active {
    animation: slideInRightPremium 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

#mobile-menu:not(.active) {
    animation: slideOutRightPremium 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes slideInRightPremium {
    0% {
        transform: translateX(100%) scale(0.95);
        opacity: 0;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOutRightPremium {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(100%) scale(0.95);
        opacity: 0;
    }
}

/* ===== Utilities ===== */
.animate-fadeIn {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.overflow-hidden {
    overflow: hidden;
}