/* ===== CUSTOM STYLES FOR MaPle sTreEt coTTagE ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f4;
}
::-webkit-scrollbar-thumb {
    background: #d44565;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b92546;
}

/* ===== HERO DECORATIVE ELEMENTS ===== */
.hero-deco {
    position: absolute;
    pointer-events: none;
}

.hero-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 110, 140, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -150px;
    border-radius: 50%;
    animation: float-slow 20s ease-in-out infinite;
}

.hero-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(156, 28, 60, 0.06) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.hero-circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(253, 200, 184, 0.15) 0%, transparent 70%);
    top: 40%;
    left: 10%;
    border-radius: 50%;
    animation: float-slow 12s ease-in-out infinite;
}

.hero-line-1 {
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(156, 28, 60, 0.2), transparent);
    top: 20%;
    left: 15%;
    animation: float-slow 8s ease-in-out infinite;
}

.hero-line-2 {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(244, 110, 140, 0.2), transparent);
    top: 30%;
    right: 20%;
    animation: float-slow 10s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* ===== 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(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== NAVBAR TRANSITIONS ===== */
#navbar.scrolled {
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(156, 28, 60, 0.08);
}

#navbar.scrolled .font-serif {
    color: #821a36 !important;
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    display: block;
}

/* ===== BUTTON HOVER EFFECTS ===== */
a {
    text-decoration: none;
}

/* ===== IMAGE LAZY LOADING FADE ===== */
img[loading="lazy"] {
    transition: opacity 0.3s ease;
}

/* ===== FORM FOCUS STYLES ===== */
input:focus,
textarea:focus {
    outline: none;
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
    outline: 2px solid #d44565;
    outline-offset: 2px;
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.1;
    }
}
