/* ===== I-IMPORT ANG CUSTOM FONT (INILIPAT SA PINAKATAAS) ===== */
@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;
}

/* Universal Styles - ADDED smooth scroll to html */
html {
    scroll-behavior: smooth;
}

/* General Body Styles */
body {
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Tradesman SC Wide Black', sans-serif; /* Pinalitan ang font dito */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    overflow-x: hidden;
}

/* Animated Floating Cubes */
.animated-background-cubes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    margin: 0;
    padding: 0;
    list-style: none;
}

.animated-background-cubes li {
    position: absolute;
    display: block;
    list-style: none;
    width: 25px;
    height: 25px;
    background: rgba(255, 0, 0, 0.2);
    bottom: -150px;
    animation: floatingCube 25s infinite;
    transition-timing-function: linear;
}

.animated-background-cubes li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.animated-background-cubes li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.animated-background-cubes li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.animated-background-cubes li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.animated-background-cubes li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.animated-background-cubes li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.animated-background-cubes li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.animated-background-cubes li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.animated-background-cubes li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.animated-background-cubes li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes floatingCube {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg) scale(2);
        opacity: 0;
    }
}

/* Navbar Styling (FIXED) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: rgba(10, 10, 10, 0.9);
    border-bottom: 1px solid #FF0000;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-sizing: border-box;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-svg {
    width: 50px;
    height: auto;
}

.logo-text {
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFFFF;
    white-space: nowrap;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 1em;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #FF0000;
    color: #FFFFFF;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Section Styling (para sa lahat ng sections) */
section {
    min-height: 100vh;
    padding: 120px 5% 50px 5%;
    border-bottom: 2px solid #222;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Updated #products section for full-width glassmorphism effect */
#products {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 5% 50px 5%;
    min-height: 100vh;
    border-bottom: 2px solid #222;
}

/* Updated #faqs section for full-width glassmorphism effect */
#faqs {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 5% 50px 5%;
    min-height: 100vh;
    border-bottom: 2px solid #222;
}

/* Updated #partnerships section for full-width glassmorphism effect */
#partnerships {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 5% 50px 5%;
    min-height: 100vh;
    border-bottom: 2px solid #222;
}

section h2 {
    font-size: 3em;
    color: #FF0000;
    margin-bottom: 10px;
    text-transform: uppercase;
}

section p {
    font-size: 1.2em;
    color: #ccc;
}

/* On-Load at Scroll Animations */
.anim-slide-down {
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}
.anim-slide-in-bottom {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}
.anim-fly-in-left {
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1s ease;
}
.anim-fly-in-right {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1s ease;
}

body.loaded .anim-slide-in-bottom,
body.loaded .anim-fly-in-left,
body.loaded .anim-fly-in-right,
body.loaded .anim-slide-down {
    transform: translate(0, 0);
    opacity: 1;
}
body.loaded .tagline {
    transition-delay: 0.2s;
}
body.loaded .hero-contact-info {
    transition-delay: 0.4s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Universal Media Queries */
@media (max-width: 1024px) {
    .main-heading { font-size: 3em; }
    .tagline { font-size: 1.5em; margin-bottom: 40px; }
    .hero-contact-info { justify-content: center; gap: 30px; }
}
@media (max-width: 768px) {
    .navbar { width: 100%; padding: 15px 20px; left: 0; transform: none; }
    .nav-links { display: none; flex-direction: column; width: 100%; position: absolute; top: 65px; left: 0; background-color: rgba(10, 10, 10, 1); padding: 20px 0; }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 10px 0; text-align: center; }
    .hamburger-menu { display: block; }
    .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; }
    section h2 { font-size: 2em; }
}