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

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

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric Shapes for Hero */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #d4a017;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.geo-square-1 {
    width: 200px;
    height: 200px;
    background: #e6b422;
    bottom: 15%;
    left: 5%;
    transform: rotate(45deg);
    animation-delay: 2s;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid #f0c94d;
    top: 30%;
    left: -50px;
    animation-delay: 1s;
}

.geo-circle-2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #d4a017;
    bottom: 10%;
    right: 15%;
    animation-delay: 3s;
}

.geo-rect-1 {
    width: 300px;
    height: 80px;
    background: #e6b422;
    top: 20%;
    right: 5%;
    transform: rotate(-15deg);
    animation-delay: 4s;
}

.geo-diamond-1 {
    width: 100px;
    height: 100px;
    background: #f0c94d;
    bottom: 25%;
    left: 15%;
    transform: rotate(30deg);
    animation-delay: 2.5s;
}

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

.geo-square-1 { --rotation: 45deg; }
.geo-rect-1 { --rotation: -15deg; }
.geo-diamond-1 { --rotation: 30deg; }

.geo-shape:nth-child(2) { animation-duration: 10s; }
.geo-shape:nth-child(3) { animation-duration: 7s; }
.geo-shape:nth-child(4) { animation-duration: 9s; }
.geo-shape:nth-child(5) { animation-duration: 11s; }
.geo-shape:nth-child(6) { animation-duration: 8s; }

/* Navbar */
.nav-logo-text {
    transition: color 0.3s ease;
}

.nav-link {
    position: relative;
}

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

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

/* Mobile Menu */
.mobile-link {
    position: relative;
}

/* Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #d4a017;
    transition: height 0.4s ease;
}

.service-card:hover::before {
    height: 100%;
}

/* Work Gallery */
.work-gallery-item {
    position: relative;
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

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

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

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

::-webkit-scrollbar-thumb {
    background: #0f2240;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #14325c;
}

/* Mobile menu active state */
body.menu-open {
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .geo-square-1 {
        width: 120px;
        height: 120px;
    }
    
    .geo-rect-1 {
        width: 180px;
        height: 50px;
    }
}
