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

:root {
    /* Core Palette - NO BLUE */
    --deep-black: #050505;
    --charcoal: #111111;
    --champagne-gold: #e7c873;
    --champagne-gold-dim: rgba(231, 200, 115, 0.3);
    --soft-ivory: #f8f5f0;
    --warm-beige: #d6c2a1;
    --bronze: #b08968;
    --deep-wine: #5a1e1e;
    --olive-green: #4b5d3a;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-display: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing & Layout */
    --nav-height: 90px;
    --spacing-sm: 1rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
    --spacing-xl: 10rem;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--deep-black);
    color: var(--soft-ivory);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 30px);
}

/* Material & Glass Utilities */
.glass-panel {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(231, 200, 115, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.glossy-text {
    background: linear-gradient(to right, var(--soft-ivory), var(--champagne-gold), var(--bronze));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0px 2px 10px rgba(231, 200, 115, 0.2);
}

/* Image Warmth Filter */
img {
    filter: sepia(15%) contrast(105%) saturate(90%);
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
}

.display-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

p {
    margin-bottom: var(--spacing-sm);
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(231, 200, 115, 0.2);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--champagne-gold);
    letter-spacing: 2px;
}

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

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--champagne-gold);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px var(--champagne-gold);
}

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

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--champagne-gold) 0%, var(--bronze) 100%);
    color: var(--deep-black);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border: 1px solid var(--soft-ivory);
    box-shadow: 0 4px 15px var(--champagne-gold-dim);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-gold:hover {
    box-shadow: 0 6px 20px rgba(231, 200, 115, 0.6);
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--champagne-gold);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--champagne-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--champagne-gold);
    color: var(--deep-black);
    box-shadow: 0 0 15px var(--champagne-gold-dim);
}

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

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroCrossfade 36s infinite;
    transform: scale(1.05);
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.8) 100%);
}

.hero-slide:nth-child(1) { background-image: url('images/photo-1566073771259-6a8506099945.png'); animation-delay: 0s; }
.hero-slide:nth-child(2) { background-image: url('images/photo-1540541338287-41700207dee6.png'); animation-delay: 6s; }
.hero-slide:nth-child(3) { background-image: url('images/photo-1582719478250-c89cae4dc85b.png'); animation-delay: 12s; }
.hero-slide:nth-child(4) { background-image: url('images/photo-1512918728675-ed5a9ecdebfd.png'); animation-delay: 18s; }
.hero-slide:nth-child(5) { background-image: url('images/photo-1571896349842-33c89424de2d.png'); animation-delay: 24s; }
.hero-slide:nth-child(6) { background-image: url('images/photo-1610641818989-c2051b5e2cfd.png'); animation-delay: 30s; }

@keyframes heroCrossfade {
    0% { opacity: 0; transform: scale(1.05); }
    5% { opacity: 1; transform: scale(1.04); }
    16% { opacity: 1; transform: scale(1.01); }
    21% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; transform: scale(1); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 2rem;
    animation: fadeUp 1.5s ease-out forwards;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--warm-beige);
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

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

/* Section Common */
.section {
    padding: var(--spacing-xl) 5%;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 3rem;
    color: var(--champagne-gold);
}

.section-header p {
    color: var(--warm-beige);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Hotel Collection Grid with Inline Expanding Accordions */
.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.hotel-card {
    position: relative;
    border-radius: 4px;
    background: var(--charcoal);
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid transparent;
}

.hotel-card:hover {
    border-color: rgba(231, 200, 115, 0.4);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.hotel-card-header {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.hotel-card-img {
    height: 100%;
    width: 100%;
}

.hotel-card-img img {
    height: 100%;
    transition: transform 0.8s ease;
}

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

.hotel-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, var(--deep-black) 0%, transparent 100%);
    transform: translateY(45px);
    transition: transform 0.4s ease;
}

.hotel-card:hover .hotel-card-content,
.hotel-card.is-expanded .hotel-card-content {
    transform: translateY(0);
}

.hotel-card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    color: var(--soft-ivory);
}

.hotel-location {
    color: var(--champagne-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.hotel-highlight {
    font-size: 0.95rem;
    color: var(--warm-beige);
    opacity: 0;
    transition: opacity 0.4s ease;
    margin-bottom: 0.5rem;
}

.hotel-card:hover .hotel-highlight,
.hotel-card.is-expanded .hotel-highlight {
    opacity: 1;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    flex-wrap: wrap;
}

.hotel-card:hover .card-actions,
.hotel-card.is-expanded .card-actions {
    opacity: 1;
}

/* Expanding Content Logic */
.hotel-expanded-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: var(--charcoal);
    transition: all 0.6s ease;
    padding: 0 2rem;
}

.hotel-card.is-expanded .hotel-expanded-content {
    max-height: 2500px; /* arbitrary high limit to allow transition */
    opacity: 1;
    padding: 2rem;
    border-top: 1px solid rgba(231,200,115,0.2);
}

.hotel-expanded-content h4 {
    color: var(--champagne-gold);
    font-size: 1.4rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.hotel-expanded-content p {
    color: var(--soft-ivory);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Detail Pages Structure */
.hotel-hero {
    height: 80vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-lg) 5%;
    padding-top: calc(var(--nav-height) + var(--spacing-lg));
}

.hotel-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hotel-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.2) 100%);
}

