:root {
    --bg-color: #0d0d0d;
    --text-color: #ffffff;
    --primary-color: #F5EB07;
    --secondary-color: #1a1a1a;
    --accent-color: #F5EB07;
    --gray-color: #888;
    --font-family: 'Outfit', sans-serif;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-red {
    color: var(--primary-color);
}

/* Header */
.main-header {
    height: var(--header-height);
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.logo-img {
    height: 60px;
    /* Increased from 50px (20% increase) */
    width: auto;
}

.logo-red {
    color: var(--primary-color);
    margin-right: 2px;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

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

/* Hero Slider */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.slider {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.slide-content h1 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out 0.5s;
}

.slide.active h1 {
    transform: translateY(0);
    opacity: 1;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: white;
    text-transform: uppercase;
    font-weight: 900;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.btn:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 5px;
    background: var(--primary-color);
}

/* Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px 0;
    /* Changed from 40px */
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 4px solid transparent;
    transition: var(--transition);
    text-align: center;
    overflow: hidden;
    /* For image wrapper corners */
}

.service-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}

.service-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.service-card h3 {
    margin: 0 20px 10px;
}

.service-card p {
    margin: 0 20px 30px;
    font-size: 0.9rem;
    color: #ccc;
}

.service-card:hover {
    border-color: var(--primary-color);
    border-width: 3px;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(245, 235, 7, 0.3),
        0 0 0 3px rgba(245, 235, 7, 0.2),
        0 0 20px rgba(245, 235, 7, 0.4);
    animation: borderPulse 1.5s ease-in-out infinite;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

.service-card:hover h3 {
    color: #fff;
    text-shadow: 0 0 10px rgba(245, 235, 7, 0.5);
}

@keyframes borderPulse {

    0%,
    100% {
        box-shadow: 0 15px 40px rgba(245, 235, 7, 0.3),
            0 0 0 3px rgba(245, 235, 7, 0.2),
            0 0 20px rgba(245, 235, 7, 0.4);
    }

    50% {
        box-shadow: 0 15px 40px rgba(245, 235, 7, 0.5),
            0 0 0 5px rgba(245, 235, 7, 0.4),
            0 0 30px rgba(245, 235, 7, 0.6);
    }
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 204, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

/* New Premium Gallery Styles */
.gallery-grid-premium {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.gallery-item-premium {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.gallery-item-premium:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 25px 60px rgba(245, 235, 7, 0.3);
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 350px;
    background: #000;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item-premium:hover .gallery-image-wrapper img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(0.7) contrast(1.1);
}

.gallery-overlay-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 235, 7, 0.95), rgba(245, 235, 7, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Overlay reste invisible au survol */
.gallery-item-premium:hover .gallery-overlay-premium {
    opacity: 0;
}

.gallery-overlay-premium i {
    font-size: 3.5rem;
    color: #000;
    transform: scale(0) rotate(-180deg);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item-premium:hover .gallery-overlay-premium i {
    transform: scale(0) rotate(-180deg);
}

.gallery-caption {
    padding: 25px;
    text-align: center;
    transition: all 0.4s ease;
}

.gallery-item-premium:hover .gallery-caption {
    background: rgba(245, 235, 7, 0.05);
}

.gallery-caption h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.gallery-item-premium:hover .gallery-caption h3 {
    transform: translateY(-5px);
    text-shadow: 0 0 20px rgba(245, 235, 7, 0.5);
}

.gallery-caption p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.gallery-item-premium:hover .gallery-caption p {
    color: #fff;
    opacity: 1;
}

/* Staggered animation delays for gallery items */
.gallery-grid-premium .gallery-item-premium:nth-child(1) {
    animation-delay: 0s;
}

.gallery-grid-premium .gallery-item-premium:nth-child(2) {
    animation-delay: 0.15s;
}

.gallery-grid-premium .gallery-item-premium:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-grid-premium .gallery-item-premium:nth-child(4) {
    animation-delay: 0.45s;
}

.gallery-grid-premium .gallery-item-premium:nth-child(5) {
    animation-delay: 0.6s;
}

/* Pulse animation on page load */
@keyframes galleryPulse {
    0% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 10px 30px rgba(245, 235, 7, 0.2);
    }

    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
}

.gallery-item-premium.reveal.active {
    animation: galleryPulse 2s ease-in-out;
}

/* Footer */
.main-footer {
    background: #050505;
    padding: 80px 0 20px;
    border-top: 1px solid #222;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info h3 {
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #111;
    color: var(--gray-color);
    font-size: 0.8rem;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Stats Section */
.stats {
    background: var(--secondary-color);
    padding: 60px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}

/* Process Section */
.process {
    padding: 100px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* CTA Section */
.cta-content {
    text-align: center;
    background: linear-gradient(rgba(255, 204, 0, 0.1), rgba(0, 0, 0, 0.9)), url('/img/services/background-4.PNG');
    background-size: cover;
    background-position: center;
    padding: 100px 60px;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Contact Page Grid */
.contact-info-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    width: 100%;
    height: 3px;
    background: white;
    transition: var(--transition);
}

/* Utilities */
.badge-soon {
    display: inline-block;
    padding: 2px 8px;
    background: var(--primary-color);
    color: #000;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */

/* Tablet & Smaller Desktops */
@media (max-width: 1024px) {
    .section-title h2 {
        font-size: 2.5rem;
    }

    .about-container {
        gap: 30px;
    }

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

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

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .slide-content h1 {
        font-size: 3rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(10px);
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

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

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }

    .burger {
        display: flex;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .slide-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .about-img {
        order: -1;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item h1 {
        font-size: 2.5rem !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-content {
        padding: 60px 20px;
    }

    .cta-content h2 {
        font-size: 2rem !important;
    }

    .cta-content p {
        font-size: 1rem !important;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

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

    .section-title p {
        font-size: 0.95rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gallery-grid-premium {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-image-wrapper {
        height: 280px;
    }

    .gallery-caption h3 {
        font-size: 1.2rem;
    }

    .gallery-caption p {
        font-size: 0.9rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .slide-content h1 {
        font-size: 2rem;
        padding: 0 10px;
    }

    .slide-content p {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat-item h1 {
        font-size: 2rem !important;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .cta-content h2 {
        font-size: 1.5rem !important;
    }

    .nav-menu a {
        font-size: 1.3rem;
    }

    .logo-img {
        height: 50px;
    }
}

/* Very Small Mobile (Extra small phones) */
@media (max-width: 375px) {
    .slide-content h1 {
        font-size: 1.7rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.85rem;
    }

    .stat-item h1 {
        font-size: 1.8rem !important;
    }
}

/* Large Screens */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .slide-content h1 {
        font-size: 5rem;
    }

    .section-title h2 {
        font-size: 3.5rem;
    }
}

/* Staggered Delays for grid items */
.services-grid .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.services-grid .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.process-grid .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.process-grid .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.process-grid .reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-menu a {
        padding: 10px 20px;
    }
}
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 20px;
    right: 20px;
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    display: flex;
    justify-content: center;
}

.cookie-banner.show {
    bottom: 30px;
    opacity: 1;
}

.cookie-banner.hide {
    transform: translateY(150px);
    opacity: 0;
}

.cookie-content {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 5px solid var(--primary-color);
    padding: 25px 35px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 235, 7, 0.1);
}

.cookie-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    animation: cookieShake 5s ease-in-out infinite;
}

@keyframes cookieShake {
    0%, 100% { transform: rotate(0deg); }
    10%, 20% { transform: rotate(-10deg); }
    15% { transform: rotate(10deg); }
}

.cookie-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.cookie-text p {
    font-size: 0.9rem;
    color: #ccc;
    max-width: 500px;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.btn-cookie {
    padding: 10px 25px !important;
    font-size: 0.85rem !important;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%) !important;
}

.cookie-link {
    font-size: 0.85rem;
    color: #888;
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-link:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        padding: 25px;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-actions {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    
    .cookie-banner.show {
        bottom: 20px;
    }
}

