/*------------------------------------------------------------------------------------------------------------------*/
/* Font */
@font-face {
    font-family: 'Charito'; /* You can name it anything */
    src: url('/static/fonts/Charito.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* ensures text shows while font loads */
}

@font-face {
    font-family: 'BebasNeue-Regular'; /* You can name it anything */
    src: url('/static/fonts/Bebas-Neue-Pro-Expanded-Middle.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* ensures text shows while font loads */
}

/*------------------------------------------------------------------------------------------------------------------*/
/* GENERAL */
body {
    margin: 0;
    overflow: hidden;
    font-family: 'BebasNeue-Regular', sans-serif;;
}

p {
    padding: 0 35px;
    text-align: justify;
}

h1 {
    text-transform: uppercase;
}

h2 {
    text-transform: uppercase;
}

/*------------------------------------------------------------------------------------------------------------------*/
/* SECTIONS */
#hero, #product, #who_we_help, #why_us, #contact {
    overflow: hidden;  /* Prevents any overflow */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),  url('/static/images/job-5382501_1920.jpg');
    animation: scroll 60s ease-in-out infinite;
    color: #bfb195;
    background-size: cover;
}

#hero p {
    font-size: 19px;
    padding-bottom: 80px;
}
#who_we_help, #contact {
    background-color: #bfb195;
    color: #23253a;
}

#product, #why_us {
    background-color: #23253a;
    color: #bfb195;
}

#product p {
    font-size: 19px;
}

#product h2 {
    font-size: 28px;
    padding: 0 20px;
}

#product h4 {
    /*margin: 0;*/
    font-size: 20px;
    padding: 35px;
}

#product img {
    max-width: 80%;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

li {
    list-style-type: disclosure-closed;
    padding: 10px 0;
    text-transform: uppercase;
}

ul {
    padding-right: 10px;
    margin-bottom: 50px;
}

.cta-button {
    font-weight: bold;
    margin-top: 40px;
    padding: 20px 80px;
    background-color: #23253a;
    color: #bfb195;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #23253a;
}


/*------------------------------------------------------------------------------------------------------------------*/
/* PARALLAX */

/*------------------------------------------------------------------------------------------------------------------*/
/* NAVIGATION */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
    z-index: 1000;
}
.navbar a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

/*------------------------------------------------------------------------------------------------------------------*/
/* FADE IN ANIMATION*/
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.fade-in.visible {
    opacity: 1;
}

/*------------------------------------------------------------------------------------------------------------------*/
/* HOVER EFFECT */
.cta-button:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}


/*------------------------------------------------------------------------------------------------------------------*/
/* Loader Style */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #23253a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;  /* Make sure the loader stays on top of everything */
}

/* Loader Content */
.loader-content {
    font-size: 5rem;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
    width: 100%;  /* Width of the motto block */
    height: 100%;
    border-radius: 5px;
}

/* Hide the loader after page load */
.hide-loader {
    visibility: hidden;   /*Hide the loader */
    opacity: 0;  /* Fade out the loader */
    transition: opacity 1.8s ease-out, visibility 0s 1.8s; /*  ;Smooth fade and immediate visibility change */
    /* animation: disappear 0.3s forwards;  Animating the motto text */
}

.word {
    display: flex;
    width: 120%;
    transform: translateX(110%); /* Initially position words off-screen */
    animation: slideIn 0.4s forwards;
    height: 16.666%;
    justify-content: center;
    align-items: center;
    background-color: #bfb195;
    color: #23253a;
    border-radius: 25px;
}

/*------------------------------------------------------------------------------------------------------------------*/
/* PRODUCT SLIDESHOW */
/* Slideshow container */
.slideshow-container {
    height: 100%;
    width: 100%;
    overflow: hidden; /* Hide overflow for sliding effect */
    position: relative;
    /*cursor: grab;*/
}

/* Slides wrapper (flex layout for horizontal slides) */
.slideshow-wrapper {
    display: flex;
    transition: transform 0.8s ease-in-out; /* Smooth slide transition */
    height: 100%;
    touch-action: pan-y; /* Prevent scrolling while dragging horizontally */
}

