@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

* {
    font-family: "Inter", sans-serif;
}

.hero-wrapper {
    width: 100%;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 72rem;
    margin: 0 auto;
    position: relative;
    padding: 80px 24px;
    display: flex;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(0, 0, 0, 1) 100%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50%;
    height: auto;
    max-height: 90%;
    opacity: 0.15;
    pointer-events: none;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-pattern {
        width: 100%;
        opacity: 0.1;
    }
}

html {
    scroll-behavior: smooth;
}

.nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #dc2626;
}

.nav-link.active {
    color: #dc2626;
}

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

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

header {
    backdrop-filter: blur(10px);
    background-color: rgba(10, 10, 10, 0.8);
    z-index: 9999 !important;
}

/* Ensure Leaflet map controls don't overlap header */
#dfw-map {
    position: relative;
    z-index: 1;
}

.leaflet-container {
    z-index: 1 !important;
}

.leaflet-top,
.leaflet-bottom {
    z-index: 2 !important;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(10, 10, 10, 0.98);
    border-top: 1px solid #2a2a2a;
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 1rem 2rem;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    color: #dc2626;
    background-color: rgba(220, 38, 38, 0.1);
}

.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon-close {
    display: none;
}

.menu-button.active .menu-icon {
    display: none;
}

.menu-button.active .menu-icon-close {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

.delay-100 {
    animation-delay: 0.1s;
    opacity: 0;
}

.delay-200 {
    animation-delay: 0.2s;
    opacity: 0;
}

.delay-300 {
    animation-delay: 0.3s;
    opacity: 0;
}

.delay-400 {
    animation-delay: 0.4s;
    opacity: 0;
}

button:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.15);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
