/* ===== Custom Styles ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base transitions */
* {
    -webkit-tap-highlight-color: transparent;
}

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

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    top: -100px;
    right: -80px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.12);
    bottom: 15%;
    left: 5%;
    animation: float-medium 14s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: 30%;
    left: 10%;
    animation: float-slow 18s ease-in-out infinite;
}

.shape-rect-1 {
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    bottom: 10%;
    right: 10%;
    transform: rotate(45deg);
    animation: float-medium 16s ease-in-out infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(74, 222, 128, 0.1);
    top: 20%;
    right: 15%;
    animation: float-slow 22s ease-in-out infinite reverse;
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    bottom: 25%;
    right: 25%;
    animation: float-medium 12s ease-in-out infinite;
}

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

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

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .geo-shape {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== Navbar ===== */
.nav-link {
    position: relative;
}

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

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

.nav-hidden {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* ===== Mobile Menu ===== */
.mobile-link {
    position: relative;
    display: block;
    padding: 8px 0;
}

/* ===== Buttons ===== */
button, a.button {
    cursor: pointer;
}

/* ===== Card Hover Effects ===== */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

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

/* ===== Selection ===== */
::selection {
    background: rgba(27, 94, 32, 0.2);
    color: #1B5E20;
}

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

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

::-webkit-scrollbar-thumb {
    background: #8fbf82;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4d8a44;
}
