/* Custom Tailwind Config */
:root {
    --primary: #16262C;
    --primary-light: #1e3238;
    --accent: #4A90E2;
}

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Urbanist', sans-serif;
}
/* Video Background */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(22, 38, 44, 0.9), rgba(22, 38, 44, 0.5));
    z-index: -1;
}

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(22, 38, 44, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-item {
    position: relative;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.nav-item:hover,
.nav-item.active {
    color: white;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: white;
    border-radius: 2px;
}

.dropdown-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    /* left: 0; */
    min-width: 220px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--primary);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(74, 144, 226, 0.1);
    color: var(--accent);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--primary);
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

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

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-dropdown {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.mobile-dropdown.open {
    max-height: 500px;
}

.mobile-dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem 0.75rem 3rem;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.mobile-dropdown-item:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-white {
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
}

/* Form Styles */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    transition: all 0.2s ease;
}

.form-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

/* Scroll Down Animation */
.scroll-down {
    position: absolute;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 14px;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

.property-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.property-image {
    transition: transform 0.3s ease;
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

.details-button {
    transition: all 0.3s ease;
}

.details-button:hover {
    background-color: #1a1a1a;
    padding-right: 2rem;
}

.details-button:hover svg {
    transform: translateX(4px);
}

.browse-button:hover svg {
    transform: translateX(4px);
}

.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.read-more {
    transition: all 0.3s ease;
}

.read-more:hover {
    padding-right: 1.75rem;
    background-color: #374151;
    color: white;
}

.read-more:hover svg {
    transform: translateX(4px);
}

.browse-button:hover svg {
    transform: translateX(4px);
}

.footer-link {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #E5C876;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-link:hover {
    color: #E5C876;
}

.subscribe-button {
    transition: all 0.3s ease;
}

.subscribe-button:hover {
    background-color: #d4b85f;
}

.scroll-top {
    transition: all 0.3s ease;
}

.scroll-top:hover {
    background-color: #E5C876;
    color: #2D3A35;
}

.bg-about {
    position: relative;
    overflow: hidden;
}

.bg-about::before {
    content: 'ABOUT';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 180px;
    font-weight: bold;
    opacity: 0.03;
    white-space: nowrap;
    z-index: 0;
}

.circular-text {
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.learn-more {
    transition: all 0.3s ease;
}

.learn-more:hover {
    background-color: #d4b85f;
}

.property-image {
    transition: transform 0.6s ease;
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

.hero-section-app {
    position: relative;
    background: linear-gradient(rgba(22, 38, 44, 0.8), rgba(22, 38, 44, 0.8)), url('../assets/images/5.webp');

    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    min-height: 50vh;
}

.bg-application {
    position: relative;
    overflow: hidden;
}

.bg-application::before {
    content: 'APPLICATION';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 180px;
    font-weight: bold;
    opacity: 0.03;
    white-space: nowrap;
    z-index: 0;
}

.download-btn {
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    background-color: #d4b85f;
}

.download-btn:hover svg {
    transform: translateX(4px);
}

.iphone-mockup {
    position: relative;
    width: 375px;
    /* max-width: 100%; */
}

.iphone-frame {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
    /* height: 540px; */
    border-radius: 3rem 3rem 0 0;
}

@media (max-width: 768px) {
    .iphone-mockup {
        width: 280px;
    }
}
.filter-option {
    transition: all 0.2s ease;
}

.filter-option:hover {
    background-color: #f3f4f6;
}

.property-card {
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.search-input:focus {
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.2);
}

.filters-sidebar {
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .filters-sidebar.active {
          transform: translateX(0);
    }

    .filters-sidebar {
          transform: translateX(-100%);
          position: fixed;
          top: 0;
          left: 0;
          height: 100vh;
          width: 300px;
          z-index: 50;
          overflow-y: auto;
    }

    .overlay {
          transition: opacity 0.3s ease-in-out;
    }
}