@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-indigo: #1A237E;
    --accent-violet: #7E57C2;
    --bg-white: #FFFFFF;
    --text-black: #111111;
    --text-muted: #666666;
    --border-minimal: #F2F2F2;
    --shadow-minimal: 0 4px 16px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.08);
    --transition-apple: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --container-max: 1400px;
    --grid-gap: 24px;
    --section-pad: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-black);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Photo-Focused Typography */
h1,
h2,
h3 {
    font-weight: 600;
    /* Inter SemiBold */
    letter-spacing: -0.04em;
    line-height: 1.1;
}

p {
    font-weight: 400;
    color: var(--text-muted);
}

/* Minimal Floating Header */
header {
    height: 64px;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-apple);
}

header.scrolled {
    height: 52px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 60px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-indigo);
    letter-spacing: -0.06em;
}

.logo span {
    color: var(--accent-violet);
}

nav ul {
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-black);
    opacity: 0.7;
    transition: var(--transition-apple);
}

nav ul li a:hover {
    opacity: 1;
    color: var(--accent-violet);
}

/* Cinematic Full-Width Hero */
.hero-wide {
    height: 85vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
}

.hero-video-bg,
.hero-img-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0.6;
}

.hero-overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 800px;
}

/* Photo-Focused Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 60px;
}

.hero-overlay h1 {
    font-size: 3.25rem;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.hero-overlay p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* Ultra-Clean Wide Search */
.search-wide-box {
    background: white;
    padding: 0.5rem;
    border-radius: 100px;
    display: flex;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.search-wide-box input {
    flex: 1;
    border: none;
    padding: 1rem 1.75rem;
    font-size: 1rem;
    outline: none;
    border-radius: 100px;
}

.btn-search-wide {
    background: var(--accent-violet);
    color: white;
    padding: 0 3rem;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-apple);
}

.btn-search-wide:hover {
    background: #6a49a8;
    transform: scale(1.02);
}

/* Photo Card Grid (Homepage) */
.section-photo-grid {
    padding: var(--section-pad) 0;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
    justify-content: center;
}

.photo-card {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: var(--transition-apple);
    margin: 0 auto;
}

.photo-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.photo-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: var(--transition-apple);
}

.photo-card:hover img {
    transform: scale(1.1);
}

.photo-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
}

.photo-card-overlay h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* Destination Hero Edge-to-Edge */
.dest-hero-edge {
    height: 70vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 6rem;
    background-size: cover;
    background-position: center;
    color: white;
}

.dest-hero-edge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

.dest-hero-edge .container {
    position: relative;
    z-index: 10;
}

.dest-hero-edge h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.dest-hero-edge p {
    font-size: 1.1rem;
    max-width: 600px;
    opacity: 0.9;
}

/* Editorial Content Layout */
.editorial-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.editorial-section {
    margin-bottom: 6rem;
}

.editorial-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-indigo);
}

.editorial-section p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Balanced Hotel Card Grid */
.stay-grid-bal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.stay-card {
    transition: var(--transition-apple);
}

.stay-card:hover {
    transform: translateY(-8px);
}

.stay-img-wrap {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.stay-img-wrap img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: var(--transition-apple);
}

.stay-card:hover .stay-img-wrap img {
    transform: scale(1.05);
}

.stay-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.stay-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Elegant Border Buttons */
.booking-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.btn-stay-book {
    padding: 0.7rem 0;
    text-align: center;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-black);
    transition: var(--transition-apple);
}

.btn-stay-book:hover {
    border-color: var(--accent-violet);
    color: var(--accent-violet);
    background: rgba(126, 87, 194, 0.05);
}

/* Category Grid (3 per row) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.category-card {
    position: relative;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-minimal);
    cursor: pointer;
    transition: var(--transition-apple);
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.category-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: var(--transition-apple);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    transition: var(--transition-apple);
}

.category-card:hover .category-card-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.category-card-overlay h3 {
    color: white;
    font-size: 1.4rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Footer & Utils */
footer {
    padding: 6rem 0;
    background: #FAFAFA;
    border-top: 1px solid var(--border-minimal);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .container, .header-inner {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container, .header-inner {
        padding: 0 30px;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hero-overlay h1 {
        font-size: 2.25rem;
    }
}