/* ===== Custom Styles for East Butler Village Inn ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: #f5a100;
    color: #2a111d;
}

/* ===== Section Labels ===== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #a85078;
}

/* ===== Section Headings ===== */
.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: #2a111d;
}

/* ===== Floating Cards Animation ===== */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}

.floating-card {
    animation: float-slow 6s ease-in-out infinite;
}

.floating-card-2 {
    animation: float-medium 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.floating-card-3 {
    animation: float-fast 7s ease-in-out infinite;
    animation-delay: 1s;
}

.floating-card-4 {
    animation: float-medium 5.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* ===== Room Cards ===== */
.room-card {
    cursor: pointer;
}

/* ===== Feature Cards ===== */
.feature-card {
    cursor: default;
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

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

/* ===== Navbar ===== */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(80, 36, 56, 0.08);
}

.nav-scrolled .font-serif {
    color: #2a111d !important;
}

.nav-scrolled .text-plum-600 {
    color: #742e50 !important;
}

.nav-scrolled .menu-line {
    background: #2a111d !important;
}

/* ===== Mobile Menu ===== */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Hamburger Animation ===== */
.menu-toggle-active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle-active .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle-active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.25rem;
    margin-right: 0;
}

/* ===== Form Styles ===== */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid #ebcdd9;
    border-radius: 0.75rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    color: #2a111d;
    background: #faf5f7;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f5a100;
    box-shadow: 0 0 0 3px rgba(245, 161, 0, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #dbaabe;
}

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

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

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

/* ===== Divider Line ===== */
.divider-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f5a100, #ffe699);
    border-radius: 2px;
}

/* ===== Button Hover Glow ===== */
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(245, 161, 0, 0.4);
}

/* ===== Image Hover Effect ===== */
img {
    display: block;
    max-width: 100%;
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #f5a100;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .section-heading {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
}

/* ===== Print Styles ===== */
@media print {
    nav, .floating-card, .floating-card-2, .floating-card-3, .floating-card-4 {
        display: none;
    }
}
