/* ===== Custom Styles for Kittle Pine Front Rentals ===== */

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

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

/* ===== Geometric Decorative Shapes ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.shape-circle-1 {
    top: 15%;
    right: 5%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid rgba(41, 79, 21, 0.06);
}

.shape-circle-2 {
    top: 45%;
    left: 3%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(217, 237, 209, 0.15);
}

.shape-circle-3 {
    bottom: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(217, 211, 77, 0.2);
}

.shape-triangle {
    top: 30%;
    left: 8%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(41, 79, 21, 0.04);
    transform: rotate(-15deg);
}

.shape-square {
    bottom: 35%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: rgba(217, 211, 77, 0.08);
    transform: rotate(30deg);
    border-radius: 4px;
}

/* ===== Scroll Indicator Animation ===== */
@keyframes scrollIndicator {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.animate-scroll-indicator {
    animation: scrollIndicator 1.2s ease-in-out infinite;
}

/* ===== Menu Line Animation ===== */
.menu-line {
    display: block;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

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

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

/* ===== Mobile Menu ===== */
.mobile-link {
    opacity: 1;
}

/* ===== Reveal Animations (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* ===== Navbar scroll state ===== */
.navbar-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(41, 79, 21, 0.08);
}

/* ===== Custom scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fefdf8;
}

::-webkit-scrollbar-thumb {
    background: #b5d9a0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #84be66;
}

/* ===== Selection color ===== */
::selection {
    background: #d9ecd1;
    color: #1c3410;
}

/* ===== Focus visible ===== */
:focus-visible {
    outline: 2px solid #294f15;
    outline-offset: 2px;
}

/* ===== Map grayscale transition ===== */
.grayscale {
    filter: grayscale(0.6);
}

/* ===== Counter animation ===== */
@keyframes countUp {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* ===== Floating card hover ===== */
.floating-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ===== Photo hover zoom ===== */
.photo-zoom {
    overflow: hidden;
}

.photo-zoom img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.photo-zoom:hover img {
    transform: scale(1.05);
}

/* ===== Utility ===== */
.text-shadow {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
