/* Hero Section */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}


/* Video Background */

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}


/* Video Overlay */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: -1;
}


/* Fallback background if video doesn't load */

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%231a1a1a" width="1200" height="800"/><circle cx="600" cy="400" r="300" fill="%23222" opacity="0.3"/></svg>');
    background-size: cover;
    background-position: center;
    z-index: -3;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    opacity: 0;
    animation: heroContentIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes heroContentIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInDown 1s ease 0.5s forwards;
}

.hero .tagline {
    font-size: 1.5rem;
    font-family: 'Times New Roman', serif;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-gold);
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid var(--primary-gold);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.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.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: transparent;
    color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}


/* About Section */

.about-section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.about-section .section-title,
.about-section .section-subtitle {
    text-align: center;
    display: block;
    width: 100%;
}

.about-section .section-title::after {
    left: 50%;
    transform: translateX(-50%) scaleX(1);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
    position: relative;
    display: inline-block;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.6s ease 0.3s;
}

.about-text.visible h3::after {
    width: 60px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.about-text.visible p:nth-child(2) {
    transition-delay: 0.2s;
}

.about-text.visible p:nth-child(3) {
    transition-delay: 0.3s;
}

.about-text.visible p:nth-child(4) {
    transition-delay: 0.4s;
}

.about-text.visible p {
    opacity: 1;
    transform: translateY(0);
}

.about-image {
    background-color: var(--card-bg);
    background-image: url('../assets/image/hand.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 58% 24%;
    height: 400px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image:hover {
    transform: scale(1.02);
    border-color: rgba(212, 175, 55, 0.5);
}


/* Brands Carousel Section */

.brands-section {
    background: var(--secondary-bg);
    padding: 4rem 5%;
    margin: 4rem 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.brands-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.brands-section .section-title,
.brands-section .section-subtitle {
    text-align: center;
    display: block;
    width: 100%;
}

.brands-section .section-title::after {
    left: 50%;
    transform: translateX(-50%) scaleX(1);
}

.brands-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.brands-carousel {
    display: flex;
    gap: 4rem;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.brands-carousel:hover {
    animation-play-state: paused;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 100px;
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.brand-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.brand-item:hover::before {
    opacity: 1;
}

.brand-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: brightness(0) invert(76%) sepia(66%) saturate(466%) hue-rotate(358deg) brightness(90%) contrast(88%);
    transition: all 0.4s ease;
}

.brand-item:hover img {
    filter: grayscale(0%) brightness(1) invert(0);
    transform: scale(1.1);
}


/* Duplicate carousel for seamless loop */

.brands-carousel-wrapper {
    display: flex;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Gradient fade on edges */


/* Responsive */

@media (max-width: 768px) {
    .hero {
        margin-top: 86px;
        min-height: calc(100vh - 86px);
        height: auto;
        padding: 4rem 0;
    }
    .hero-content {
        padding: 0 1rem;
    }
    .hero h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }
    .hero .tagline {
        font-size: 1rem;
    }
    .cta-button {
        width: 100%;
        max-width: 320px;
        padding: 0.9rem 1.2rem;
    }
    .about-section,
    .brands-section,
    .reviews {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .about-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-text h3 {
        font-size: 1.55rem;
    }
    .about-image {
        height: 280px;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .brand-item {
        min-width: 150px;
        height: 80px;
    }
    .brands-carousel {
        gap: 2rem;
    }
}