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

:root {
    /* Color Palette */
    --bg-primary: #0F1115;
    --bg-secondary: #1A1D24;
    --bg-card: rgba(255, 255, 255, 0.05);
    
    --accent-primary: #D4A373;
    --accent-primary-hover: #b88a5d;
    --accent-secondary: #6B7280;
    
    --text-primary: #F5F5F5;
    --text-secondary: #A1A1AA;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1300px;
    --spacing-desktop: 100px;
    --spacing-tablet: 70px;
    --spacing-mobile: 50px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

ul {
    list-style: none;
}

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--accent-primary);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: var(--accent-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

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

header.scrolled {
    background-color: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo span {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-primary);
    transition: var(--transition);
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Account for header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1.05); /* For subtle parallax zoom in JS */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 17, 21, 0.6) 0%, rgba(15, 17, 21, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Page Header (for interior pages) */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--accent-primary);
}

/* Cards (Rooms & Amenities) */
.card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.02);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    background: rgba(255, 255, 255, 0.08);
}

.card-img-wrapper {
    overflow: hidden;
    height: 250px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Booking & Forms */
.booking-section, .contact-section {
    background-color: var(--bg-secondary);
}

.form-wrapper {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

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

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

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

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: rgba(0, 0, 0, 0.4);
}

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

/* Room Details Layout */
.room-details-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.amenities-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.amenities-list li::before {
    content: '✦';
    color: var(--accent-primary);
}

/* Info Blocks */
.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    font-size: 1.2rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

/* Content Pages (Terms/Privacy) */
.content-page {
    max-width: 800px;
    margin: 0 auto;
}

.content-page h2 {
    margin-top: 2.5rem;
    color: var(--accent-primary);
}

.content-page ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background-color: #08090b;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

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

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

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

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

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

/* Utilities */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

/* GSAP Initial States */
.gsap-reveal {
    opacity: 0;
    visibility: hidden;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    section { padding: var(--spacing-tablet) 0; }
    .hero h1 { font-size: 3.5rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .room-details-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    
    .nav-links.active { right: 0; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    
    .hero h1 { font-size: 2.8rem; }
    .hero-btns { flex-direction: column; }
    
    .page-header { padding: 120px 0 60px; }
}

@media (max-width: 480px) {
    section { padding: var(--spacing-mobile) 0; }
    .hero h1 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-wrapper { padding: 1.5rem; }
}