/* Hero Sections CSS */

/* Common Hero Styles - Medium size for other pages */
.about-hero,
.services-hero,
.contact-hero,
.portfolio-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    background-color: #2c3e50;
}

/* Hero Background Image using IMG tag */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

/* Individual Overlay Colors */
.about-hero .hero-overlay,
.services-hero .hero-overlay,
.contact-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7), rgba(52, 73, 94, 0.7));
}

.portfolio-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.7), rgba(247, 147, 30, 0.7));
}


.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Animation Effects */
.hero-content::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

/* Responsive Design - Identical for all hero sections */
@media (max-width: 1024px) {
    .about-hero,
    .services-hero,
    .contact-hero,
    .portfolio-hero {
        height: 60vh;
        min-height: 450px;
        max-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .about-hero,
    .services-hero,
    .contact-hero,
    .portfolio-hero {
        height: 50vh;
        min-height: 400px;
        max-height: 500px;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        letter-spacing: 0;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-hero,
    .services-hero,
    .contact-hero,
    .portfolio-hero {
        height: 35vh;
        min-height: 280px;
        max-height: 350px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        letter-spacing: 0;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Portfolio Hero Specific Styles */
.portfolio-hero::after {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.85), rgba(247, 147, 30, 0.85));
}

.portfolio-hero .hero-content h1 {
    color: white;
}

/* Hero Animation Effects */
.about-hero .hero-content::after,
.services-hero .hero-content::after,
.contact-hero .hero-content::after,
.portfolio-hero .hero-content::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 2px;
    z-index: 4;
}
