/* General */
body {
    font-family: 'Inter', sans-serif;
    color: #191919;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

.transparent-navbar {
  background-color: transparent !important;
  box-shadow: none !important;
  position: absolute;
  width: 100%;
  z-index: 999;
}

.transparent-navbar .nav-link {
  color: #fff !important;
  font-weight: 600;
}

.transparent-navbar .nav-link.active,
.transparent-navbar .nav-link:hover {
  color: #ff0119!important;
}

.transparent-navbar .btn {
  background: #ff0119;
  color: white;
  border: none;
}



/* Hero Section */
.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

}

.hero-content {
    z-index: 2;
    position: relative;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
    max-width: 800px;
    margin-top: -80px;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
    color: #FFFFFF;
    opacity: 0.8;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.2;
    color: #FFFFFF;
}

.hero-title .highlight {
    color: #ff0119;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(36, 36, 36, 0.5); /* Ajuste l'opacité si besoin */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* S'assure que le contenu passe au-dessus du filtre */
}

.btn-cta {
    background-color: #ff0119;
    color: #FFFFFF;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.btn-cta:hover {
    background-color: #ff0000;
    color: #FFFFFF;
}

/* Properties Section */
.properties .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.properties .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.properties .card img {
    height: 250px;
    object-fit: cover;
}


footer {
    background: #f8f9fa;
    color: #191919;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

.footer-section {
    background: #191919 url('assets/images/footer-bg-img.svg') center/cover no-repeat;
    color: #FFFFFF;
    padding: 60px 0;
    position: relative;
}

.footer-email {
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: underline;
    font-size: 1.5rem;
}

.footer-email:hover {
    color: #ff0119;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
    color: #191919;
    background: #FFFFFF;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 1.2rem;
    transition: background 0.3s, color 0.3s;
}

.social-icons a:hover {
    background: #ff0119;
    color: #FFFFFF;
}

.footer-links a {
    margin: 0 15px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff0119;
}

@media (max-width: 768px) {
    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}


@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Sidebar Social Links */
.social-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.social-sidebar a {
    display: block;
    margin: 10px 0;
    color: #191919;
    transition: color 0.3s;
    text-decoration: none;
    font-size: 1.2rem;
}

.social-sidebar a:hover {
    color: #ff0119;
}

.scroll-to-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    background-color: #ff0119;
    color: #FFFFFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: background 0.3s, transform 0.3s;
}

.scroll-to-top:hover {
    background-color: #ff0000;
    transform: translateY(-5px);
}

/* Pulse Animation */
.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 105, 34, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 105, 34, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 105, 34, 0);
    }
}


.about-images {
    position: relative;
}

.about-images .main-img {
    width: 300px;
    border-radius: 15px;
}

.about-images .small-img1 {
    position: absolute;
    top: -30px;
    left: 220px;
    width: 150px;
    border-radius: 15px;
}

.about-images .small-img2 {
    position: absolute;
    bottom: -30px;
    left: 180px;
    width: 150px;
    border-radius: 15px;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #191919;
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: background 0.3s;
}

.video-play-btn:hover {
    background: #ff0119;
}

.text-orange {
    color: #ff0119;
}

.highlight {
    color: #ff0119;
}

.btn-cta {
    background-color: #ff0119;
    color: #FFFFFF;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.btn-cta:hover {
    background-color: #e55b1e;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .about-images .main-img {
        width: 100%;
    }

    .about-images .small-img1,
    .about-images .small-img2 {
        display: none; /* Cacher les petites images pour ne pas encombrer l'écran */
    }

    .hero-title {
        font-size: 2rem;
    }

    .video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }

    .btn-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .about-us-section .text-center {
        text-align: center !important;
    }
}


.properties-section {
    background-color: #f9f9f9;
    position: relative;
    color: #191919;
    padding: 80px 0;
}

.property-card {
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.property-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.property-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.btn-cta {
    background-color: #ff0119;
    color: #FFFFFF;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.btn-cta:hover {
    background-color: #e55b1e;
    color: #FFFFFF;
}

.transition-section {
    min-height: 400px;
    background-attachment: fixed;
    position: relative;
    color: #FFFFFF;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.transition-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Filtre sombre */
    z-index: 1;
}

.transition-section > div {
    position: relative;
    z-index: 2;
}

.transition-section .btn-cta {
    background-color: #ff0119;
    color: #FFFFFF;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.transition-section .btn-cta:hover {
    background-color: #e55b1e;
}

.transition-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.transition-section.animate-reveal {
    opacity: 1;
    transform: translateY(0);
}

.transition-section h2 {
    animation: textFadeIn 1s ease forwards;
    opacity: 0;
}

.transition-section.animate-reveal h2 {
    animation-delay: 0.3s;
    opacity: 1;
}

.transition-section p {
    animation: textFadeIn 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.transition-section.animate-reveal p {
    opacity: 1;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html {
    scroll-behavior: smooth;
}

.property-price {
    position: absolute;
    bottom: 50px;
    left: 20px;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.filter-section {
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.filter-section input,
.filter-section select {
    border-radius: 30px;
    padding: 10px 20px;
}

.filter-section .btn-primary {
    background-color: #ff0119;
    border: none;
    border-radius: 30px;
}

.filter-section .btn-primary:hover {
    background-color: #e55b1e;
}

.filter-section .btn-outline-secondary {
    border-radius: 30px;
}


.contact-box i {
    color: #ff0119;
}

.contact-info-section .contact-box {
    transition: transform 0.3s ease;
}

.contact-info-section .contact-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

textarea.form-control, input.form-control {
    border-radius: 30px;
    padding: 12px 20px;
}

.highlight {
    color: #ff0119;
}

.btn-cta {
    background-color: #ff0119;
    color: #FFFFFF;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.btn-cta:hover {
    background-color: #e55b1e;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0; 
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #fff 100%);
    z-index: 2;
}

.navbar.scrolled .logo img {
    filter: brightness(0); /* Rend le logo noir */
}
