/* ===== Custom Styles for The Windmill Inn ===== */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background-color: #7a2b2b;
    color: #fefdfb;
    font-family: 'Lato', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #7a2b2b;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #6b2525;
    border-color: #6b2525;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(122, 43, 43, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background-color: transparent;
    color: #fefdfb;
    font-family: 'Lato', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid rgba(254, 253, 251, 0.5);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #fefdfb;
    background-color: rgba(254, 253, 251, 0.1);
}

/* ===== Navigation ===== */
.nav-link {
    color: rgba(254, 253, 251, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f5d5c8;
}

/* ===== Navbar States ===== */
.nav-scrolled {
    background-color: rgba(61, 17, 17, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

.nav-scrolled .nav-link {
    color: rgba(254, 253, 251, 0.85);
}

.nav-scrolled .nav-link:hover {
    color: #f5d5c8;
}

.nav-scrolled .btn-primary {
    background-color: #f5d5c8;
    border-color: #f5d5c8;
    color: #3d1111;
}

.nav-scrolled .btn-primary:hover {
    background-color: #eab8a4;
    border-color: #eab8a4;
}

/* ===== Room Cards ===== */
.room-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(74, 63, 53, 0.06);
    transition: all 0.4s ease;
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(74, 63, 53, 0.12);
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Mobile Menu ===== */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.mobile-link {
    color: #3a3028;
    text-decoration: none;
    font-family: 'Playfair Display', Georgia, serif;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #7a2b2b;
}

/* ===== Decorative Divider ===== */
.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: rgba(122, 43, 43, 0.2);
}

/* ===== Input Focus States ===== */
input:focus,
textarea:focus {
    outline: none;
}

/* ===== Selection ===== */
::selection {
    background-color: #7a2b2b;
    color: #fefdfb;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .room-card:hover {
        transform: none;
    }
    
    .aspect-square img,
    .aspect-\[4\/3\] img,
    .aspect-\[4\/5\] img {
        transition: none;
    }
}