.hotel-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    padding: var(--spacing-lg) 5%;
    background: var(--charcoal);
}

.detail-main h2 {
    font-size: 2.5rem;
    color: var(--champagne-gold);
    margin-bottom: 1.5rem;
}

.detail-main p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--soft-ivory);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: var(--spacing-md) 0;
}

.gallery-grid img {
    height: 300px;
    border-radius: 2px;
}

.gallery-grid img:first-child {
    grid-column: 1 / -1;
    height: 450px;
}

.sidebar-box {
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.sidebar-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.amenities-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* Hotel Themes */
.theme-valley { background-color: var(--soft-ivory); color: var(--deep-black); }
.theme-valley .hotel-detail-content { background-color: var(--soft-ivory); color: var(--deep-black); }
.theme-valley .detail-main p { color: #333; }
.theme-valley .sidebar-box { background: #fff; border: 1px solid var(--warm-beige); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.theme-valley h2, .theme-valley h3 { color: var(--olive-green); }

.theme-riviera { background-color: var(--deep-black); }
.theme-riviera .hotel-detail-content { background-color: var(--charcoal); }
.theme-riviera h2, .theme-riviera h3 { color: var(--bronze); }
.theme-riviera .sidebar-box { background: var(--deep-black); border: 1px solid rgba(176, 137, 104, 0.3); }

.theme-provence { background-color: var(--warm-beige); color: var(--deep-wine); }
.theme-provence .hotel-detail-content { background-color: var(--warm-beige); color: var(--deep-black); }
.theme-provence .detail-main p { color: var(--deep-wine); }
.theme-provence h2, .theme-provence h3 { color: var(--deep-wine); }
.theme-provence .sidebar-box { background: rgba(255,255,255,0.3); border: 1px solid var(--deep-wine); }

.theme-cliffside { background-color: var(--deep-black); }
.theme-cliffside .hotel-detail-content { background-color: #0a0a0a; }
.theme-cliffside h2, .theme-cliffside h3 { color: var(--champagne-gold); }
.theme-cliffside .sidebar-box { background: var(--charcoal); border: 1px solid rgba(231, 200, 115, 0.2); }

.theme-alpine { background-color: var(--charcoal); }
.theme-alpine .hotel-detail-content { background-color: #1a1c1a; }
.theme-alpine h2, .theme-alpine h3 { color: var(--soft-ivory); }
.theme-alpine .sidebar-box { background: #232623; border: 1px solid var(--olive-green); }
.theme-alpine .amenities-list li::before { color: var(--olive-green); }

/* Experiences Section */
.experiences-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.exp-item {
    flex: 1 1 300px;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.exp-item img {
    height: 100%;
    transition: filter 0.5s ease, transform 0.5s ease;
    filter: sepia(20%) brightness(0.6);
}

.exp-item:hover img {
    filter: sepia(10%) brightness(0.9);
    transform: scale(1.05);
}

.exp-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: rgba(5,5,5,0.3);
}

.exp-content h3 {
    font-size: 2rem;
    color: var(--soft-ivory);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

/* Global Booking / Contact Section */
.booking-section {
    background: var(--charcoal);
    padding: var(--spacing-xl) 5%;
    border-top: 1px solid var(--champagne-gold-dim);
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(5,5,5,0.6);
    padding: 4rem;
    border: 1px solid rgba(231,200,115,0.15);
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--champagne-gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.form-control {
    width: 100%;
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--soft-ivory);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--champagne-gold);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 10px var(--champagne-gold-dim);
}

select.form-control option {
    background: var(--charcoal);
    color: var(--soft-ivory);
    padding: 10px;
}

/* Footer */
footer {
    background: var(--deep-black);
    padding: var(--spacing-lg) 5% 2rem;
    border-top: 1px solid rgba(231, 200, 115, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
    color: var(--champagne-gold);
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--warm-beige);
    max-width: 300px;
}

.footer-links h4 {
    color: var(--soft-ivory);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

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

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

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

.footer-links a:hover {
    color: var(--champagne-gold);
}

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

/* Legal & Guide Pages */
.text-page-hero {
    height: 40vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal);
    border-bottom: 1px solid var(--champagne-gold-dim);
    text-align: center;
    padding-top: var(--nav-height);
}

.text-page-hero h1 {
    font-size: 3.5rem;
    color: var(--champagne-gold);
}

.text-content-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg) 5%;
}

.text-content-wrap h2 {
    color: var(--champagne-gold);
    margin-top: 3.5rem;
    margin-bottom: 1.2rem;
    font-size: 2.2rem;
    border-bottom: 1px solid rgba(231,200,115,0.1);
    padding-bottom: 10px;
}

.text-content-wrap h3 {
    color: var(--soft-ivory);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.text-content-wrap p, .text-content-wrap ul {
    margin-bottom: 1.5rem;
    color: #ccc;
    font-size: 1.05rem;
}

.text-content-wrap ul {
    padding-left: 2rem;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hotel-detail-content { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .gallery-grid img:first-child { height: 250px; }
    .booking-container { padding: 2rem; }
}