/* ============================================
   Golden Town — Custom Styles
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

/* ============================================
   Geometric Decorations
   ============================================ */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border: 2px solid rgba(45, 212, 191, 0.15);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(45, 212, 191, 0.1);
    top: 30%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(45, 212, 191, 0.06);
    top: 60%;
    right: 10%;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(45, 212, 191, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    bottom: 15%;
    right: 5%;
    opacity: 0.5;
}

.geo-circle-3 {
    width: 400px;
    height: 400px;
    border: 2px solid rgba(45, 212, 191, 0.1);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: float-slow 25s ease-in-out infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    border: 2px solid rgba(45, 212, 191, 0.08);
    bottom: 20%;
    right: 15%;
    transform: rotate(30deg);
    animation: spin-slow 20s linear infinite reverse;
}

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

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

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

.animate-float {
    animation: float 4s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Navbar
   ============================================ */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d9488;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-link {
    position: relative;
    padding-left: 0;
}

/* ============================================
   Buttons
   ============================================ */
a {
    text-decoration: none;
}

/* ============================================
   Utility
   ============================================ */
::selection {
    background: rgba(13, 148, 136, 0.2);
    color: #0f766e;
}

/* Smooth image loading */
img {
    display: block;
    max-width: 100%;
}
