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

* {
    /*font-family: 'Inter', sans-serif;*/
    font-family: "Raleway", sans-serif;
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-bg-animation {
    animation: heroExpand 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Typewriter effect */
#typewriter {
    overflow: hidden;
    border-right: 3px solid white;
    white-space: nowrap;
    animation: typewriter 2s steps(20, end) 0.5s forwards,
               blink-caret 0.75s step-end infinite;
    width: 0;
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: white;
    }
}

/* Glassmorphism navigation */
.navbar-scrolled {
    background: rgba(75, 85, 99, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Property cards hover effects */
.property-card:hover .bg-white {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Counter animation */
.counter {
    transition: all 0.3s ease;
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #374151;
    box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}

/* Button hover effects */
button {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Parallax effect */
#hero {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    #hero {
        background-attachment: scroll;
    }
}

/* Mobile menu styles */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Equal height for contact section */
#contact-image,
#contact-form {
    min-height: 600px;
}

@media (max-width: 1024px) {
    #contact-image,
    #contact-form {
        min-height: auto;
    }
}

/* Responsive typography */
@media (max-width: 768px) {
    #typewriter {
        animation: none;
        width: auto;
        border-right: none;
        white-space: normal;
    }
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #374151 0%, #6B7280 100%);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 9999;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Cards alignment - Equal height cards */
.property-card {
    height: 100%;
}

.property-card > div {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card .p-6 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-card .p-6 p {
    flex-grow: 1;
}

.property-card .p-6 button {
    margin-top: auto;
}