/* ===== CSS Custom Properties ===== */
:root {
    --cream-50: #fefdf8;
    --burgundy-700: #9f1030;
    --blush-500: #ff4d75;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cream-50);
    color: #1f2937;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Fixed Geometric Background Elements ===== */
.geo-circle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.geo-circle--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(190, 28, 59, 0.06) 0%, transparent 70%);
    top: 20%;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 77, 117, 0.08) 0%, transparent 70%);
    bottom: 30%;
    left: -50px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle--3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(190, 28, 59, 0.05) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-triangle {
    position: fixed;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(190, 28, 59, 0.04);
    top: 40%;
    left: 5%;
    transform: rotate(15deg);
    animation: spin-slow 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.geo-square {
    position: fixed;
    width: 100px;
    height: 100px;
    background: rgba(255, 77, 117, 0.04);
    border-radius: 20px;
    bottom: 20%;
    right: 5%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite reverse;
    pointer-events: none;
    z-index: 0;
}

/* ===== Hero Geometric Shapes ===== */
.hero-geo {
    position: absolute;
    pointer-events: none;
}

.hero-geo--circle1 {
    width: 500px;
    height: 500px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: pulse-slow 8s ease-in-out infinite;
}

.hero-geo--circle2 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 77, 117, 0.15);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: pulse-slow 6s ease-in-out infinite;
}

.hero-geo--triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 175px solid rgba(255, 77, 117, 0.08);
    top: 20%;
    left: 10%;
    transform: rotate(-15deg);
    animation: float-slow 12s ease-in-out infinite;
}

.hero-geo--square {
    width: 120px;
    height: 120px;
    background: rgba(190, 28, 59, 0.1);
    border-radius: 24px;
    top: 30%;
    right: 15%;
    transform: rotate(30deg);
    animation: spin-slow 20s linear infinite;
}

.hero-geo--rect1 {
    width: 200px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    bottom: 30%;
    right: 5%;
    transform: rotate(-20deg);
    animation: float-slow 10s ease-in-out infinite;
}

.hero-geo--rect2 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 185, 204, 0.15);
    border-radius: 16px;
    bottom: 20%;
    left: 20%;
    transform: rotate(45deg);
    animation: spin-slow 15s linear infinite reverse;
}

/* ===== Animations ===== */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.7; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ===== Animation Classes ===== */
.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
    opacity: 0;
}

.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-400 { animation-delay: 0.4s; }

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* ===== Navigation ===== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffb9cc, #ff85a3);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    position: relative;
}

/* ===== Info Cards ===== */
.info-card {
    transition: all 0.3s ease;
}

.info-card:hover {
    background: linear-gradient(135deg, rgba(190, 28, 59, 0.04), rgba(255, 77, 117, 0.04));
    transform: translateY(-2px);
}

/* ===== Room Cards ===== */
.room-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Amenity Cards ===== */
.amenity-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Back to Top ===== */
#back-to-top {
    transition: all 0.3s ease;
}

#back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

#back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fefdf8;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #be1c3b, #e82350);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9f1030, #be1c3b);
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #be1c3b;
    outline-offset: 2px;
}

/* ===== Selection ===== */
::selection {
    background: rgba(190, 28, 59, 0.2);
    color: #9f1030;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }

    .geo-circle--1 {
        width: 200px;
        height: 200px;
    }

    .geo-circle--2 {
        width: 120px;
        height: 120px;
    }

    .geo-triangle {
        border-left: 50px solid transparent;
        border-right: 50px solid transparent;
        border-bottom: 87px solid rgba(190, 28, 59, 0.04);
    }

    .geo-square {
        width: 60px;
        height: 60px;
    }

    .hero-geo--circle1 {
        width: 250px;
        height: 250px;
    }

    .hero-geo--circle2 {
        width: 150px;
        height: 150px;
    }

    .hero-geo--square {
        width: 60px;
        height: 60px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .fixed, .geo-circle, .geo-triangle, .geo-square,
    .hero-geo, #back-to-top {
        display: none !important;
    }
}
