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

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

body {
    background-color: #0d1b2a;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
}

::selection {
    background: #5eead4;
    color: #0d1b2a;
}

/* ── Geometric Background Shapes ── */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -200px;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.04) 0%, transparent 70%);
    bottom: 20%;
    left: -100px;
}

.geo-circle--3 {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(94, 234, 212, 0.1);
    top: 40%;
    right: 5%;
    animation: float-slow 8s ease-in-out infinite;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
}

.geo-rect--1 {
    width: 120px;
    height: 120px;
    border: 1px solid rgba(94, 234, 212, 0.08);
    top: 30%;
    left: 3%;
    transform: rotate(45deg);
    animation: float-slow 10s ease-in-out infinite reverse;
}

.geo-tri {
    position: absolute;
    pointer-events: none;
}

.geo-tri--1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(94, 234, 212, 0.04);
    bottom: 15%;
    right: 8%;
    animation: float-slow 12s ease-in-out infinite;
}

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

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

#navbar.scrolled {
    background: rgba(13, 27, 42, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-link {
    position: relative;
}

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

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

.nav-link:hover {
    color: #5eead4 !important;
}

/* ── Buttons ── */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    position: relative;
}

/* ── Service Cards ── */
.service-card {
    opacity: 0;
    transform: translateY(30px);
}

.service-card.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ── Gallery ── */
.gallery-item {
    height: 280px;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .gallery-item {
        height: 320px;
    }
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(3),
.gallery-item:nth-child(6) {
    height: 340px;
}

@media (min-width: 1024px) {
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(6) {
        height: 400px;
    }
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── Hero Animations ── */
.hero-content {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease forwards;
}

.hero-image {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.8s ease 0.2s forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ── Mobile Menu ── */
#mobile-menu {
    animation: menuSlide 0.3s ease;
}

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

.mobile-nav-link {
    display: block;
}

/* ── Form ── */
select option {
    background: #0d1b2a;
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: #0d1b2a;
}

::-webkit-scrollbar-thumb {
    background: rgba(94, 234, 212, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(94, 234, 212, 0.5);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .geo-circle--1 {
        width: 300px;
        height: 300px;
        right: -100px;
    }

    .geo-circle--2 {
        width: 200px;
        height: 200px;
    }

    .geo-rect--1 {
        width: 60px;
        height: 60px;
    }

    .geo-tri--1 {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 52px solid rgba(94, 234, 212, 0.04);
    }
}
