:root {
    --primary-color: #FBD2A3;
    --secondary-color: #DDC576;
}

@media (max-width: 1024px) and (min-width: 769px) {
    header {
        padding: 1rem 0 !important;
    }

    .header-container {
        padding: 0 2.25rem;
    }

    header .logo img {
        height: 90px;
    }

    .mobile-phone {
        font-size: 1.05rem;
        padding: 0.55rem 1.05rem;
        letter-spacing: 0.05em;
    }

    .hamburger {
        width: 48px;
        height: 48px;
        margin-right: 1.15rem;
    }

    .hamburger span {
        width: 22px;
    }
}

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

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #000;
}

body.menu-locked {
    overflow: hidden;
}

a {
    text-decoration: none !important;
}

p {
    font-size: 15px !important;
}

/* Utility Classes */
.bold {
    font-weight: bold;
}

.font-small {
    font-size: 0.875rem;
}

.font-medium {
    font-size: 1rem;
}

.font-large {
    font-size: 1.25rem;
}

.font-xl {
    font-size: 1.5rem;
}

.font-2xl {
    font-size: 2rem;
}

.font-3xl {
    font-size: 3rem;
}

/* Header & Navigation - WITH CONTAINER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 1rem 0 !important;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.mobile-phone {
    display: none;
    text-decoration: none;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 84%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

.logo img {
    height: 80px;
    width: auto;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1rem;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background 0.3s;
    z-index: 1200;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #000;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger:hover {
    background: rgba(0, 0, 0, 0.08);
}

.menu-open .hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-open .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-open .hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: "\25BE";
    font-size: 0.7rem;
    transform: translateY(10%);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 0.75rem 0;
    display: none;
    flex-direction: column;
    min-width: 220px;
    z-index: 999;
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.dropdown-menu a {
    padding: 0.6rem 1.25rem;
    width: 100%;
    font-size: 0.95rem;
    color: #000;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
}

.nav-dropdown:hover .dropdown-menu {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
    z-index: 998;
}

.mobile-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 1000;
}

.menu-open .mobile-nav-backdrop {
    display: block;
}

.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-devis {
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-devis:hover {
    background: #000;
    color: #fff;
}

.btn-phone {
    padding: 0.8rem 1.5rem;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-phone:hover {
    background: #333;
}

/* Hero Section with Semi-circle */
.hero {
    margin-top: 0;
    height: 100vh;
    position: relative;
    overflow: visible;
    padding-bottom: 0;
    padding: 0 !important;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* SVG wave overlay for smooth curve */
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: #000;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150' preserveAspectRatio='none'%3E%3Cpath d='M0,150 L0,0 Q720,150 1440,0 L1440,150 Z' fill='white'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150' preserveAspectRatio='none'%3E%3Cpath d='M0,150 L0,0 Q720,150 1440,0 L1440,150 Z' fill='white'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.scroll-indicator {
    position: absolute;
    bottom: 95px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
    color: #000000;
    font-size: 1.5rem;
    border: 1px solid #000000;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: 0rem 0;
}

.section-dark {
    background: #000;
    color: #fff;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    width: 70%;
}

.w-80 {
    width: 84%;
    margin: 0 auto;
}

.container-fluid_products {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

h2 {
    font-size: 31px !important;
    text-align: center;
    color: var(--primary-color);
    font-weight: 300;
}

.underline {
    width: 200px;
    height: 2px;
    background: var(--primary-color);
    margin: 0 auto 3rem;
}

/* About Section */
.about-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.3rem;
    font-size: 1.1rem;
    line-height: 1.2;
}

/* Universes Section */
.universes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .0rem;
    margin-top: -1rem;
    justify-content: center;
}

.universe-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    flex: 0 0 calc(33.333% - 1.333rem);
    max-width: calc(33.333% - 1.333rem);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s;
}

.universe-card:hover {
    transform: translateY(-10px);
}

.universe-card img {
    width: 90%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border: 3px solid var(--primary-color);
}

.universe-title {
    font-size: 14px;
    font-weight: 100;
    text-align: center;
    padding: 1rem;
    background: #000;
    color: #fff;
    margin: 0;
}

/* Products Section */
.products-section {
    background: #000;
    color: #fff;
}

.product-category {
    margin-bottom: 0;
    background: var(--secondary-color);
}

.category-header {
    background: var(--secondary-color);
    color: #000;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    min-height: 427px;
}

.category-info {
    flex: 1;
}

.category-title {
    font-size: 22px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.product-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #000;
    color: #fff !important;
    background: transparent;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #000;
    color: var(--primary-color) !important;
}

.product-description {
    font-size: 15px;
    line-height: 1.8;
}

.product-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-image-container {
    flex: 0 0 400px;
    background: #fff;
    padding: 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.product-image-container img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.dark-category {
    background: #000;
    color: #fff;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    min-height: 427px;
}

.dark-category .product-image-container {
    background: #fff;
    order: -1;
}

/* Product Link Button Styles */
.product-link-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.2rem 1.5rem;
    background: #000;
    color: #fff !important;
    border: 1px solid #000;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-link-btn:hover {
    background: transparent;
    color: #000 !important;
    transform: translateY(-2px);
}

/* Dark category button styles */
.dark-category .product-link-btn {
    background: var(--secondary-color);
    color: #000 !important;
    border-color: var(--secondary-color);
}

.dark-category .product-link-btn:hover {
    background: transparent;
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color);
}

/* Contact Section */
.contact-section {
    background: #000;
    color: #fff;
    padding: 1.3rem 0rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    width: 84%;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 0.45rem;
    font-weight: 300;
}

.contact-info p {
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 0.45rem;
}

/* Phone CTA */
.contact-phone-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: .39rem .99rem;
    border-radius: 12px;
    margin: 0.56rem 0;
    cursor: pointer;
}

.contact-phone-cta:hover {
    transform: translateY(-3px);
}

.phone-icon {
    width: 40px;
    height: 40px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.phone-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.phone-label {
    font-size: 0.9rem;
    color: #000;
    font-weight: 500;
    opacity: 0.8;
}

.phone-number {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.phone-number:hover {
    color: #222;
}

/* Contact Divider */
.contact-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: #666;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #333;
}

.contact-divider span {
    padding: 0 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: .5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.15rem;
    font-weight: 500;
}

.required {
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    height: 40px;
    padding: 0 1rem;
    border: 0.25px solid rgb(121, 119, 119);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffffbd;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: #fff;
}

.form-group input.input-error,
.form-group textarea.input-error {
    border-color: #ff4444;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    padding: 1rem;
}

.error-message {
    display: none;
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.btn-submit {
    width: 100%;
    padding: .87rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    font-size: 1.2rem;
}

/* Success & Error Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 2px solid var(--secondary-color);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #000;
    animation: scaleIn 0.5s ease;
}

.modal-icon.error-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4444 100%);
    color: #fff;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.modal-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.modal-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-modal-close {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-modal-close:hover {
    transform: translateY(-2px);
}

/* Footer */
/* Footer */
footer {
    background: var(--secondary-color);
    padding: 1.5rem 0;
}

.footer-content {
    max-width: 1400px;
    width: 84%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    margin-bottom: 0;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-social-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
    color: var(--primary-color);
    font-weight: bold;
}

.social-icon:hover {
    transform: scale(1.1);
}

.footer-right {
    display: flex;
    align-items: center;
}

.copyright {
    font-size: 0.95rem;
    color: #000;
    font-weight: 500;
    margin: 0;
}