/* ============================================
   Twin Bridges Strawberry Cabin
   Bold Editorial Style — Burgundy & Blush
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --- Custom Properties --- */
:root {
    --burgundy-800: #7f1f30;
    --burgundy-700: #9a2338;
    --blush-200: #fad0d9;
    --cream: #faf8f6;
    --warm: #f5f0eb;
    --stone: #8a8278;
    --dark: #1a1614;
}

/* --- Eyebrow --- */
.eyebrow {
    display: block;
}

/* --- Pill Tags --- */
.pill {
    display: inline-block;
    padding: 8px 16px;
    background: #fce7eb;
    color: #7f1f30;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.pill:hover {
    background: #fad0d9;
    transform: translateY(-1px);
}

/* --- Amenity Card --- */
.amenity-card {
    border: 1px solid transparent;
}

.amenity-card:hover {
    border-color: #fce7eb;
    transform: translateY(-4px);
}

/* --- Activity Item --- */
.activity-item {
    transition: all 0.3s ease;
}

.activity-item:hover {
    padding-left: 8px;
}

.activity-item:hover .font-serif {
    color: #b82d47;
}

/* --- Input Fields --- */
.input-field {
    font-size: 0.9375rem;
}

.input-field:focus {
    border-color: #ed6b8a;
}

.input-field::placeholder {
    color: #8a8278;
}

/* --- Submit Button --- */
.btn-submit {
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(127, 31, 48, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* --- Contact Item --- */
.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(4px);
}

/* --- Navbar --- */
.nav {
    background: rgba(250, 248, 246, 0.0);
    backdrop-filter: blur(0px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    background: rgba(250, 248, 246, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(138, 130, 120, 0.1);
}

.nav.scrolled .menu-line {
    background: #1a1614;
}

/* --- Hero --- */
.hero {
    position: relative;
}

.hero-bg {
    will-change: transform;
}

.hero-img {
    will-change: transform;
}

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(26, 22, 20, 0.3) 0%,
        rgba(26, 22, 20, 0.2) 40%,
        rgba(26, 22, 20, 0.5) 70%,
        rgba(26, 22, 20, 0.9) 100%
    );
}

/* --- Divider --- */
.divider-line {
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.divider-line.revealed {
    width: 120px;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Menu --- */
.mobile-menu {
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-link {
    transition: all 0.3s ease;
}

/* --- Mobile Menu Button --- */
.mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(8px);
}

.mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.25rem;
}

/* --- Success Message --- */
.success-message {
    animation: fadeInUp 0.5s ease forwards;
}

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

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

/* --- Responsive --- */
@media (max-width: 767px) {
    .hero-headline {
        font-size: 2.75rem;
    }
    
    .hero-subhead {
        font-size: 1rem;
    }
    
    .amenity-card {
        padding: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-headline {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-link {
        position: relative;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 1.5px;
        background: #9a2338;
        transition: width 0.3s ease;
    }
    
    .nav-link:hover::after {
        width: 100%;
    }
}
