/* ============================================
   Inn on Evans — Custom Styles
   Colors: Midnight Blue + Mint
   ============================================ */

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

body {
    overflow-x: hidden;
}

::selection {
    background-color: #34d4b0;
    color: #0a1628;
}

/* --- Navbar --- */
.navbar-scrolled #navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

.navbar-scrolled .nav-logo-text {
    color: #0a1628;
}

.navbar-scrolled .nav-link {
    color: #2538a0;
}

.navbar-scrolled .nav-link:hover {
    color: #0a1628;
    background-color: rgba(52, 212, 176, 0.1);
}

.navbar-scrolled #mobile-menu-btn {
    background-color: rgba(255, 255, 255, 0.9);
}

.navbar-scrolled #menu-icon-open,
.navbar-scrolled #menu-icon-close {
    stroke: #0a1628;
}

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

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

.mobile-link {
    transition: all 0.2s ease;
}

/* --- Geometric Shapes --- */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.shape-circle-1 {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: #34d4b0;
    top: -100px;
    right: -100px;
    animation: float1 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: #99f6db;
    bottom: 10%;
    left: 5%;
    animation: float2 10s ease-in-out infinite;
}

.shape-circle-3 {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #688dff;
    top: 30%;
    left: 10%;
    animation: float3 6s ease-in-out infinite;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: #34d4b0;
    top: 20%;
    right: 15%;
    border-radius: 24px;
    transform: rotate(45deg);
    animation: spin 20s linear infinite;
}

.shape-square-2 {
    width: 80px;
    height: 80px;
    background: #bcc8ff;
    bottom: 25%;
    right: 8%;
    border-radius: 16px;
    transform: rotate(20deg);
    animation: float1 7s ease-in-out infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid #0fb893;
    top: 40%;
    right: 25%;
    opacity: 0.08;
    animation: float2 9s ease-in-out infinite;
}

.shape-ring-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid #99f6db;
    bottom: 15%;
    left: 20%;
    animation: spin 15s linear infinite reverse;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-20px) translateX(15px); }
    66% { transform: translateY(10px) translateX(-10px); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-25px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Scroll Reveal --- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(40px);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }

    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: none;
    }
}

/* --- Staggered reveal delays --- */
.reveal-up:nth-child(1) { transition-delay: 0ms; }
.reveal-up:nth-child(2) { transition-delay: 100ms; }
.reveal-up:nth-child(3) { transition-delay: 200ms; }
.reveal-up:nth-child(4) { transition-delay: 300ms; }

/* --- Smooth image loading --- */
img {
    background-color: #f0f3ff;
}

/* --- Focus styles --- */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #34d4b0;
    outline-offset: 3px;
    border-radius: 8px;
}

/* --- Button ripple effect --- */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* --- Custom scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f3ff;
}
::-webkit-scrollbar-thumb {
    background: #bcc8ff;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #91aaff;
}

/* --- Print --- */
@media print {
    .geo-shape, .geo-shape * { display: none; }
    nav, footer { display: none; }
}
