/* Homepage Specific Styles */

/* Hero Grid */
.hero-grid {
    display: flex;
    height: 100vh;
    margin-top: 100px;
}

.hero-box {
    position: relative;
    flex: 1;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: #fff;
}

/* Hero Image - VISIBLE BY DEFAULT */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* Overlay - Light dark overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: background-color 0.5s ease;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

/* Hover Effects */
.hero-box:hover .hero-image {
    transform: scale(1.05);
    filter: blur(5px);
}

.hero-box:hover .hero-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.hero-box:hover .hero-description {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design for Homepage */
@media (max-width: 960px) {
    .hero-grid {
        flex-direction: column;
        margin-top: 100px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .hero-content h2 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 1rem;
    }
}