/* ============================================
   Custer Apartments — Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

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

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid #4ade80;
    border-radius: 50%;
    top: -100px;
    right: -80px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: #4ade80;
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: #4ade80;
    top: 25%;
    left: 8%;
    opacity: 0.08;
    border-radius: 20px;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #4ade80;
    top: 60%;
    right: 10%;
    opacity: 0.1;
    animation: float 7s ease-in-out infinite;
}

.shape-ring-1 {
    width: 160px;
    height: 160px;
    border: 3px solid #bbf7d0;
    border-radius: 50%;
    top: 20%;
    right: 15%;
    opacity: 0.2;
    animation: float 5s ease-in-out infinite reverse;
}

.shape-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, #4ade80 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    bottom: 25%;
    right: 25%;
    opacity: 0.3;
}

/* ============================================
   Animations
   ============================================ */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

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

/* Always visible for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   Navbar
   ============================================ */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 36, 160, 0.08);
}

#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(26, 36, 160, 0.1);
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(26, 36, 160, 0.08);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ============================================
   Form Styles
   ============================================ */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-square-1 {
        width: 60px;
        height: 60px;
    }
}
