/* Custom properties */
:root {
    --charcoal: #1a1a1a;
    --charcoal-light: #222222;
    --coral: #FF6B4A;
    --coral-hover: #ff856a;
    --white: #ffffff;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
}

/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--charcoal);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.font-space {
    font-family: 'Space Grotesk', sans-serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

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

.circle-1 {
    top: 15%;
    right: 5%;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 107, 74, 0.15);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    bottom: 20%;
    left: 8%;
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 74, 0.05);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.triangle-1 {
    top: 40%;
    left: 3%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(255, 107, 74, 0.08);
    animation: spin 20s linear infinite;
}

.square-1 {
    top: 60%;
    right: 10%;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 107, 74, 0.1);
    animation: spin 15s linear infinite reverse;
}

.line-1 {
    top: 25%;
    left: 15%;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 74, 0.2), transparent);
    transform: rotate(-30deg);
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

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

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

/* Mobile menu button animation */
.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 6px;
}

/* Scroll animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Selection color */
::selection {
    background: var(--coral);
    color: var(--white);
}

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

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}
