/* ========================================
   CRESCENT LAKE CLUB — Styles
   Burgundy + Blush | Clean Minimalist
   ======================================== */

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

:root {
    --burgundy: #781F37;
    --burgundy-dark: #5A1628;
    --burgundy-light: #9B2D4A;
    --blush: #F5E6E0;
    --blush-light: #FAF3F0;
    --blush-dark: #E8D0C8;
    --cream: #FDFBF9;
    --white: #FFFFFF;
    --charcoal: #2A2A2A;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #7A7A7A;
    --line: rgba(120, 31, 55, 0.12);
    --line-strong: rgba(120, 31, 55, 0.25);
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-dark);
}

.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.section-eyebrow-light {
    color: rgba(255,255,255,0.7);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.section-title-light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 560px;
    line-height: 1.8;
}

.section-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2.25rem;
    border: 1.5px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn-primary:hover {
    background-color: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(253, 251, 249, 0.97);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--burgundy);
}

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

.nav-links a {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
    position: relative;
}

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

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

.nav-links a:hover {
    color: var(--white);
}

.navbar.scrolled .nav-links a {
    color: var(--text-medium);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--burgundy);
}

.nav-links .btn {
    padding: 0.75rem 1.75rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background-color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .mobile-toggle span {
    background-color: var(--burgundy);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/271618/pexels-photo-271618.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.45) 0%,
        rgba(26, 26, 26, 0.35) 50%,
        rgba(26, 26, 26, 0.65) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-title-line {
    display: block;
}

.hero-title-line:first-child {
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

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

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ---------- Sections ---------- */
.section {
    padding: 7rem 0;
}

.section-alt {
    background-color: var(--blush-light);
}

.section-dark {
    background-color: var(--burgundy-dark);
    padding: 6rem 0;
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    right: -1.5rem;
    bottom: -1.5rem;
    border: 1px solid var(--line-strong);
    z-index: -1;
}

.about-content {
    padding: 1rem 0;
}

.about-content .section-title {
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--line-strong);
}

/* ---------- Rooms ---------- */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.room-card {
    background-color: var(--white);
    transition: var(--transition);
}

.room-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.room-image {
    overflow: hidden;
    aspect-ratio: 3/2;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.room-info {
    padding: 2rem;
}

.room-name {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.room-desc {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.room-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.room-features li {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--burgundy);
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--line-strong);
}

/* ---------- Amenities ---------- */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--line);
}

.amenity-card {
    background-color: var(--cream);
    padding: 2.5rem;
    transition: var(--transition);
}

.amenity-card:hover {
    background-color: var(--blush-light);
}

.amenity-icon {
    width: 48px;
    height: 48px;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
}

.amenity-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.amenity-desc {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-item-large {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 7;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(3),
.gallery-item:nth-child(4) {
    grid-column: span 4;
}

/* ---------- Location ---------- */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.location-details {
    font-style: normal;
    margin: 2rem 0;
    line-height: 2;
}

.location-details a {
    color: var(--burgundy);
    transition: var(--transition);
}

.location-details a:hover {
    color: var(--burgundy-dark);
}

.location-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.location-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.location-feature svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

.location-map {
    aspect-ratio: 4/3;
    background-color: var(--blush-dark);
    overflow: hidden;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    filter: saturate(0.6) contrast(1.05);
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.contact-item svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--text-medium);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--burgundy);
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--cream);
    border: 1px solid var(--line-strong);
    padding: 0.875rem 1rem;
    outline: none;
    transition: var(--transition);
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background-color: var(--white);
}

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

.form-note {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.form-success svg {
    color: var(--burgundy);
}

.form-success h3 {
    font-size: 1.75rem;
    font-weight: 400;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
    background-color: var(--charcoal);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    max-width: 280px;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .location-grid,
    .contact-grid {
        gap: 3rem;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-rows: repeat(3, 220px);
    }
    
    .gallery-item-large {
        grid-column: span 6;
        grid-row: span 2;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3) {
        grid-column: span 3;
    }
    
    .gallery-item:nth-child(4) {
        grid-column: span 6;
    }
    
    .gallery-item-wide {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    /* Mobile nav */
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        inset: 0;
        background-color: rgba(253, 251, 249, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    
    .nav-links.active {
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-links a {
        color: var(--text-dark);
        font-size: 0.9rem;
    }
    
    .nav-links a:hover {
        color: var(--burgundy);
    }
    
    /* Hero */
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-height: 400px;
    }
    
    .about-image::after {
        display: none;
    }
    
    /* Rooms */
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    /* Amenities */
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item,
    .gallery-item-large,
    .gallery-item-wide,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-item {
        aspect-ratio: 16/10;
    }
    
    /* Location & Contact */
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        min-height: 300px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
