﻿/* ============================
   HERO SECTION FULLSCREEN
============================ */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* OVERLAY */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

/* SLIDES CONTAINER */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* EACH SLIDE */
.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease-in-out, transform 6s ease;
    transform: scale(1.1);
}

    .hero-slide.active {
        opacity: 1;
        transform: scale(1);
    }

/* ============================
   HERO CONTENT
============================ */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center perfect */
    text-align: center;
    color: #fff;
    z-index: 5;
    width: 100%;
    padding: 20px;
}

/* COMPANY NAME */
.hero-title {
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* SLOGAN */
.hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* BUTTON */
/* Button Style */
.hero-btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: #28a745;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

    .hero-btn:hover {
        background: #218838;
        transform: scale(1.05);
    }

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-btn {
        font-size: 16px;
        padding: 12px 28px;
    }
}

/* ============================
   ANIMATIONS
============================ */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
