  @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');



*{
  margin : 0;
  padding : 0;
}

:root {
  --violet: #3b254e;
  --violet-dark: #2a1839;
  --blue: #0057ff;
  --red: #cc2e2e;
  --black: #111111;
  --white: #ffffff;
  --gray: #f5f5f7;
  --success: #28a745;
  --warning: #ffc107;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* ====== HEADER SECTION ====== */
 header {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #2c3e50 60%, #2c3e50 100%);
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1003;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #dc3545, #667eea, #764ba2) 1;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    width: 200px;
    height: 64px;
    
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.menu {
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #dc3545, #667eea);
    transition: width 0.3s ease;
}

.menu a:hover {
    color: #dc3545;
}

.menu a:hover::after {
    width: 100%;
}

/* Services Dropdown */
.menu li {
    position: relative;
}

.menu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    display: none;
    flex-direction: column;
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
    margin-top: 15px;
    border: 1px solid #f0f0f0;
}

.menu li:hover ul {
    display: flex;
}

.menu li ul::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.menu li ul li {
    margin: 8px 0;
}

.menu li ul li a {
    padding: 8px 24px;
    color: #555;
    font-size: 15px;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.3s ease;
}

.menu li ul li a::after {
    display: none;
}

.menu li ul li a:hover {
    background: #f8f9fa;
    color: #dc3545;
    padding-left: 25px;
}


/* ====== HAMBURGER MENU ====== */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.hamburger:hover {
  background: #e9ecef;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #2c3e50;
  border-radius: 2px;
  transition: 0.3s;
}

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

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

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

/* ====== HEADER RESPONSIVE ====== */
@media (max-width: 991px) {
  header {
    background: #ffffff;
    border-image: none;
    --mobile-header-height: 90px;
  }

  .menu {
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 8px 16px 16px;
    display: flex !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    box-shadow: 0 16px 40px rgba(44, 62, 80, 0.18);
    border-top: 1px solid rgba(44, 62, 80, 0.08);
    border-radius: 0 0 18px 18px;
    z-index: 1002;
    gap: 12px;
  }

  .menu.show {
    max-height: 80vh;
    opacity: 1;
    display: flex !important;
  }

  .hamburger {
    background: #2c3e50;
  }

  .hamburger span {
    background: #ffffff;
  }

  .hamburger.active {
    transform: rotate(90deg);
  }

  .menu a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    padding: 10px 12px;
    color: #333;
    border-radius: 999px;
    background: rgba(44, 62, 80, 0.04);
    border: 1px solid rgba(44, 62, 80, 0.08);
    letter-spacing: 0.2px;
  }

  .menu a:hover {
    background: rgba(44, 62, 80, 0.1);
    color: #2c3e50;
  }

  .menu li ul {
    position: static;
    display: block !important;
    background: #f8f9fa;
    margin: 8px 0;
    padding: 8px;
    border-radius: 8px;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.3s ease;
  }

  .menu li.show ul {
    max-height: 500px;
    opacity: 1;
    transform: translateX(0);
  }

  .menu li ul li a {
    padding: 8px 12px;
    font-size: 14px;
    color: #666;
    border-bottom: none;
    background: transparent;
    border: none;
    border-radius: 8px;
  }

  .menu li ul li a:hover {
    background: #ffffff;
    color: #2c3e50;
  }

  .menu-overlay {
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    width: 100%;
    height: calc(100% - var(--mobile-header-height));
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .menu-overlay.show {
    opacity: 1;
    visibility: visible;
  }
}

/* ===== HERO SECTION ===== */
.hero-tl {
  position: relative;
  margin-top: 0;
  padding-top: 200px;
  padding-bottom: 80px;
  min-height: 80vh;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.45), rgba(17, 17, 17, 0.55)),
    url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-tl .gradien {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 87, 255, 0.35), transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 87, 255, 0.2), rgba(59, 130, 246, 0.2));
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 25px rgba(0, 87, 255, 0.2);
}

.hero-tl h1 {
  font-family: 'Laviossa', serif;
}

/* ===== BUTTONS ===== */
.btn-blue {
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-blue:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 87, 255, 0.4);
  color: var(--white);
}

.btn-red {
  background: linear-gradient(135deg, var(--red), #ef4444);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-red:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(204, 46, 46, 0.4);
  color: var(--white);
}

.btn-outline-blue {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
  border-radius: 25px;
  padding: 8px 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-blue:hover {
  background-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== REAL ESTATE SPECIFIC STYLES ===== */
.property-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 87, 255, 0.15);
}

.property-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}



.property-content {
  padding: 20px;
}





.stats-counter {
  background: white;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.counter-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue);
  display: block;
}

.service-icon-house {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 87, 255, 0.1), rgba(0, 87, 255, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--blue);
  font-size: 1.8rem;
}

.service-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 37, 78, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 87, 255, 0.15);
  border-color: rgba(0, 87, 255, 0.2);
}

.testimonial-house {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--blue);
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

/* ===== TYPOGRAPHY ===== */
.subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue);
  font-weight: 600;
}

.text-violet {
  color: var(--violet) !important;
}

.text-blue {
  color: var(--blue) !important;
}

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

/* ===== FOOTER ===== */
.footer {
  background: #1a1a2e !important;
  padding: 4rem 0 2rem;
}

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

.footer-brand img {
  background: #f2f2f2;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 6px 10px;
  display: block;
}

.footer-description {
  color: #adb5bd;
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #dc3545;
}

.social-links {
  display: flex;
}

.social-link {
  width: 25px;
  height: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #dc3545;
  color: #fff;
  transform: translateY(-2px);
}

.contact-info {
  color: #adb5bd;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.4;
}



.contact-item a{
  text-decoration: none;
  color: #dc3545;
}

.contact-item:last-child span {
  white-space: nowrap;
}

.contact-item i {
  margin-top: 2px;
}

.newsletter-text {
  color: #adb5bd;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 25px 0 0 25px;
}

.newsletter-form .form-control::placeholder {
  color: #adb5bd;
}

.newsletter-form .btn {
  border-radius: 0 25px 25px 0;
  border: none;
}

.copyright {
  color: #6c757d;
  font-size: 0.85rem;
}

.footer-legal a {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #dc3545;
}

/* ====== BOUTON RETOUR EN HAUT ====== */
.btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1050;
  box-shadow: 0 4px 15px rgba(204, 46, 46, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background-color: var(--violet);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 37, 78, 0.4);
}

@media (max-width: 768px) {
  .btn-back-to-top {
    display: none;
  }
}
