/* Custom styles for Adasse Immobilier */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #333333;
}

section {
    position: relative;
    z-index: 1;
}

.bg-white {
    background-color: #ffffff !important;
}

.bg-gray-50 {
    background-color: #F9FAFB !important;
}

/* Custom container width */
.container {
    max-width: 1280px;
}

/* Custom transitions */
.transition-all {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom hover effects */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

/* Custom shadows */
.shadow-custom {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out;
}

.animate-slideIn {
    animation: slideIn 0.3s ease-out;
}

.animate-bounce {
    animation: bounce 0.5s ease infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Mobile menu styles */
.mobile-menu {
    display: none;
    backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
    .mobile-menu.active {
        display: block;
    }
}

/* Custom form styles */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(247, 192, 0, 0.2);
}

/* Custom button styles */
.btn-primary {
    background-color: #000000;
    color: #ffffff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #f7c000;
    color: #000000;
}

/* Custom section spacing */
.section-spacing {
    padding: 5rem 0;
}

/* Custom text colors */
.text-gold {
    color: #f7c000;
}

/* Custom background colors */
.bg-gold {
    background-color: #f7c000;
}

/* Custom border styles */
.border-gold {
    border-color: #f7c000;
}

/* Custom image hover effects */
.img-hover {
    transition: transform 0.3s ease;
}

.img-hover:hover {
    transform: scale(1.05);
}

/* Custom card styles */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Custom icon styles */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(247, 192, 0, 0.1);
    margin: 0 auto;
}

/* Custom heading styles */
.heading-line {
    position: relative;
    padding-bottom: 1rem;
}

.heading-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #f7c000;
}

/* Slider styles */
.slider-container {
    position: relative;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider controls */
.slider-controls button {
    z-index: 2;
}

.slider-dots button.active {
    background-color: #f7c000;
}

/* Navigation animations */
#mainNav {
    transition: all 0.3s ease;
}

#mainNav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#mainNav.scrolled .nav-link {
    padding: 0.5rem 0;
}

/* Top bar animations */
#topBar {
    transition: all 0.3s ease;
}

#topBar.hidden {
    transform: translateY(-100%);
}

/* Mobile menu animations */
.mobile-menu {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

#mobileMenuContent {
    transition: all 0.3s ease;
}

#mobileMenuContent.active {
    transform: translateX(0);
}

/* Navigation link animations */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f7c000;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Social icons animations */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Contact info animations */
.contact-info {
    transition: all 0.3s ease;
}

.contact-info:hover i {
    animation: bounce 0.5s ease infinite;
}

/* Mobile menu link animations */
.mobile-menu a {
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #f7c000;
    transition: width 0.3s ease;
}

.mobile-menu a:hover::after {
    width: 100%;
}

/* Logo animations */
.logo-text {
    transition: all 0.3s ease;
}

.logo-text:hover {
    letter-spacing: 0.05em;
}

/* Button hover effects */
.btn-hover {
    position: relative;
    overflow: hidden;
}

.btn-hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-hover:hover::after {
    width: 300%;
    height: 300%;
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #f7c000;
    z-index: 1000;
    transition: width 0.1s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #f7c000;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e0b000;
} 