@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
    /* Color System: Arctic Night Gold */
    --primary-bg: #0B132B;
    --secondary-bg: #1C2541;
    --neutral-surface: #F8F9FA;
    
    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #FFD166, #FCA311);
    --ice-blue-gradient: linear-gradient(135deg, #3A86FF, #4CC9F0);
    
    /* Text Colors */
    --text-primary: #F9FAFB;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --text-dark: #0B132B;
    
    /* Glass UI */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 209, 102, 0.2);
    --glass-blur: 16px;
    
    /* Glows */
    --glow-gold: 0 8px 32px rgba(255, 209, 102, 0.25);
    --glow-blue: 0 8px 32px rgba(58, 134, 255, 0.2);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing & Layout */
    --max-width: 1400px;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --border-radius: 24px;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

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

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

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-ice-blue {
    background: var(--ice-blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mt-4 { margin-top: 4rem; }

/* Sections: Dark/Light */
.section {
    padding: var(--spacing-lg) 0;
}

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

.section-light {
    background-color: var(--neutral-surface);
    color: var(--text-dark);
}

.section-light p {
    color: #475569;
}

.section-light .glass-panel {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* Glassmorphism */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-bg);
    box-shadow: var(--glow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 209, 102, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 209, 102, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 209, 102, 0.1);
    border-color: #FFD166;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 209, 102, 0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gold-gradient);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Split Screen Hero */
.hero-split {
    display: flex;
    min-height: 100vh;
    padding-top: 80px; /* Offset for header */
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 4rem 4rem 10%;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-wrap {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: slowZoom 20s infinite alternate linear;
}

.hero-image-wrap::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, var(--primary-bg) 0%, transparent 100%);
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Smaller Hero for Subpages */
.sub-hero {
    padding: 12rem 0 6rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(11, 19, 43, 0.8), var(--primary-bg)), url('assets/images/helsinki-night-skyline-bg.jpg') center/cover;
}

.sub-hero h1 {
    font-size: 3.5rem;
}

/* Cards & Grid System */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.hotel-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.hotel-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--glow-blue);
    border-color: rgba(58, 134, 255, 0.4);
}

.hotel-card-image {
    height: 250px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: calc(var(--border-radius) - 4px);
    margin-bottom: 1.5rem;
}

.hotel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hotel-card:hover .hotel-card-image img {
    transform: scale(1.05);
}

.hotel-card-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    color: #FFD166;
    border: 1px solid rgba(255, 209, 102, 0.3);
}

.hotel-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.hotel-card .location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    margin-top: auto;
}

.tag {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-secondary);
}

.section-light .tag {
    background: var(--neutral-surface);
    border-color: rgba(0,0,0,0.1);
    color: var(--text-dark);
}

/* Split Content Section */
.split-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-content.reverse {
    flex-direction: row-reverse;
}

.split-text, .split-image {
    flex: 1;
}

.split-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--glow-gold);
}

/* Hotel Detail Page Specific */
.detail-header {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
}

.detail-header-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}

.detail-header-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-bg));
    z-index: -1;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.amenity-item {
    text-align: center;
    padding: 2rem;
}

.amenity-item h4 {
    color: #FFD166;
    margin-bottom: 0.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: #FFD166;
    background: rgba(255, 255, 255, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background-color: #060A16;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 209, 102, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #FFD166;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
}

.footer-col p {
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #FFD166;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-content {
        padding: 6rem 2rem 2rem;
        text-align: center;
        align-items: center;
    }
    .hero-image-wrap::after {
        background: linear-gradient(to bottom, var(--primary-bg) 0%, transparent 100%);
    }
    .split-content, .split-content.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-bg);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .sub-hero h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}