/* CSS pour Oude Immobilier - Design Moderne et Attractif */

/* Variables CSS - Palette de couleurs moderne */
:root {
    --primary-color: #1a365d;      /* Bleu marine profond */
    --secondary-color: #2d3748;    /* Gris anthracite */
    --accent-color: #3182ce;       /* Bleu vif */
    --gold-color: #f6ad55;         /* Orange doré */
    --success-color: #38a169;      /* Vert succès */
    --warning-color: #ed8936;      /* Orange warning */
    --danger-color: #e53e3e;       /* Rouge danger */
    --text-dark: #2d3748;          /* Texte principal */
    --text-light: #718096;         /* Texte secondaire */
    --text-muted: #a0aec0;         /* Texte atténué */
    --bg-light: #f7fafc;           /* Fond clair */
    --bg-dark: #1a202c;            /* Fond sombre */
    --white: #ffffff;              /* Blanc pur */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --border-radius: 12px;
    --border-radius-sm: 6px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --gradient-gold: linear-gradient(135deg, var(--gold-color), var(--warning-color));
}

/* Reset et base moderne */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    transform: translateY(-1px);
}

/* Typographie moderne */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Utilitaires */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.fw-bold { font-weight: 700; }
.fw-medium { font-weight: 500; }
.fw-normal { font-weight: 400; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }
.text-muted { color: var(--text-muted); }

/* Container moderne */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Header moderne avec glassmorphism */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

/* Logo avec effet hover et lien vers accueil */
.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.logo:hover {
    transform: scale(1.05);
    color: var(--accent-color);
}

.logo img {
    width: 60px;
    height: 60px;
    margin-right: 12px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    background: var(--white);
    padding: 5px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: var(--transition);
}

.logo:hover img {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    border-color: var(--accent-color);
    transform: scale(1.05);
}

/* Menu navigation moderne */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    color: var(--text-dark);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Menu hamburger moderne */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: var(--border-radius);
    background: var(--bg-light);
    transition: var(--transition);
    position: relative;
    z-index: 1001;
    border: 2px solid transparent;
}

.hamburger:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    border-color: var(--accent-color);
}

.hamburger:hover .hamburger-line {
    background: var(--white);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Animation hamburger */
.hamburger.active {
    background: var(--primary-color);
}

.hamburger.active .hamburger-line {
    background: var(--white);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.card-text {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.card-actions {
    display: flex;
    gap: 1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Services */
.service-card {
    text-align: center;
    padding: 2rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--white);
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    border-color: #25d366;
}

.btn-email {
    background: linear-gradient(135deg, #ea4335, #d33b2c);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(234, 67, 53, 0.3);
    border-color: #ea4335;
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.3);
    border-color: #17a2b8;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--gold-color);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design Moderne */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin-bottom: 0.5rem;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        border-radius: var(--border-radius);
        font-size: 1.1rem;
        border: 2px solid transparent;
        background: var(--bg-light);
        margin-bottom: 0.5rem;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--gradient-primary);
        border-color: var(--accent-color);
        transform: translateX(10px);
    }

    /* Overlay pour fermer le menu */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Typographie responsive */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-menu {
        width: 100%;
        right: -100%;
        padding: 5rem 1.5rem 2rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .contact-buttons .btn {
        padding: 1.2rem;
        font-size: 1.1rem;
    }
}

/* ===== STYLES POUR LOGOS CIRCULAIRES ===== */

/* Favicon circulaire */
link[rel="icon"],
link[rel="shortcut icon"] {
    border-radius: 50%;
}

/* Classes utilitaires pour logos circulaires */
.logo-circle {
    border-radius: 50% !important;
    border: 3px solid var(--primary-color);
    background: var(--white);
    padding: 5px;
    object-fit: cover;
    transition: var(--transition);
}

.logo-circle:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Variantes de taille pour logos circulaires */
.logo-circle-sm {
    width: 40px;
    height: 40px;
    border-width: 2px;
    padding: 3px;
}

.logo-circle-md {
    width: 60px;
    height: 60px;
    border-width: 3px;
    padding: 5px;
}

.logo-circle-lg {
    width: 80px;
    height: 80px;
    border-width: 4px;
    padding: 6px;
}

.logo-circle-xl {
    width: 120px;
    height: 120px;
    border-width: 5px;
    padding: 8px;
}

/* Variantes de couleur pour bordures */
.logo-circle-primary {
    border-color: var(--primary-color);
}

.logo-circle-accent {
    border-color: var(--accent-color);
}

.logo-circle-gold {
    border-color: var(--gold-color);
}

.logo-circle-white {
    border-color: var(--white);
    background: transparent;
}

/* Animation pour logos circulaires */
.logo-circle-animated {
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Effet de pulsation pour logos */
.logo-circle-pulse {
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    }
}

/* Styles pour favicon dans différents navigateurs */
head link[rel="icon"] {
    border-radius: 50%;
}

/* Styles pour les logos dans le footer */
.footer .logo-circle {
    border-color: var(--gold-color);
    background: rgba(255, 255, 255, 0.1);
}

.footer .logo-circle:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive pour logos circulaires */
@media (max-width: 768px) {
    .logo img {
        width: 50px;
        height: 50px;
        border-width: 2px;
        padding: 4px;
    }

    .logo-circle-lg {
        width: 60px;
        height: 60px;
        border-width: 3px;
        padding: 4px;
    }

    .logo-circle-xl {
        width: 80px;
        height: 80px;
        border-width: 4px;
        padding: 5px;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 45px;
        height: 45px;
        border-width: 2px;
        padding: 3px;
    }

    .logo-circle-md {
        width: 45px;
        height: 45px;
        border-width: 2px;
        padding: 3px;
    }
}