/* ===== HOME SECTION STYLING ===== */
@font-face {
    font-family: 'Tradesman SC Wide Black';
    src: url('../../font/fonnts.com-tradesman_sc_wide_black.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

#home {
    background-color: #000000;
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;
}

/* ITO ANG BAGONG STYLING PARA SA VIDEO BACKGROUND */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Para ma-fill ang buong section ng video */
    z-index: 0;
}

/* Layer na may black background na may mababang opacity */
#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Dito na lang ang black overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* I-sure na nasa ibabaw ng video at overlay ang content */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.main-heading {
    font-size: 4em;
    font-weight: bold;
    color: #FF0000;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    font-family: 'Tradesman SC Wide Black', sans-serif;
}

.tagline {
    font-size: 1.8em;
    font-style: italic;
    color: #FFFFFF;
    margin-bottom: 50px;
    letter-spacing: 3px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    font-family: 'Tradesman SC Wide Black', sans-serif;
}

.hero-contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.contact-item .icon-background {
    width: 50px;
    height: 50px;
    background-color: #FF0000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.contact-item .icon-background:hover {
    transform: scale(1.1);
}

.contact-text {
    font-size: 0.9em;
    line-height: 1.4;
    color: #ccc;
    font-weight: 500;
}

/* On-Load Animations */
body.loaded .main-heading {
    animation: fadeInSlideInFromLeft 1s forwards;
}

body.loaded .tagline {
    animation: fadeInSlideInFromRight 1s forwards;
    animation-delay: 0.2s;
}

body.loaded .hero-contact-info {
    animation: fadeInSlideInFromBottom 1s forwards;
    animation-delay: 0.4s;
}

@keyframes fadeInSlideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInSlideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInSlideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .main-heading {
        font-size: 3em;
    }
    .tagline {
        font-size: 1.5em;
        margin-bottom: 40px;
    }
    .hero-contact-info {
        gap: 30px;
    }
}
@media (max-width: 768px) {
    .main-heading {
        font-size: 2.2em;
    }
    .tagline {
        font-size: 1.1em;
        letter-spacing: 2px;
    }
    .hero-contact-info {
        flex-direction: column;
        align-items: center;
    }
    .contact-item {
        width: 100%;
        max-width: 300px;
        justify-content: flex-start;
        flex-direction: row;
    }
}