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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

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

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #F4A259 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: float1 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, #95D6B0 0%, transparent 70%);
    top: 20%;
    right: 5%;
    animation: float2 10s ease-in-out infinite;
}

.geo-circle-3 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, #52B788 0%, transparent 70%);
    bottom: 15%;
    left: 10%;
    animation: float1 12s ease-in-out infinite reverse;
}

.geo-circle-4 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, #F4A259 0%, transparent 70%);
    top: 40%;
    left: 5%;
    animation: float2 7s ease-in-out infinite;
}

.geo-diamond {
    width: 100px;
    height: 100px;
    background: #95D6B0;
    top: 30%;
    right: 15%;
    transform: rotate(45deg);
    animation: float1 9s ease-in-out infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #52B788;
    bottom: 25%;
    right: 8%;
    opacity: 0.06;
    animation: float2 11s ease-in-out infinite reverse;
}

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

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

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

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

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

/* Service Cards */
.service-card {
    perspective: 1000px;
}

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

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

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2D6A4F;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

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

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

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    color: #1B4332;
    transition: background-color 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: #d5e8dc;
}

/* Gallery hover */
@media (prefers-reduced-motion: no-preference) {
    .group:hover img {
        transform: scale(1.05);
    }
}

/* Focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #52B788;
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: #52B788;
    color: white;
}
