/*
Theme Name: Hectaria
Theme URI: https://hectaria.com
Author: Hectaria Team
Author URI: https://hectaria.com
Description: Thème immobilier ultra-moderne - Compatible Elementor
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hectaria
*/

/* ============================================
   RESET & BASE - DESIGN ULTRA-MODERNE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs du logo Hectaria */
    --color-primary: #FE0096;
    --color-secondary: #30D54A;
    
    /* Couleurs modernes */
    --color-dark: #0A0E27;
    --color-gray: #6C757D;
    --color-light-gray: #F8F9FA;
    --color-white: #ffffff;
    --color-border: #E9ECEF;
    
    /* Gradients modernes */
    --gradient-primary: linear-gradient(135deg, #FF0080 0%, #FF3399 100%);
    --gradient-secondary: linear-gradient(135deg, #00D66C 0%, #00F57D 100%);
    --gradient-dark: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 100%);
    
    /* Typographie élégante pour l'immobilier */
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Ombres modernes */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    line-height: 1.7;
    font-size: 15px;
    background: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--color-gray);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #FF3399;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TOP BAR - BANDEAU GRIS
   ============================================ */

.top-bar {
    background: #000000;
    color: #30D54A;
    padding: 12px 0;
    font-size: 13px;
    border-bottom: 3px solid #30D54A;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-bar-left a,
.top-bar-left span {
    color: #30D54A;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.top-bar-left a:hover {
    color: #FF0080;
    transform: translateY(-1px);
}

.top-bar-left i {
    color: #30D54A;
    font-size: 14px;
}

.top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: #30D54A;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(48,213,74,0.1);
    transition: var(--transition);
    font-size: 14px;
    text-align: center;
}

.social-icons a i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.social-icons a:hover {
    background: #FE0096;
    color: #ffffff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(254,0,150,0.3);
}

/* ============================================
   HEADER - BANDEAU NOIR AVEC LOGO
   ============================================ */

.main-header {
    background: #000000;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-xl);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 30px;
    max-width: 100%;
}

/* Zone Logo */
.header-logo {
    flex-shrink: 0;
    min-width: 160px;
}

/* Zone Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    margin-right: 70px;
}

/* Zone Boutons */
.header-buttons {
    flex-shrink: 0;
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: fit-content;
}

.header-logo img {
    max-height: 45px;
    width: auto;
    transition: var(--transition);
}

.header-logo:hover img {
    transform: scale(1.05);
}

/* ============================================
   NAVIGATION MODERNE
   ============================================ */

.main-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.main-menu > li > a {
    color: var(--color-white);
    font-weight: 600;
    font-size: 12.5px;
    padding: 10px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    white-space: nowrap;
}

.main-menu > li > a:hover {
    color: var(--color-primary);
}

.main-menu > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.main-menu > li > a:hover::before {
    width: 100%;
}

/* Dropdown Menu Ultra-Moderne */
.menu-item {
    position: relative;
}

.menu-item.has-dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 12px;
    transition: var(--transition);
}

.menu-item.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(20px);
    background: var(--color-white);
    min-width: 220px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    border-radius: 8px;
    margin-top: 10px;
    z-index: 1000;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--color-white);
}

.menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    display: block;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--color-dark);
    border-left: 3px solid transparent;
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(255,0,128,0.08) 0%, transparent 100%);
    border-left-color: var(--color-primary);
    padding-left: 30px;
    color: var(--color-primary);
}

.dropdown-menu a::before {
    display: none;
}

/* ============================================
   BOUTONS CTA MODERNES
   ============================================ */

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    white-space: nowrap;
    font-family: var(--font-primary);
}

.btn i {
    font-size: 13px;
}

/* Bouton Rose (Se Connecter + Nous Recrutons) */
.btn-pink {
    background: linear-gradient(135deg, #FF0080 0%, #FF3399 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255,0,128,0.3);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-pink:hover {
    background: linear-gradient(135deg, #FF3399 0%, #FF0080 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255,0,128,0.45);
    color: var(--color-white);
}

/* Bouton Outline Blanc (Estimation Gratuite) */
.btn-outline-white {
    border: 2px solid var(--color-white);
    color: var(--color-white);
    background: transparent;
    font-weight: 700;
}

.btn-outline-white:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

/* Autres variantes de boutons */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255,0,128,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,0,128,0.4);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0,214,108,0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,214,108,0.4);
}

