* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: -webkit-fill-available;
}


.carousel-container {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide.prev {
    opacity: 0;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.slide-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
    text-align: center;
    padding:3rem 2rem 6rem 2rem;
}

.slide-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: white;
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    animation: fadeInDown 0.8s ease-out;
}

@media (max-width: 768px) {
    .slide-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        padding: 0 1rem;
    }
}

.slide-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.2rem);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: none;
    color: white;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.75rem;
}

@media (max-width: 640px) {
    .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
        padding: 0.5rem;
    }
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
    width: 100%;
    height: 100%;
}

.carousel-btn--prev {
    left: 1rem;
}

.carousel-btn--next {
    right: 1rem;
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 3rem;
        height: 3rem;
    }

    .carousel-btn--prev {
        left: 0.5rem;
    }

    .carousel-btn--next {
        right: 0.5rem;
    }
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 5;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    width: 3rem;
    background-color: white;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.75);
}

.search-container {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    width: 90%;
    max-width: 600px;
}

.search-card {
    width: 100%;
    max-width: 80rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .search-card {
        padding: 2rem;
    }
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .search-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.select-property {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    color: #374151;
    background-color: #f3f4f6;
    transition: all 0.3s ease;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em;
}

.select-property:focus {
    outline: none;
    border-color: #f39200;
    box-shadow: 0 0 0 3px rgba(243, 146, 0, 0.1);
}

.select-property:hover {
    border-color: #d1d5db;
    background-color: #e5e7eb;
}

.button-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.button-group--three {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 640px) {
    .button-group--three {
        grid-template-columns: 1fr;
    }
}

.btn-option {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background-color: #f3f4f6;
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-option:hover {
    background-color: #e5e7eb;
}

.btn-option--active {
    background-color: #f39200;
    color: white;
    border-color: #f39200;
    box-shadow: 0 10px 25px rgba(243, 146, 0, 0.3);
    transform: scale(1.05);
}

.btn-option.emerald {
    background-color: #10b981;
    color: white;
    border-color: #10b981;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    transform: scale(1.05);
}

.btn-option svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .btn-option {
        padding: 0.875rem;
        font-size: 0.8rem;
    }

    .btn-option svg {
        display: none;
    }
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #9ca3af;
    pointer-events: none;
    flex-shrink: 0;
}

.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #f39200;
    box-shadow: 0 0 0 3px rgba(243, 146, 0, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f39200 0%, #e88a00 100%);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    box-shadow: 0 5px 5px rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
}

.btn-search:active {
    transform: translateY(0);
}

.btn-search svg {
    width: 1.5rem;
    height: 1.5rem;
}

@media (max-width: 640px) {
    .carousel-container {
        height: 540px;
    }

    .slide {
        height: 60vh;
        height: -webkit-fill-available;
    }

    .search-container {
        top: 65%;
        padding: 1rem;
        width: 95%;
    }

    .search-card {
        border-radius: 0.75rem;
        padding: 1rem;
    }

    .search-form {
        gap: 0.75rem;
    }

    .search-grid {
        gap: 0.75rem;
    }

    .form-group {
        gap: 0.5rem;
    }

    .button-group {
        gap: 0.5rem;
    }

    .form-input {
        font-size: 16px;
        padding: 0.75rem 1rem 0.75rem 2.5rem;
    }

    .input-icon {
        left: 0.75rem;
        width: 16px;
        height: 16px;
    }

    .btn-search {
        padding: 0.875rem;
        font-size: 1rem;
    }

    .form-label {
        font-size: 0.75rem;
    }

    .select-property {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .carousel-dots {
        bottom: 1rem;
    }

    .dot {
        width: 0.5rem;
        height: 0.5rem;
    }

    .dot.active {
        width: 2rem;
    }
}
