/* ============================================
   1253 Franklin Avenue Owner LLC — Styles
   Bold Editorial | Midnight Blue + Mint
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(77, 217, 192, 0.3);
    color: #f0fdf8;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #1a3a5c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4dd9c0;
}

/* ---- Hero Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ---- Scroll Reveal (progressive enhancement) ---- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ---- Navbar ---- */
.nav-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

/* ---- Form Styles ---- */
input:focus,
select:focus,
textarea:focus {
    background: rgba(5, 13, 26, 0.8) !important;
}

/* ---- Card Hover Effects ---- */
.reveal {
    will-change: opacity, transform;
}

/* ---- Image Optimization ---- */
img {
    max-width: 100%;
    height: auto;
}

/* ---- Focus Visible ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #4dd9c0;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---- Utility: Text gradient (for special headings) ---- */
.text-gradient-mint {
    background: linear-gradient(135deg, #4dd9c0 0%, #99f6db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Parallax-like subtle movement ---- */
@media (prefers-reduced-motion: no-preference) {
    .hero-bg {
        will-change: transform;
    }
}

/* ---- Print Styles ---- */
@media print {
    nav, #contact, footer {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
