/* Base styles and custom properties */
:root {
    --plum-900: #2a0f2a;
    --plum-800: #421a42;
    --plum-700: #5a245a;
    --plum-600: #722f72;
    --plum-500: #8b458b;
    --amber-500: #ffc107;
    --amber-400: #ffca28;
    --amber-300: #ffd54f;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
}

/* Geometric background shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.06;
}

.geo-circle-1 {
    top: 15%;
    left: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 3px solid var(--amber-500);
    animation: float-slow 20s ease-in-out infinite;
}

.geo-square-1 {
    top: 60%;
    right: -3%;
    width: 200px;
    height: 200px;
    background: var(--amber-500);
    transform: rotate(45deg);
    animation: float-medium 15s ease-in-out infinite;
}

.geo-triangle-1 {
    bottom: 20%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid var(--plum-400);
    opacity: 0.08;
    animation: float-slow 18s ease-in-out infinite reverse;
}

.geo-circle-2 {
    top: 40%;
    right: 15%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--amber-400);
    opacity: 0.04;
    animation: float-medium 12s ease-in-out infinite;
}

.geo-dots {
    bottom: 10%;
    right: 10%;
    width: 120px;
    height: 120px;
    opacity: 0.05;
    background-image: radial-gradient(circle, var(--amber-500) 2px, transparent 2px);
    background-size: 16px 16px;
    animation: float-slow 25s ease-in-out infinite;
}

/* 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) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(50deg); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-up-delay {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-up-delay-2 {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slide-up 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slide-up-delay {
    animation: slide-up-delay 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-slide-up-delay-2 {
    animation: slide-up-delay-2 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

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

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

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

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

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

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--amber-400), var(--amber-600));
    transition: height 0.4s ease;
}

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

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

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

.mobile-link {
    position: relative;
    padding-left: 0;
}

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

::-webkit-scrollbar-track {
    background: var(--plum-900);
}

::-webkit-scrollbar-thumb {
    background: var(--plum-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--plum-500);
}

/* Select dropdown styling */
select option {
    background: var(--plum-800);
    color: white;
}

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