:root {
    --primary: #ffcc00;
    /* Yellow as requested */
    --black: #000000;
    --dark-grey: #121212;
    --grey: #888888;
    --white: #ffffff;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

section[id] {
    scroll-margin-top: 100px;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

.floating-call-btn {
    display: flex;
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--black);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.4);
    z-index: 999;
    animation: pulseCall 2s infinite;
    transition: var(--transition);
}

.floating-call-btn:hover {
    transform: scale(1.1);
    background: var(--white);
}

@keyframes pulseCall {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 204, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.mobile-toggle {
    display: none;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-shop {
    background: var(--primary);
    color: var(--black);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-shop:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.exp-label {
    display: flex;
    align-items: center;
    margin: 0 1.5rem;
    transition: var(--transition);
}

.exp-label img {
    height: 48px;
    width: auto;
    display: block;
}

.exp-label:hover {
    transform: translateY(-2px);
}

.social-icons a {
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.7;
}

.social-icons a:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-left: 10%;
    width: 60%;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;
    color: var(--primary);
    -webkit-text-stroke: 1px var(--primary);
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--grey);
    max-width: clamp(300px, 50vw, 550px);
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--black);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--white);
    transform: translateX(10px);
}

.btn-secondary {
    border: 1px solid var(--white);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

/* Animated Banner */
.hero-banner {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

.banner-image {
    width: 100%;
    height: 100%;
    background-image: url('images/escalier.jpg');
    /* The stair image is related to sablage */
    background-size: cover;
    background-position: center;
    animation: kenBurns 12s infinite alternate;
}


@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.4) translate(-2%, -2%);
    }
}

/* Info Ribbon */
.info-ribbon {
    background: var(--dark-grey);
    padding: 3.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.info-ribbon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.info-ribbon p {
    font-size: 1.45rem;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 1.5px;
}

/* Gallery */
.branding-gallery {
    padding: 6rem 0;
    background: var(--black);
}

.bg-darker {
    background: var(--dark-grey);
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 0.8rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--white);
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--grey);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-inline: auto;
    font-weight: 300;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 80px solid var(--primary);
    border-left: 80px solid transparent;
    opacity: 0;
    transform: translate(20px, -20px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    z-index: 5;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(0, 0);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: var(--transition);
    z-index: 4;
}

.item-overlay span {
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

/* Contact */
.contact {
    padding: 10rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-text h2 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.contact-text h2 span {
    color: var(--primary);
}

.contact-text p {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-info {
    margin-top: 3rem;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-info .phone-highlight {
    font-size: 1.6rem;
    font-weight: 600;
}

.contact-info i {
    color: var(--primary);
    margin-right: 15px;
    width: 20px;
}

.contact-info p span {
    color: var(--primary);
    font-weight: 400;
    text-transform: uppercase;
}

.contact-info a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--dark-grey);
    padding: 3rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

.btn-primary[type="submit"] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    cursor: pointer;
    border: none;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

#lightbox-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    filter: grayscale(0%) !important;
}

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
    color: var(--black);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

/* Animations */
.reveal-text {
    animation: revealUp 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-text-delayed {
    animation: revealUp 1s 0.2s cubic-bezier(0.77, 0, 0.175, 1) both;
}

.reveal-btns {
    animation: revealUp 1s 0.4s cubic-bezier(0.77, 0, 0.175, 1) both;
}

@keyframes revealUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title,
.gallery-item,
.contact-wrapper {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.section-title.in-view,
.gallery-item.in-view,
.contact-wrapper.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Logo Carousel */
.logo-carousel-section {
    padding: 4rem 0;
    background: #000;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.logo-slide {
    width: 250px;
    flex-shrink: 0;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-slide img {
    max-width: 150px;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.logo-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 10));
    }
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 0 2rem;
    background: #000;
}

.testimonials-subtitle {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.testimonial-track {
    overflow: hidden;
    position: relative;
    height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.testimonial-logo img {
    max-width: 180px;
    max-height: 100px;
}

.testimonial-text p {
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.4;
    color: var(--white);
}

/* Footer */
footer {
    padding: 2rem 0 4rem;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-logo {
    color: var(--white);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.footer-socials {
    display: flex;
    gap: 2rem;
}

.footer-socials i {
    font-size: 1.5rem;
    color: var(--grey);
}

.footer-socials i:hover {
    color: var(--primary);
}

.footer-layout p {
    color: var(--grey);
    font-size: 0.9rem;
}

/* Responsive Navigation Overlay */
.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2.5rem);
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        display: block;
        padding: 1rem;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-toggle span {
        width: 30px;
        height: 2px;
        background: var(--white);
        transition: var(--transition);
        transform-origin: center;
    }

    .mobile-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero-content {
        width: 100%;
        padding: 0 5%;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(3rem, 10vw, 5rem);
    }

    .hero-btns {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-text {
        text-align: center;
    }

    .contact-text h2 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Base Responsive Tweaks */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    nav {
        padding: 0 1.5rem;
    }

    .hero {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
    }

    .hero-banner {
        position: relative;
        width: 100%;
        height: 50vh;
        order: -1;
    }

    .hero-content {
        padding: 3rem 1.5rem;
    }

    .info-ribbon p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .testimonial-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .testimonial-logo {
        margin: 0 auto;
    }

    .testimonial-text p {
        font-size: 1.3rem;
    }

    .footer-layout {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .exp-label {
        display: none;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .gallery-item img {
        filter: grayscale(0%);
    }

    .gallery-item::after {
        display: none;
    }

    .item-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    }
}