/* ============================================
   CREEKSIDE 88 SEDONA — WEBSITE STYLES
   ============================================ */

:root {
    --color-cream: #F5F0E8;
    --color-charcoal: #2C2C2C;
    --color-brown: #8B6914;
    --color-gold: #C9A84C;
    --color-green: #4A5D23;
    --color-dark: #1A1A1A;
    --color-warm-bg: #FAF7F2;
    --color-accent-bg: #F0E8D8;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    background: var(--color-warm-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-brown); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--color-gold); }

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

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

.nav-cta {
    background: var(--color-gold) !important;
    color: var(--color-dark) !important;
    padding: 10px 24px !important;
    border-radius: 4px;
    font-weight: 600 !important;
}

.nav-cta:hover { background: var(--color-brown) !important; color: #fff !important; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-dark);
}

.btn-primary:hover {
    background: var(--color-brown);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-brown);
    border: 2px solid var(--color-brown);
}

.btn-secondary:hover {
    background: var(--color-brown);
    color: #fff;
}

.btn-large { padding: 20px 56px; font-size: 1.05rem; }
.btn-full { width: 100%; text-align: center; }

/* ============================================
   HERO
   ============================================ */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.7) 100%
    );
}

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 0 24px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0.8;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
    line-height: 1.1;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-style: italic;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 32px;
}

.hero-details {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    font-size: 0.95rem;
    opacity: 0.85;
}

.hero-details i { margin-right: 8px; color: var(--color-gold); }

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 100px 0; }

.section-dark { background: var(--color-dark); color: #fff; }
.section-accent { background: var(--color-accent-bg); }

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
}

.section-dark .section-header h2 { color: #fff; }

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text p { margin-bottom: 20px; color: #555; }
.about-text .lead { color: var(--color-charcoal); font-weight: 300; }

.about-img-main {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.about-img-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-img-row img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 4/3;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s;
}

.gallery-item:hover::after { background: rgba(0,0,0,0.2); }

.gallery-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-wide { grid-column: span 2; }
.gallery-wide img { aspect-ratio: 16/9; }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 16px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ============================================
   AMENITIES
   ============================================ */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.amenity-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.amenity-card i {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 16px;
}

.amenity-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.amenity-card p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}

/* ============================================
   LOCATION
   ============================================ */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.location-text .lead { margin-bottom: 40px; }

.location-distances { margin-bottom: 32px; }

.distance-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.distance-icon {
    width: 48px;
    height: 48px;
    background: var(--color-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.distance-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.distance-item p { color: #777; font-size: 0.9rem; margin: 0; }

.location-tip {
    display: flex;
    gap: 16px;
    background: #fff;
    padding: 20px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--color-gold);
}

.location-tip i { color: var(--color-gold); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.location-tip p { font-size: 0.9rem; color: #555; margin: 0; }

.location-highlight {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.location-highlight img {
    width: 100%;
    min-height: 500px;
    object-fit: cover;
}

.location-highlight-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.location-highlight-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.location-highlight-text p { font-size: 0.95rem; opacity: 0.9; }

/* ============================================
   EXPERIENCES
   ============================================ */
.experiences-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.experience-card {
    text-align: center;
    padding: 40px 24px;
}

.experience-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: var(--color-accent-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-brown);
}

.experience-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.experience-card p { font-size: 0.9rem; color: #666; line-height: 1.6; }

.guide-cta {
    text-align: center;
    padding: 48px;
    background: var(--color-accent-bg);
    border-radius: 12px;
}

.guide-cta h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.guide-cta p { color: #666; margin-bottom: 24px; }

/* ============================================
   BOOK DIRECT
   ============================================ */
.section-book {
    position: relative;
    overflow: hidden;
}

.book-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.book-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.85);
}

.book-content {
    position: relative;
    color: #fff;
}

.book-content .section-header h2 { color: #fff; }

.book-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 56px;
}

.book-benefit {
    text-align: center;
}

.book-benefit i {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.book-benefit h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.book-benefit p { opacity: 0.8; font-size: 0.95rem; }

.book-cta-area { text-align: center; }

.book-also {
    margin-top: 16px;
    font-size: 0.85rem;
    opacity: 0.6;
}

.book-also a { color: rgba(255,255,255,0.8); text-decoration: underline; }

/* ============================================
   NEWSLETTER / GUIDE SIGNUP
   ============================================ */
.guide-signup {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.guide-signup h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.guide-signup > div > p { color: #666; margin-bottom: 24px; font-size: 1.05rem; }

.guide-features {
    list-style: none;
}

.guide-features li {
    padding: 8px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-features i { color: var(--color-green); }

.guide-signup-form {
    background: #fff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0d9cc;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--color-warm-bg);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 32px;
}

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

.footer-brand h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

footer h4 {
    color: var(--color-gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-contact p, .footer-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
}

.footer-contact a, .footer-social a {
    color: rgba(255,255,255,0.7);
}

.footer-contact a:hover, .footer-social a:hover { color: var(--color-gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .amenities-grid { grid-template-columns: repeat(3, 1fr); }
    .experiences-grid { grid-template-columns: repeat(2, 1fr); }
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }

    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-wide { grid-column: span 2; }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .location-grid { grid-template-columns: 1fr; gap: 40px; }
    .book-benefits { grid-template-columns: 1fr; gap: 32px; }
    .guide-signup { grid-template-columns: 1fr; gap: 40px; }
    .guide-signup-form { padding: 32px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-details { flex-direction: column; gap: 12px; }

    .book-bg { background-attachment: scroll; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-wide { grid-column: span 1; }
    .gallery-wide img { aspect-ratio: 4/3; }
    .amenities-grid { grid-template-columns: 1fr; }
    .experiences-grid { grid-template-columns: 1fr; }
}
