/* ============================================
   Link @ Sheraton Cafe — Custom Styles
   ============================================ */

/* Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: rgba(44, 184, 132, 0.3);
    color: #f0f4f8;
}

/* ============================================
   Navbar
   ============================================ */
#navbar {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 26, 46, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(44, 184, 132, 0.1);
}

/* Hamburger */
.hamburger-line {
    display: block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

#mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Mobile Menu */
#mobile-menu {
    z-index: 50;
}

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 30px;
    height: 2px;
    background: #2cb884;
    transition: transform 0.3s ease;
}

.mobile-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-image {
    transition: transform 8s ease-out;
}

.hero-image.loaded {
    transform: scale(1);
}

.hero-eyebrow {
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero-headline {
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.hero-cta {
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

.hero-stats {
    animation: fadeInRight 0.8s ease forwards 1.1s;
}

.hero-scroll {
    animation: fadeIn 0.8s ease forwards 1.3s;
}

.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 3rem; }
    50% { opacity: 1; height: 4.5rem; }
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Intersection Observer Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="right"] {
    transform: translateX(-30px);
}

[data-animate="right"].is-visible {
    transform: translateX(0);
}

[data-animate="left"] {
    transform: translateX(30px);
}

[data-animate="left"].is-visible {
    transform: translateX(0);
}

[data-animate="scale"] {
    transform: scale(0.95);
}

[data-animate="scale"].is-visible {
    transform: scale(1);
}

/* ============================================
   Menu Tabs
   ============================================ */
.menu-tab {
    background: transparent;
    color: #627d98;
    border: 1px solid transparent;
    cursor: pointer;
}

.menu-tab:hover {
    color: #8ee8c8;
}

.menu-tab.active {
    background: rgba(44, 184, 132, 0.15);
    color: #2cb884;
    border-color: rgba(44, 184, 132, 0.4);
}

/* Menu Items */
.menu-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(98, 125, 152, 0.15);
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ============================================
   Experience Cards
   ============================================ */
.experience-card {
    cursor: pointer;
}

.experience-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(44, 184, 132, 0);
    transition: border-color 0.4s ease;
    pointer-events: none;
}

.experience-card:hover::after {
    border-color: rgba(44, 184, 132, 0.3);
}

/* ============================================
   Form Styles
   ============================================ */
input:focus,
textarea:focus {
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #486581;
}

/* ============================================
   Smooth Scroll Offset
   ============================================ */
section[id] {
    scroll-margin-top: 80px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 3rem;
    }
    
    .hero-stats {
        display: none;
    }
    
    .menu-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .menu-tab {
        flex: 1;
        min-width: 100px;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .font-serif.text-4xl {
        font-size: 2rem;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
