/* ===================== GLOBAL STYLES - Wrap by Djam ===================== */
/* Shared CSS for navigation, footer, floating buttons and base styles */

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --red: #C41E1E;
    --red-dark: #A01818;
    --red-light: #E8353520;
    --black: #111111;
    --dark: #1a1a1a;
    --grey-900: #222222;
    --grey-800: #333333;
    --grey-600: #666666;
    --grey-500: #888888;
    --grey-400: #999999;
    --grey-200: #e5e5e5;
    --grey-100: #f5f5f5;
    --white: #ffffff;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --max-width: 1200px;
    --section-padding: 100px 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================== NAVIGATION ===================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
    box-shadow: none;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--grey-200);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo img {
    height: 64px;
    width: auto;
    transition: filter 0.4s;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.nav.scrolled .nav-links a {
    color: var(--grey-600);
    text-shadow: none;
}

.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a:hover { color: var(--black); }

.nav-cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
    text-shadow: none !important;
}

.nav-cta:hover { background: var(--red-dark); }

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    transition: color 0.3s, text-shadow 0.3s;
}

.nav.scrolled .nav-phone {
    color: var(--black);
    text-shadow: none;
}

.nav-phone svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

.nav-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-shadow: none !important;
    transition: background 0.2s;
}

.nav-whatsapp:hover { background: #1da851; }

.nav-whatsapp svg {
    width: 16px;
    height: 16px;
    fill: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: all 0.3s;
}

.nav.scrolled .nav-toggle span {
    background: var(--black);
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--grey-100);
    border-top: 1px solid var(--grey-200);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--grey-500);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-nav { }

.footer h4 {
    color: var(--black);
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--grey-500);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--red); }

/* Footer reviews (middle column) */
.footer-reviews {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-review {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: 10px;
    padding: 16px 20px;
}

.footer-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.footer-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.footer-review-name {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--black);
}

.footer-review-source {
    display: block;
    font-size: 0.75rem;
    color: var(--grey-500);
}

.footer-review-stars {
    color: #FFB800;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.footer-review p {
    color: var(--grey-600);
    font-size: 0.85rem;
    line-height: 1.6;
    font-style: italic;
}

.footer-reviews-badge {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
}

.footer-reviews-badge a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--grey-600);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-reviews-badge a:hover { color: var(--black); }

.footer-reviews-badge svg {
    width: 18px;
    height: 18px;
}

/* Footer social rows (right column) */
.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--grey-500);
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid var(--grey-200);
    transition: color 0.2s;
}

.footer-social-row:first-child {
    border-top: 1px solid var(--grey-200);
}

.footer-social-row:hover {
    color: var(--red);
}

.footer-social-row svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--grey-400);
    transition: color 0.2s;
}

.footer-social-row:hover svg {
    color: var(--red);
}

/* Footer contact (right column) */
a.footer-contact-item {
    text-decoration: none;
    transition: color 0.2s;
}

a.footer-contact-item:hover { color: var(--red); }

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--grey-500);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--red);
    fill: none;
    flex-shrink: 0;
}

.footer-locations {
    border-top: 1px solid var(--grey-200);
    padding: 20px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-locations a {
    color: var(--grey-600);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-locations a:hover {
    color: var(--red);
}

.footer-locations-sep {
    color: var(--grey-400);
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid var(--grey-200);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--grey-600);
    font-size: 0.8rem;
}

/* ===================== FLOATING MOBILE BUTTONS ===================== */
.floating-mobile-btns {
    display: none;
}

/* ===================== RESPONSIVE - NAV, FOOTER, FLOATING ===================== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 2fr; }
    .footer-col-left { grid-column: 1; }
    .footer-col-center { grid-column: 2; }
    .footer-col-right { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    :root { --section-padding: 70px 0; }

    .nav-links { display: none; }
    .nav-toggle { display: block; }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--grey-200);
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    /* When mobile menu is open, make entire nav bar white */
    .nav.menu-open {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid var(--grey-200) !important;
        box-shadow: 0 1px 8px rgba(0,0,0,0.06) !important;
    }

    .nav.menu-open .nav-toggle span {
        background: var(--black) !important;
    }

    .nav.menu-open .nav-logo img {
        filter: none !important;
    }

    .nav-links.active a {
        color: var(--grey-600) !important;
        text-shadow: none !important;
    }

    .nav-links.active a.nav-cta {
        color: var(--white) !important;
    }

    .nav-links.active a.nav-whatsapp {
        color: var(--white) !important;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-col-left, .footer-col-center, .footer-col-right { grid-column: 1; }
    .footer-reviews { gap: 12px; }
    .footer-reviews-badge { flex-wrap: wrap; gap: 16px; }
    .footer-locations {
    border-top: 1px solid var(--grey-200);
    padding: 20px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-locations a {
    color: var(--grey-600);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-locations a:hover {
    color: var(--red);
}

.footer-locations-sep {
    color: var(--grey-400);
    font-size: 0.85rem;
}

.footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .floating-mobile-btns {
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: fixed;
        bottom: 20px;
        right: 16px;
        z-index: 9999;
    }

    .floating-mobile-btns a {
        width: 54px;
        height: 54px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
        transition: transform 0.2s ease;
        text-decoration: none;
    }

    .floating-mobile-btns a:active {
        transform: scale(0.92);
    }

    .floating-btn-whatsapp {
        background: #25D366;
    }

    .floating-btn-whatsapp svg {
        width: 28px;
        height: 28px;
        fill: #fff;
    }

    .floating-btn-offerte {
        background: var(--red);
    }

    .floating-btn-offerte svg {
        width: 24px;
        height: 24px;
        stroke: #fff;
        fill: none;
    }

    body { padding-bottom: 80px; }
}
