/* ===== Custom Styles for Miami SW 68th Ave ===== */

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    background-color: #FDFCF8;
    color: #0a1a12;
    font-family: 'Outfit', sans-serif;
}

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

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34d399, #6ee7b7);
    top: -100px;
    right: -80px;
    animation: float1 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a7f3d0, #6ee7b7);
    bottom: 15%;
    left: 5%;
    animation: float2 10s ease-in-out infinite;
}

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

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #34d399;
    top: 20%;
    right: 10%;
    opacity: 0.08;
    animation: rotate1 12s linear infinite;
}

.geo-square {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6ee7b7, #34d399);
    bottom: 25%;
    right: 20%;
    transform: rotate(45deg);
    animation: float4 9s ease-in-out infinite;
}

.geo-ring {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 8px solid #a7f3d0;
    bottom: 10%;
    right: 5%;
    animation: float1 7s ease-in-out infinite reverse;
}

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

@keyframes float2 {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(20px) scale(1.05); }
}

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

@keyframes float4 {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(45deg) translateY(-25px); }
}

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

/* ===== Hero Animations ===== */
.hero-badge {
    animation: fadeInDown 0.8s ease-out both;
}

h1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

h1 + p {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-section .flex {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

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

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

/* ===== Navbar ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(27, 67, 50, 0.08);
}

.nav-logo-text {
    color: #0a1a12;
    transition: color 0.4s ease;
}

#navbar.scrolled .nav-logo-text {
    color: #1B4332;
}

.nav-link {
    color: #1B4332;
}

#navbar:not(.scrolled) .nav-link {
    color: #FDFCF8;
}

#navbar:not(.scrolled) .nav-logo-text {
    color: #FDFCF8;
}

#navbar:not(.scrolled) .menu-line {
    background: #FDFCF8;
}

/* ===== Mobile Menu ===== */
.mobile-link {
    color: #1B4332;
}

/* ===== Scroll Reveal ===== */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Reduced motion - content always visible */
@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: translate(0, 0);
    }
}

/* ===== Menu Tabs ===== */
.menu-tab {
    background: transparent;
    color: #a7f3d0;
    cursor: pointer;
    border: none;
    outline: none;
}

.menu-tab.active {
    background: #1B4332;
    color: #FDFCF8;
}

.menu-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: #FDFCF8;
}

.menu-content {
    transition: opacity 0.3s ease;
}

.menu-content.hidden {
    display: none;
}

/* ===== Button Hover Effects ===== */
a, button {
    transition: all 0.3s ease;
}

/* ===== Image Hover ===== */
img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* ===== Selection ===== */
::selection {
    background: #1B4332;
    color: #FDFCF8;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #285028;
}
