:root {
    --primary-red: #FF4B4B;
    --primary-blue: #4BA7FF;
    --text-color: #333;
    --background-color: #fff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

/* Hero Section */
.hero-container {
    min-height: 100vh;
    display: flex;
    margin-top: 20px;
    padding: 6rem 4rem 4rem;
    gap: 2rem;
}

.hero-content {
    flex: 0 1 45%;
    min-width: 400px;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subtitle {
    color: #666;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

h1 {
    font-size: 120px;
    margin-bottom: 2rem;
    line-height: 1.2;
    white-space: nowrap;
    background: linear-gradient(120deg, 
        #FF6B6B 0%, 
        #4ECDC4 30%,
        #45B7D1 60%, 
        #96E6A1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 6s linear infinite;
    background-size: 200% auto;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-red);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    margin-top: 1rem;
    font-weight: 500;
    transition: transform 0.2s ease;
    width: fit-content;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.hero-image {
    flex: 0 1 55%;
    min-width: 500px;
    position: relative;
    overflow: hidden;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 1rem;
    height: 100%;
    position: relative;
    z-index: 0;
}

.grid-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: scale(1.02);
}

/* Grid item positions */
.vertical:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 4;
}

.square:nth-child(2) {
    grid-column: 3 / 5;
    grid-row: 1 / 3;
}

.horizontal:nth-child(3) {
    grid-column: 5 / 7;
    grid-row: 1 / 3;
}

.square:nth-child(4) {
    grid-column: 3 / 5;
    grid-row: 3 / 5;
}

.vertical:nth-child(5) {
    grid-column: 5 / 7;
    grid-row: 3 / 6;
}

/* Responsive Design */
@media (max-width: 1500px) {
    h1 {
        font-size: 90px;
    }
}

@media (max-width: 1200px) {
    h1 {
        font-size: 70px;
    }
    .hero-content {
        flex: 0 1 40%;
    }
    .hero-image {
        flex: 0 1 60%;
    }
}

@media (max-width: 1100px) {
    h1 {
        font-size: 60px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        padding: 4rem 2rem;
    }

    .hero-content {
        padding-right: 0;
        padding-bottom: 2rem;
        min-width: 100%;
    }

    .hero-image {
        min-width: 100%;
    }

    nav {
        padding: 1rem 2rem;
    }

    .nav-links {
        display: none;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 1rem;
    }

    .grid-item {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 48px;
    }

    .hero-content {
        text-align: center;
    }

    .cta-button {
        margin: 1rem auto;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 36px;
    }
}