/* ==========================================================================
   CSS VARIABLES - "FROST LUXURY" DESIGN SYSTEM
   ========================================================================== */
:root {
    /* Colors */
    --color-base: #0b0f14;         /* Frozen night black */
    --color-surface: #111827;      /* Deep alpine blue-black */
    --color-frost: rgba(255, 255, 255, 0.05); /* Frost glass layer */
    --color-frost-hover: rgba(255, 255, 255, 0.08);
    --color-border: rgba(255, 255, 255, 0.1);
    
    --color-text-main: #e0f2fe;    /* Ice white */
    --color-text-muted: #cbd5e1;   /* Snow mist gray */
    --color-accent: #93c5fd;       /* Cold sky blue */
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-max: 1400px;
    --spacing-section: 120px;
    
    /* Animations */
    --transition-slow: 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.3s ease;
}

@media (max-width: 1024px) {
    :root { --spacing-section: 80px; }
}

@media (max-width: 768px) {
    :root { --spacing-section: 60px; }
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-muted);
    background-color: var(--color-base);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    font-weight: 400;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   LAYOUT SYSTEM
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: var(--spacing-section) 0;
}

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

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: var(--color-frost);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
}

.btn-primary:hover {
    background: var(--color-text-main);
    color: var(--color-base);
    border-color: var(--color-text-main);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-link {
    display: inline-block;
    color: var(--color-text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 4px;
    margin-top: 1rem;
}

.btn-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Header - Frost Glass Nav */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
    transition: padding 0.5s ease, background 0.5s ease, backdrop-filter 0.5s ease;
    border-bottom: 1px solid transparent;
}

#main-header.scrolled,
#main-header.scrolled-permanent {
    padding: 15px 0;
    background: rgba(11, 15, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-main);
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-nav a:not(.btn-primary) {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.main-nav a:not(.btn-primary):hover {
    opacity: 1;
    color: var(--color-accent);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 1px;
    background-color: var(--color-text-main);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Image: snowy-swiss-alps-resort.webp */
    background: url('images/photo-1483921020237-2ff51e8e4b22.png') center/cover no-repeat;
    z-index: -2;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate linear;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 15, 20, 0.3) 0%, rgba(11, 15, 20, 0.8) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-subtext {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    color: var(--color-accent);
}

.hero-headline {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 1px solid var(--color-text-main);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: var(--color-text-main);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

/* Rooms Section */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.room-card {
    background: var(--color-frost);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform var(--transition-fast);
}

.room-card:hover {
    transform: translateY(-5px);
    background: var(--color-frost-hover);
}

.room-image-wrapper {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
}

.room-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.room-card:hover .room-img {
    transform: scale(1.03);
}

.room-info {
    padding: 40px;
}

.room-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.room-info p {
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Amenities Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.split-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.amenity-list {
    list-style: none;
}

.amenity-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.amenity-list span {
    margin-right: 15px;
    font-size: 1.2rem;
    opacity: 0.8;
}

.split-image img {
    width: 100%;
    height: auto;
    border: 1px solid var(--color-border);
}

/* Experience Section */
.experience-banner {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.parallax-img {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    z-index: -1;
}

.experience-overlay {
    background: rgba(11, 15, 20, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 60px 40px;
    max-width: 600px;
    border: 1px solid var(--color-border);
}

.experience-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Footer */
.main-footer {
    border-top: 1px solid var(--color-border);
    background: var(--color-base);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ==========================================================================
   CONTACT / RESERVE PAGE
   ========================================================================== */
.contact-page {
    background: var(--color-surface);
}

.contact-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Image: luxury-winter-hotel-architecture.webp */
    background: url('images/photo-1548777123-e216912df7d8.png') center/cover no-repeat;
    z-index: -2;
    opacity: 0.15;
}

.contact-main {
    padding-top: 120px;
    min-height: 100vh;
}

.contact-wrapper {
    max-width: 800px;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.frost-panel {
    background: rgba(11, 15, 20, 0.7);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-text-main);
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.06);
}

.form-group select option {
    background: var(--color-base);
    color: var(--color-text-main);
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
    font-size: 1rem;
    padding: 16px;
}

.hidden {
    display: none !important;
}

.form-success {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-success p {
    margin-bottom: 30px;
}

/* ==========================================================================
   ANIMATIONS & UTILITIES
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .room-grid {
        grid-template-columns: 1fr;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none; /* simple hidden for mobile, in real world needs full mobile menu */
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .frost-panel {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}