/* Minimalist Modern Hotel - Clean & Refined Styles */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fefefe;
    font-weight: 300;
}

/* Typography */
.font-inter {
    font-family: 'Inter', sans-serif;
}

.font-crimson {
    font-family: 'Crimson Text', serif;
}

/* Header Styles */
#header {
    background: rgba(254, 254, 254, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(92, 86, 79, 0.1);
    transition: all 0.3s ease;
}

#header.scrolled {
    background: rgba(254, 254, 254, 0.98);
    border-bottom-color: rgba(92, 86, 79, 0.2);
}

/* Navigation Links */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1a1a1a;
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-menu.active {
    max-height: 400px;
}

/* Button Styles */
.btn-primary {
    background: #1a1a1a;
    color: white;
    padding: 16px 32px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background: #5c564f;
}

.btn-secondary {
    background: transparent;
    color: #5c564f;
    padding: 16px 32px;
    border: 1px solid #5c564f;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.btn-secondary:hover {
    background: #5c564f;
    color: white;
}

/* Room Cards */
.room-card {
    transition: all 0.4s ease;
}

.room-card:hover {
    transform: translateY(-5px);
}

/* Color Palette */
.bg-cream {
    background-color: #fdfcf7;
}

.bg-warm-white {
    background-color: #fefefe;
}

.bg-soft-beige {
    background-color: #f7f4f0;
}

.text-taupe {
    color: #8b7d6b;
}

.text-warm-gray {
    color: #6b6358;
}

.text-sage {
    color: #a4a895;
}

.text-stone {
    color: #5c564f;
}

.text-off-black {
    color: #1a1a1a;
}

.bg-taupe {
    background-color: #8b7d6b;
}

.bg-warm-gray {
    background-color: #6b6358;
}

.bg-sage {
    background-color: #a4a895;
}

.bg-stone {
    background-color: #5c564f;
}

.bg-off-black {
    background-color: #1a1a1a;
}

.bg-light-brown {
    background-color: #d4c4b0;
}

/* Border Colors */
.border-stone\/20 {
    border-color: rgba(92, 86, 79, 0.2);
}

.border-stone\/30 {
    border-color: rgba(92, 86, 79, 0.3);
}

/* Form Styles */
form input,
form textarea,
form select {
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: #1a1a1a;
}

/* Minimal Form Style */
.minimal-input {
    border: none;
    border-bottom: 1px solid rgba(92, 86, 79, 0.3);
    background: transparent;
    padding-bottom: 12px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.minimal-input:focus {
    border-bottom-color: #1a1a1a;
    outline: none;
}

/* Image Hover Effects */
.room-card img {
    transition: transform 0.7s ease;
}

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

/* Subtle Shadows */
.shadow-minimal {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.shadow-soft {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Text Selection */
::selection {
    background: rgba(92, 86, 79, 0.2);
    color: #1a1a1a;
}

::-moz-selection {
    background: rgba(92, 86, 79, 0.2);
    color: #1a1a1a;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #8b7d6b;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b6358;
}

/* Minimal Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

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

/* Layout Spacing */
.section-padding {
    padding: 6rem 0;
}

.container-padding {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Typography Spacing */
.text-spacing {
    letter-spacing: 0.02em;
}

.text-spacing-wide {
    letter-spacing: 0.1em;
}

/* Grid Layouts */
.grid-minimal {
    display: grid;
    gap: 3rem;
}

/* Service Icons */
.service-icon {
    width: 64px;
    height: 64px;
    border: 1px solid rgba(92, 86, 79, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-icon:hover {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: white;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    opacity: 0.9;
}

/* Contact Form Enhancement */
.contact-form {
    max-width: none;
}

.contact-form input,
.contact-form textarea {
    border: none;
    border-bottom: 1px solid rgba(92, 86, 79, 0.3);
    background: transparent;
    padding: 0 0 12px 0;
    font-size: 16px;
    font-weight: 300;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: #1a1a1a;
    outline: none;
}

.contact-form label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1a1a1a;
    margin-bottom: 12px;
    display: block;
}

/* Footer Styles */
footer {
    background: #fdfcf7;
}

footer a:hover {
    color: #1a1a1a;
    transition: color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .text-5xl,
    .text-6xl,
    .text-7xl {
        font-size: 3rem;
        line-height: 1.1;
    }

    .text-4xl {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }

    .grid-minimal {
        gap: 2rem;
    }

    .text-3xl {
        font-size: 1.8rem;
    }

    .text-4xl {
        font-size: 2.2rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .container-padding {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .text-2xl {
        font-size: 1.4rem;
    }

    .text-3xl {
        font-size: 1.6rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .bg-cream,
    .bg-soft-beige {
        background: white !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .text-warm-gray,
    .text-stone {
        color: #000000 !important;
    }

    .border-stone\/20,
    .border-stone\/30 {
        border-color: #000000 !important;
    }
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Performance Optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Aspect Ratios */
.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-4\/3 {
    aspect-ratio: 4 / 3;
}

/* Object Fit */
.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

/* Backdrop Blur Support */
@supports (backdrop-filter: blur(10px)) {
    .backdrop-blur {
        backdrop-filter: blur(10px);
    }
}

@supports not (backdrop-filter: blur(10px)) {
    .backdrop-blur {
        background: rgba(254, 254, 254, 0.9);
    }
}

/* Container Queries Support */
@container (min-width: 400px) {
    .container-sm {
        padding: 2rem;
    }
}

/* Modern CSS Features */
.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

/* Scroll Snap */
.scroll-snap-x {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
}

.scroll-snap-start {
    scroll-snap-align: start;
}

.scroll-snap-center {
    scroll-snap-align: center;
}
