
:root {
    --hino-green: #00a651;
    --hino-dark-green: #006838;
    --hino-light-green: #4caf50;
    --hino-lime: #7cb342;
    --hino-dark: #0a1612;
    --hino-gray: #1a2e26;
    --hino-light: #f0f7f4;
    --hino-gold: #ffd700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Rajdhani", sans-serif;
    background: var(--hino-dark);
    color: var(--hino-light);
    overflow-x: hidden;
}

/* Hero Section with Complex Parallax */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.layer-1 {
    background: linear-gradient(
        135deg,
        #000000 0%,
        var(--hino-dark) 50%,
        var(--hino-gray) 100%
    );
    z-index: 1;
}

.row {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.layer-2 {
    background-image:
        radial-gradient(
            circle at 20% 50%,
            var(--hino-green) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 50%,
            var(--hino-dark-green) 0%,
            transparent 50%
        );
    opacity: 0.3;
    z-index: 2;
}

.layer-3 {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 166, 81, 0.05) 10px,
        rgba(0, 166, 81, 0.05) 20px
    );
    z-index: 3;
}

.hero-truck-bg {
    position: absolute;
    width: 150%;
    height: 150%;
    background: url("./images/background.png") center/cover;
    opacity: 0.15;
    z-index: 4;
    filter: grayscale(100%) contrast(1.2);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero-logo {
    font-family: "Exo 2", sans-serif;
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    background: linear-gradient(
        135deg,
        var(--hino-green) 0%,
        var(--hino-lime) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(0, 166, 81, 0.5);
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
    animation: logoGlow 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--hino-gold);
    text-transform: uppercase;
    letter-spacing: 0.5em;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-location {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 600;
    color: var(--hino-light);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--hino-green), transparent);
    margin: 0 auto 10px;
}

.scroll-text {
    color: var(--hino-green);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Scrollytelling Sections */
.scroll-section {
    min-height: 100vh;
    position: relative;
    padding: 6rem 2rem;
    overflow: hidden;
}

.section-bg-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.section-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 5;
}

/* About Section with Zoom Parallax */
.about-section {
    background: linear-gradient(
        180deg,
        var(--hino-dark) 0%,
        var(--hino-gray) 100%
    );
    display: flex;
    flex-wrap:wrap-reverse ;
    align-items: center;
}

.about-image-container {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 80%;
    overflow: hidden;
    border-radius: 20px 0 0 20px;
    opacity: 0;
    transition: all 1s ease-out;
}

.about-image-container.visible {
    opacity: 1;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transition: transform 0.5s ease-out;
}

.about-content {
    max-width: 50%;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out;
}

.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.section-title {
    font-family: "Exo 2", sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    background: linear-gradient(
        135deg,
        var(--hino-green) 0%,
        var(--hino-lime) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(240, 247, 244, 0.8);
    margin-bottom: 1rem;
}

/* Products Section with Slide Parallax */
.products-section {
    background: var(--hino-dark);
    position: relative;
}

.products-section .section-bg-parallax {
    background-image: url("./images/background.png?w=1200&q=80");
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    filter: grayscale(100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.product-card {
    background: linear-gradient(
        145deg,
        rgba(0, 166, 81, 0.1) 0%,
        rgba(0, 104, 56, 0.05) 100%
    );
    border: 2px solid rgba(0, 166, 81, 0.3);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--hino-green);
    box-shadow: 0 30px 80px rgba(0, 166, 81, 0.4);
}

.product-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(
        135deg,
        var(--hino-gray) 0%,
        var(--hino-dark) 100%
    );
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.15) rotate(2deg);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--hino-green);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
}

.product-info {
    padding: 2rem;
}

.product-name {
    font-family: "Exo 2", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--hino-green);
    margin-bottom: 1rem;
}

.product-category {
    font-size: 0.9rem;
    color: var(--hino-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.product-specs {
    list-style: none;
    margin-bottom: 2rem;
}

.product-specs li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 166, 81, 0.2);
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.product-specs li span:first-child {
    color: rgba(240, 247, 244, 0.6);
}

.product-specs li span:last-child {
    color: var(--hino-light);
    font-weight: 600;
}

.cta-button {
    background: linear-gradient(
        135deg,
        var(--hino-green) 0%,
        var(--hino-dark-green) 100%
    );
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 166, 81, 0.6);
}