.btn-outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white) !important;
    transform: translateY(-2px);
}

.btn-outline:hover i {
    color: var(--color-white) !important;
}

/* ============================================
   HERO SLIDER - ULTRA-MODERNE
   ============================================ */

.hero-section {
    position: relative;
    height: 70vh;
    min-height: 600px;
    overflow: visible;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
    margin-bottom: 120px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 50;
    width: 90%;
    max-width: 900px;
    pointer-events: none;
}

.hero-text {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.hero-text.active {
    opacity: 1;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-text .btn-hero {
    pointer-events: auto;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(255,0,128,0.4);
}

.hero-text .btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,0,128,0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,14,39,0.3) 0%, rgba(10,14,39,0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
}

/* ============================================
   SEARCH BOX - EN OVERLAY SUR LE HERO
   ============================================ */

.search-box {
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    max-width: 950px;
    margin: 0 auto;
    border: none;
    overflow: visible;
}

/* Formulaire sur les pages d'archive */
.search-box-archive {
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    max-width: none !important;
}

.search-box-archive .search-form-grid {
    background: white !important;
    padding: 30px !important;
    border-radius: 0 12px 12px 12px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4) !important;
}

.search-box-archive .search-tabs {
    background: transparent !important;
    padding: 20px 30px 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    gap: 8px !important;
    display: flex !important;
    justify-content: flex-start !important;
}

.search-box-archive .search-tab {
    padding: 12px 28px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    border-radius: 8px 8px 0 0 !important;
    color: rgba(255,255,255,0.95) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    border-bottom: none !important;
    opacity: 1 !important;
    flex: 0 0 auto !important;
    backdrop-filter: blur(5px) !important;
}

.search-box-archive .search-tab.active {
    background: var(--color-white) !important;
    color: #FF0080 !important;
    border-color: var(--color-white) !important;
    backdrop-filter: none !important;
}

.search-box-archive .search-tab:not(.active) {
    background: rgba(255, 255, 255, 0.25) !important;
    color: rgba(255,255,255,0.95) !important;
    border-color: rgba(255,255,255,0.5) !important;
}

.search-box-archive .search-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255,255,255,0.7) !important;
    color: white !important;
}

.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
    background: transparent;
    padding: 20px 30px 0;
}

.search-tab {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px 8px 0 0;
    color: rgba(255,255,255,0.8);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: none;
}

.search-tab.active {
    background: var(--color-white) !important;
    color: #FF0080 !important;
    border-color: var(--color-white) !important;
}

.search-tab:not(.active) {
    background: transparent !important;
    color: rgba(255,255,255,0.8) !important;
}

.search-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--color-white) !important;
}

.search-tab i {
    margin-right: 6px;
    font-size: 12px;
}

.search-form-container {
    padding: 25px 30px 30px;
    background: var(--color-white);
    border-radius: 0 12px 12px 12px;
}

.search-form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: end;
}

.search-form-grid .btn-search {
    grid-column: 4 / 5;
    justify-self: end;
    min-width: 180px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--color-primary);
    font-size: 12px;
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--color-dark);
    transition: var(--transition);
    background: var(--color-white);
    font-family: var(--font-primary);
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(255,0,128,0.1);
}

.btn-search {
    padding: 12px 30px;
    height: 46px;
    border-radius: 8px;
    white-space: nowrap;
}

/* ============================================
   SECTIONS MODERNES
   ============================================ */

.section {
    padding: 100px 0;
}

.section.first-section {
    padding-top: 140px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #0A0E27;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #FF0080;
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   PROPERTY CARDS - ULTRA-MODERNES
   ============================================ */

.properties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.property-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
    border-radius: 20px;
}

.property-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.property-card:hover::before {
    opacity: 0.03;
}

.property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .property-image img {
    transform: scale(1.15);
}

.property-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.property-badge.for-rent {
    background: var(--gradient-secondary);
}

.property-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.property-action-btn {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.property-action-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.15) rotate(10deg);
}

.property-content {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.property-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #30D54A;
    margin-bottom: 10px;
    text-shadow: 0 2px 6px rgba(48, 213, 74, 0.3);
    letter-spacing: -0.5px;
}

.property-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-gray);
}

.property-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.property-title a {
    color: var(--color-dark);
}

.property-title a:hover {
    color: var(--color-primary);
}

.property-location {
    color: var(--color-gray);
    font-size: 13px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-location i {
    color: var(--color-primary);
}

.property-features {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--color-border);
    flex-wrap: wrap;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
}

