/* Hero Section */
#hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    padding: 2rem;
}

#hero .hero-content h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#hero .hero-content {
    flex: 1 1 auto;
    max-width: 600px; /* Adjust based on preference */
}

#hero .hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

#three-canvas {
    flex: 0 1 auto;
    max-width: 400px;
    max-height: 400px;
    width: 100%;
    height: 400px;
    border: 2px solid white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0 2rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    #hero .hero-content h1 {
        font-size: 3.5rem;
    }
    #three-canvas {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    #hero {
        flex-direction: column; /* Switch to vertical layout */
    }

    #hero .hero-content h1 {
        font-size: 2.5rem;
    }
    #hero .hero-content p {
        font-size: 1.2rem;
    }
    #three-canvas {
        width: 250px;
        height: 250px;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    #hero .hero-content h1 {
        font-size: 2rem;
    }
    #hero .hero-content p {
        font-size: 1rem;
    }
    #three-canvas {
        width: 200px;
        height: 200px;
    }
}