/* Features Section with Rotate Parallax */
.features-section {
    background: linear-gradient(
        180deg,
        var(--hino-gray) 0%,
        var(--hino-dark) 100%
    );
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(0, 166, 81, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(0, 166, 81, 0.2);
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
    transition: all 0.6s ease-out;
}

.feature-card.visible {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.feature-card:hover {
    background: rgba(0, 166, 81, 0.15);
    transform: translateY(-10px) rotate(2deg);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.feature-card:hover .feature-icon {
    filter: grayscale(0);
}

.feature-title {
    font-family: "Exo 2", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hino-green);
    margin-bottom: 1rem;
}

.feature-text {
    color: rgba(240, 247, 244, 0.7);
    line-height: 1.6;
}

/* Stats Section with Scale Parallax */
.stats-section {
    background: var(--hino-dark);
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.stats-section .section-bg-parallax {
    background-image: url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?w=1200&q=80");
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(
        145deg,
        rgba(0, 166, 81, 0.2) 0%,
        rgba(0, 166, 81, 0.05) 100%
    );
    border-radius: 20px;
    border: 2px solid var(--hino-green);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s ease-out;
}

.stat-card.visible {
    opacity: 1;
    transform: scale(1);
}

.stat-card:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 60px rgba(0, 166, 81, 0.4);
}

.stat-number {
    font-family: "Exo 2", sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    background: linear-gradient(
        135deg,
        var(--hino-green) 0%,
        var(--hino-lime) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--hino-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Delivery Section with In-Out Parallax */
.delivery-section {
    background: linear-gradient(
        180deg,
        var(--hino-dark) 0%,
        var(--hino-gray) 100%
    );
    position: relative;
}

.delivery-section .section-bg-parallax {
    background-image:
        radial-gradient(
            circle at 30% 50%,
            rgba(0, 166, 81, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 50%,
            rgba(124, 179, 66, 0.1) 0%,
            transparent 50%
        );
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.delivery-card {
    background: linear-gradient(
        145deg,
        rgba(0, 166, 81, 0.1) 0%,
        rgba(0, 104, 56, 0.05) 100%
    );
    border-left: 5px solid var(--hino-green);
    padding: 2rem;
    border-radius: 15px;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.delivery-card::after {
    content: "✓";
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    font-size: 10rem;
    color: rgba(0, 166, 81, 0.05);
    font-weight: 900;
    transition: right 0.5s ease;
}

.delivery-card:hover::after {
    right: -30px;
}

.delivery-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.delivery-card:hover {
    background: rgba(0, 166, 81, 0.2);
    transform: translateX(10px) scale(1.02);
    box-shadow: -10px 0 30px rgba(0, 166, 81, 0.3);
}

.delivery-date {
    font-family: "Exo 2", sans-serif;
    font-size: 1.5rem;
    color: var(--hino-gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.delivery-client {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--hino-green);
}

.delivery-unit {
    color: rgba(240, 247, 244, 0.7);
    font-size: 1rem;
}

/* Gallery Section with Image Parallax */
.gallery-section {
    background: var(--hino-dark);
    padding: 6rem 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
    filter: brightness(0.7);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.2);
    filter: brightness(1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--hino-green);
    margin-bottom: 0.5rem;
}

.gallery-description {
    color: var(--hino-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, var(--hino-gray) 0%, #000000 100%);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.contact-card {
    background: linear-gradient(
        145deg,
        rgba(0, 166, 81, 0.15) 0%,
        rgba(0, 166, 81, 0.05) 100%
    );
    border: 3px solid var(--hino-green);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    opacity: 0;
    transform: rotateY(90deg);
    transition: all 0.8s ease-out;
}

.contact-card.visible {
    opacity: 1;
    transform: rotateY(0deg);
}

.contact-card:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 25px 70px rgba(0, 166, 81, 0.5);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.contact-title {
    font-family: "Exo 2", sans-serif;
    font-size: 1.6rem;
    color: var(--hino-green);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info {
    font-size: 1.3rem;
    color: var(--hino-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-name {
    font-weight: 700;
    color: var(--hino-gold);
    margin-top: 1rem;
    font-size: 1.1rem;
}
/* Youtube Section */
.youtube-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.youtube-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 20px;
    border: 3px solid rgba(0, 166, 81, 0.4);
    box-shadow: 0 25px 80px rgba(0, 166, 81, 0.25);
}

.youtube-thumbnail {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .4s ease;
}

.youtube-link:hover .youtube-thumbnail {
    transform: scale(1.03);
}

.youtube-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 90px;
    height: 90px;

    background: rgba(255, 0, 0, 0.9);
    color: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2rem;
    font-weight: bold;

    transition: all .3s ease;
}

.youtube-link:hover .youtube-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}
@media (max-width: 768px) {

    .youtube-wrapper {
        max-width: 100%;
    }

    .youtube-play-button {
        width: 65px;
        height: 65px;
        font-size: 1.5rem;
    }

}

/* Footer */
footer {
    background: #000000;
    padding: 4rem 2rem;
    text-align: center;
    border-top: 3px solid var(--hino-green);
}

.footer-logo {
    font-family: "Exo 2", sans-serif;
    font-size: 2.5rem;
    background: linear-gradient(
        135deg,
        var(--hino-green) 0%,
        var(--hino-lime) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.footer-text {
    color: rgba(240, 247, 244, 0.6);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

@keyframes logoGlow {
    0%,
    100% {
        text-shadow: 0 0 80px rgba(0, 166, 81, 0.5);
    }

    50% {
        text-shadow:
            0 0 120px rgba(0, 166, 81, 0.8),
            0 0 40px rgba(124, 179, 66, 0.6);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .about-image-container {
        position: relative;
        width: 100%;
        margin-bottom: 1rem;
        border-radius: 20px;
        margin-top: 3rem ;
    }

    .about-content {
        max-width: 100%;
    }

    .products-grid,
    .delivery-grid,
    .stats-grid,
    .contact-grid,
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--hino-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        var(--hino-green),
        var(--hino-dark-green)
    );
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hino-green);
}