.property-feature i {
    color: #30D54A;
    font-size: 16px;
}

/* ============================================
   SERVICE CARDS - ULTRA-MODERNES
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--color-white);
    border-radius: 20px;
    transition: var(--transition);
    border: 2px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.service-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #30D54A 0%, #00F57D 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: #30D54A;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #30D54A 0%, #00F57D 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(48,213,74,0.3);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 35px rgba(48,213,74,0.5);
}

.service-icon i {
    font-size: 32px;
    color: var(--color-white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--color-gray);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ============================================
   LOCATIONS GRID - ULTRA-MODERNE
   ============================================ */

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto 0;
}

.location-card {
    position: relative;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-card:hover .location-image {
    transform: scale(1.2);
}

.location-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10,14,39,0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    transition: var(--transition);
}

.location-card:hover .location-overlay {
    background: linear-gradient(180deg, rgba(255,0,128,0.3) 0%, rgba(10,14,39,0.95) 100%);
}

.location-name {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   FOOTER - ULTRA-MODERNE
   ============================================ */

.main-footer {
    background: #000000;
    color: rgba(255,255,255,0.85);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0px;
    background: transparent;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-section h3 {
    color: #FFFFFF;
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer-section h3 i {
    color: var(--color-primary);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 10px rgba(255,0,128,0.5));
}

.footer-about .footer-logo {
    margin-bottom: 20px;
}

.footer-about .footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-tagline {
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-style: italic;
    text-shadow: 0 0 20px rgba(255,0,128,0.3);
}

.footer-description {
    color: rgba(255,255,255,0.85);
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.footer-links li a i {
    color: var(--color-primary);
    font-size: 11px;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: #FFFFFF;
    padding-left: 8px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.footer-links li a:hover i {
    transform: translateX(5px);
    filter: drop-shadow(0 0 5px rgba(255,0,128,0.8));
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.85);
    font-size: 15px;
}

.footer-contact li i {
    color: var(--color-primary);
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(255,0,128,0.4));
}

.footer-contact li a {
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
    font-weight: 500;
}

.footer-contact li a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.2);
    font-size: 18px;
}

.footer-social .social-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.footer-social .social-link:hover {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255,0,128,0.5);
}

.footer-widget a i {
    color: var(--color-primary);
}

.footer-bottom {
    padding: 30px 0;
    background: #000000;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    margin: 0;
    color: #30D54A;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-copyright i {
    color: #30D54A;
    filter: drop-shadow(0 0 5px rgba(48,213,74,0.5));
}

.footer-copyright strong {
    color: #30D54A;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-credits {
    margin: 0;
    color: #30D54A;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-credits i {
    color: #30D54A;
    animation: heartbeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(48,213,74,0.6));
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .search-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-slider {
        height: 500px;
    }
    
    .slide-title {
        font-size: 1.75rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .search-form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-arrow {
        width: 45px;
        height: 45px;
    }
    
    .slider-arrow.prev {
        left: 15px;
    }
    
    .slider-arrow.next {
        right: 15px;
    }
}

/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-menu-toggle {
    display: none;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   ELEMENTOR COMPATIBILITY
   ============================================ */

.elementor-widget-container {
    margin: 0;
}

.elementor-section {
    position: relative;
}

/* ============================================
   FORMULAIRE DANS LE BANNER
   ============================================ */

.banner-search-form {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    width: 90%;
    max-width: 1200px;
    z-index: 10;
}

.banner-search-form .search-box-archive {
    margin-bottom: 0 !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
}

.banner-search-form .search-tabs {
    background: rgba(255,255,255,0.95) !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 0 !important;
}

.banner-search-form .search-tab {
    color: #333 !important;
    font-weight: 700 !important;
}

.banner-search-form .search-tab.active {
    color: var(--color-primary) !important;
}

/* Ajuster le padding de la section suivante pour compenser le formulaire */
.page-banner + section {
    padding-top: 120px !important;
}

/* Responsive - Augmenter le padding sur mobile pour éviter le chevauchement */
@media (max-width: 992px) {
    .page-banner + section {
        padding-top: 180px !important;
    }
}

@media (max-width: 768px) {
    .page-banner + section {
        padding-top: 250px !important;
    }
}

@media (max-width: 480px) {
    .page-banner + section {
        padding-top: 280px !important;
    }
}
