/* Carousel Base Styles */
.carousel {
    position: relative;
    margin-top: 0;
    padding-top: 100px;
}

.parallax-image {
    height: 700px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.carousel-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
}

/* Left Side Text Content */
.carousel-text-content {
    color: white;
    padding: 40px;
}

.carousel-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-custom {
    background-color: #000000;
    color: #FFFFFF;
    padding: 12px 40px;
    border-radius: 0;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #F7E332;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.4);
}

/* Right Side Form Card */
.estimate-form-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 0 20px;
    max-width: 500px;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.form-control,
.form-select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #F7E332;
    box-shadow: 0 0 0 0.2rem rgba(247, 227, 50, 0.25);
}

.input-group-text {
    background: #f8f9fa;
    border: 1px solid #ddd;
    font-weight: 600;
    padding: 10px 12px;
    font-size: 0.9rem;
}

textarea.form-control {
    resize: none;
}

.btn-submit {
    background: #F7E332;
    color: #000;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #e6d32f;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(247, 227, 50, 0.4);
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 20px;
    z-index: 10;
}

.carousel-indicators button {
    background-color: #F7E332 !important;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.carousel-indicators .active {
    background-color: #F7E332 !important;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    z-index: 10;
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem !important;
    height: 2rem !important;
}

/* Responsive Design */
@media (max-width: 991px) {
    .carousel-text-content {
        text-align: center;
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .carousel-title {
        font-size: 2rem;
    }
    
    .estimate-form-card {
        margin-top: 20px;
    }
    
    .parallax-image {
        height: auto;
        min-height: 900px;
    }
}

@media (max-width: 767px) {
    .carousel {
        margin-top: -100px;
    }

    .parallax-image {
        height: auto;
        min-height: 100vh;
        background-attachment: scroll !important;
        background-position: center center !important;
    }

    .carousel-content-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        display: flex;
        align-items: center;
    }
    
    .carousel-text-content {
        padding: 25px 20px;
        margin-top: 50px;
        margin-bottom: 25px;
    }

    .carousel-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .carousel-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .btn-custom {
        padding: 12px 35px;
        font-size: 0.9rem;
    }

    .estimate-form-card {
        margin: 0 20px;
        padding: 30px;
    }

    .form-label {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .form-control,
    .form-select {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .input-group-text {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    textarea.form-control {
        rows: 2;
        font-size: 0.85rem;
    }

    .btn-submit {
        padding: 12px;
        font-size: 0.85rem;
    }

    .row.mb-2 .form-label {
        margin-top: 10px;
    }

    .mb-3 .form-label {
        margin-top: 10px;
    }

    .row.mb-2 {
        margin-bottom: 0.8rem !important;
    }

    .mb-2 {
        margin-bottom: 0.8rem !important;
    }

    .mb-3 {
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 575px) {
    .carousel-title {
        margin-top: 50px;
        font-size: 1.4rem;
    }
    
    .carousel-description {
        font-size: 0.85rem;
    }
    
    .estimate-form-card {
        margin: 0 10px;
        padding: 15px;
    }
    
    .form-label {
        font-size: 0.65rem;
    }
    
    .form-control,
    .form-select,
    .input-group-text {
        padding: 7px 8px;
        font-size: 0.8rem;
    }
    
    .btn-submit {
        padding: 9px;
        font-size: 0.8rem;
    }
}