:root {
    --primary-color: #ff6f61;
    --background-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #1f1f1f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1f1f1f 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    text-align: center;
}

.hero-title {
    font-size: 5rem;
    color: white;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ff6f61, #ffcc00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textReveal 1s ease-out forwards;
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    animation: fadeIn 1s 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    padding: 0 2rem;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 1;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.grid-item:hover {
    transform: scale(1.05) rotateY(5deg);
    filter: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.grid-item:not(:hover) {
    filter: grayscale(100%) contrast(200%) brightness(0.5);
    opacity: 0.8;
}

.grid-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    will-change: transform;
}

.grid-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none;
}

.grid-item:hover .grid-overlay {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    font-weight: bold;
    transform: translate(-50%, -50%) scale(1.1);
    transition: all 0.3s ease;
}

.grid-item:hover .grid-title {
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.grid-item:hover .grid-description {
    opacity: 1;
    font-size: 1rem;
}

.grid-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.grid-description {
    font-size: 0.9rem;
    opacity: 0.8;
}
