/* Custom Layout Fixes for Better Spacing */

/* Fix slider image height */
.rslides li img {
    min-height: 500px;
    max-height: 700px;
    object-fit: cover;
}

/* Better area section spacing */
.area {
    background: #f9f9f9;
}

.area h1 {
    margin-bottom: 50px;
}

.area-image {
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 20px;
}

.area-image img {
    transition: transform 0.3s;
}

.area-image:hover img {
    transform: scale(1.05);
}

/* Offer section improvements */
.offer {
    background: #fff;
}

.offer-grid {
    margin-top: 30px;
}

.offer1 {
    padding: 20px;
    margin-bottom: 30px;
}

/* Cover section grid improvements */
.cover {
    background: #f9f9f9;
}

.cover-grid .col-md-4 {
    padding: 10px;
}

.cover-grid img {
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cover-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Details section */
.details {
    background: #fff;
}

.details-grid {
    padding: 20px;
}

/* Contact section */
.contact {
    background: #f9f9f9;
}

.contact_form {
    margin-top: 30px;
}

/* Footer improvements */
.footer {
    background: #2c3e50;
    color: #fff;
    padding-top: 50px;
}

.footer-info-grid {
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .navbar-nav>li {
        width: auto;
        float: left;
    }
}

@media (max-width: 768px) {
    .rslides li img {
        min-height: 300px;
    }
    
    .rslides .caption h3 {
        font-size: 35px;
        margin-top: 50px;
    }
    
    .area1 .col-md-4,
    .offer-grid .col-md-6,
    .cover-grid .col-md-4,
    .details .col-md-4 {
        margin-bottom: 20px;
    }
}

/* Adjust navbar width for 6 menu items */
.navbar-nav>li {
    width: 16.66% !important;
}

@media (max-width: 992px) {
    .navbar-nav>li {
        width: auto !important;
    }
}