/* Each slide */
.slide {
    flex: 0 0 100%; /* Each slide takes full container width */
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Optional: alternating background for odd/even */
.slide.odd {
    color: #23253a;
    background-color: #bfb195;
}

.slide.even {
    color: #bfb195;
    background-color: #23253a;
}

/* Slide titles and text animations
.slide h3, .slide h5, .slide p {
    opacity: 0;
    transform: translateY(50vw);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
*/
.slide.active h3,
.slide.active h5,
.slide.active p {
    opacity: 1;
    transform: translateY(0);
}

/* Progress dots */
.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slideshow-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slideshow-dots .dot.active {
    background-color: rgba(255, 255, 255, 1);
}

/* Grabbing cursor when dragging */
.slideshow-wrapper.grabbing {
    cursor: grabbing;
    transition: none;
}

/*------------------------------------------------------------------------------------------------------------------*/
/* Keyframe animations */


@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(50vw);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BD Scroll Animation */
@keyframes scroll {
    0% {
        background-position: top left;  /* Start position */
    }
    50% {
        background-position: top right;  /* Move to top */
    }
    100% {
        background-position: top left;  /* Return to bottom */
    }
}
/* Scale Animation */
@keyframes scaleEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);  /* Slightly zoom in */
    }
    100% {
        transform: scale(1);
    }
}

/* Slide-In Animation */
@keyframes slideIn {
    0% {
        transform: translateX(110%);
    }
    100% {
        transform: translateX(-10%);
    }
}

.element {
    animation: slideIn 3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Disappear Animation */
@keyframes disappear {
    0% {
        transform: translateX(-10%);
    }
    100% {
        transform: translateX(-110%);
    }
}

.element {
    animation: disappear 3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Add delay to each word for sequential animation */
#word1 {
    animation-delay: 0s;
}
#word2 {
    animation-delay: 0.1s;
}
#word3 {
    animation-delay: 0.2s;
}
#word4 {
    animation-delay: 0.3s;
}
#word5 {
    animation-delay: 0.4s;
}
#word6 {
    animation-delay: 0.5s;
}
/*----------------------------------------------------------------------------------------------------------------*/
/* HEADER BASE */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box; /* <-- ADD THIS */
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    background: #23253a;
    opacity: 0.95;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 1s ease; /* smooth slide animation */
}

header.hidden {
    transform: translateY(-100%); /* hide header upwards */
}

/* LOGO */

.logo h1 {
    font-size: 20px;
    font-weight: bold;
    color: #bfb195;
    font-family: 'Charito', sans-serif;
    padding-left: 20px;
}

.logo-png {
    width: 50px;
    height: auto;
}

/* MENU BUTTON (Hamburger) */
.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 33px;
    width: 50px;
    z-index: 1000;
}

.menu-button span {
    display: block;
    height: 3px;
    width: 100%;
    background: #bfb195;
    border-radius: 2px;
    transition: all 0.4s ease;
}

/* ANIMATE HAMBURGER TO X WHEN OPEN */
.menu-button.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-button.open span:nth-child(2) {
    opacity: 0;
}
.menu-button.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* OVERLAY MENU */
.overlay-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden initially */
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #23253a;
    color: #bfb195;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.5s ease;
    z-index: 1050;
}

/* WHEN ACTIVE */
.overlay-menu.active {
    right: 0;
}

/* CLOSE BUTTON */
.close-menu {
    position: absolute;
    top: 20px;
    right: 38px;
    background: none;
    border: none;
    font-size: 50px;
    color: #bfb195;
    cursor: pointer;
}

/* MENU LINKS */
.menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-links li {
    opacity: 0;
    transform: translateX(50px);
    margin: 20px 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.menu-links li.show {
    opacity: 1;
    transform: translateX(0);
}

.menu-links li a {
    color: #bfb195;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    transition: color 0.3s;
}

.menu-links li a:hover {
    color: #bfb195;
}
/*------------------------------------------------------------------------------------------------------------------*/
/* RESPONSIVE*/
/*---------------------------------------------------*/
/* RESPONSIVE DESIGN */

/* Mobile already fine */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .cta-button {
        font-size: 1rem;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-content,
    .slide,
    .content {
        width: 80%;
        margin: 0 auto; /* center content */
    }

    .hero-content h1 {
        font-size: 2.5rem; /* slightly smaller than desktop */
    }

    p {
        font-size: 18px; /* slightly smaller */
    }

    .cta-button {
        font-size: 1.1rem;
        padding: 18px 70px;
    }
}

/* Desktop */
@media (min-width: 1025px){
    .hero-content,
    .slide,
    .content {
        width: 60%;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.5rem; /* same as tablet */
    }

    p {
        font-size: 18px; /* same as tablet */
    }

    .cta-button {
        font-size: 1.1rem;
        padding: 18px 70px;
    }
}
@media (max-height: 795px) {
    #product h2 {
        padding: 0 20px;
    }

    #product h4 {
        margin: 0;
        padding: 0 35px;
    }
}
/*

 COLOR PALETTE
navy: #23253a, #0A0D53

beige: #f0d9ba, #F2E8D5, #D8C8B2

 */