/* ===== BASE & RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.06;
}
.geo-circle-1 {
    width: 500px; height: 500px;
    border-radius: 50%;
    background: #E85D4A;
    top: -100px; right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}
.geo-circle-2 {
    width: 300px; height: 300px;
    border-radius: 50%;
    background: #E85D4A;
    bottom: 10%; left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}
.geo-circle-3 {
    width: 150px; height: 150px;
    border-radius: 50%;
    background: #E85D4A;
    top: 40%; right: 15%;
    animation: float-slow 12s ease-in-out infinite;
}
.geo-square-1 {
    width: 120px; height: 120px;
    background: #E85D4A;
    top: 20%; left: 3%;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}
.geo-square-2 {
    width: 80px; height: 80px;
    background: #E85D4A;
    bottom: 20%; right: 8%;
    transform: rotate(20deg);
    animation: spin-slow 25s linear infinite reverse;
}
.geo-triangle {
    width: 0; height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #E85D4A;
    top: 60%; left: 12%;
    opacity: 0.04;
    animation: float-slow 18s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}
@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* ===== HERO ANIMATIONS ===== */
.hero-tag { animation: fadeUp 0.8s ease forwards; opacity: 0; animation-delay: 0.2s; }
.hero-tag:nth-child(1) { animation-delay: 0.1s; }
h1 { animation: fadeUp 0.8s ease forwards; opacity: 0; animation-delay: 0.4s; }
h1 p { animation: fadeUp 0.8s ease forwards; opacity: 0; animation-delay: 0.5s; }
.hero-tag ~ p, .hero-tag ~ h1 ~ p { animation: fadeUp 0.8s ease forwards; opacity: 0; animation-delay: 0.6s; }
.hero-tag ~ h1 ~ p ~ *, .hero-tag ~ h1 ~ p ~ div ~ * { animation: fadeUp 0.8s ease forwards; opacity: 0; animation-delay: 0.8s; }
.hero-tag ~ h1 ~ p ~ div ~ * ~ * { animation: fadeUp 0.8s ease forwards; opacity: 0; animation-delay: 1s; }
.hero-tag ~ h1 ~ p ~ div ~ * ~ * ~ * { animation: fadeUp 0.8s ease forwards; opacity: 0; animation-delay: 1.1s; }

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

/* ===== SCROLL LINE ===== */
.animate-scroll-line {
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ===== CTA BUTTON ===== */
.cta-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.cta-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cta-btn:hover::after { opacity: 1; }

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
    background: rgba(19, 17, 16, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E85D4A;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ===== MOBILE MENU ===== */
.menu-line { transition: all 0.3s ease; }
#menu-toggle.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
#menu-toggle.active .menu-line:nth-child(2) { opacity: 0; }
#menu-toggle.active .menu-line:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); width: 20px; margin-left: 0; }
#mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-link { opacity: 0; transform: translateY(20px); transition: all 0.3s ease; }
#mobile-menu.open .mobile-link { opacity: 1; transform: translateY(0); }
#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ===== ROOM CARDS ===== */
.room-card {
    transition: transform 0.4s ease;
}
.room-card:hover { transform: translateY(-4px); }

/* ===== EXPERIENCE CARDS ===== */
.exp-card {
    transition: all 0.4s ease;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .geo-circle-1 { width: 250px; height: 250px; }
    .geo-circle-2 { width: 150px; height: 150px; }
    .geo-circle-3 { display: none; }
    .geo-square-1 { width: 60px; height: 60px; }
    .geo-square-2 { display: none; }
    .geo-triangle { display: none; }
    h1 { font-size: 2.75rem; }
    .lg\:text-7xl { font-size: 3rem; }
}

@media (max-width: 640px) {
    h1 { font-size: 2.25rem; }
    .font-display.text-4xl { font-size: 2rem; }
}
