/* --- GLOBAL THEME BASICS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- 1. SLIDER SECTION --- */
.home-slider-container {
    width: 100%;
    margin-bottom: 4rem;
    overflow: hidden;
    position: relative;
}

.main-slider:not(.slick-initialized) .single-slide:not(:first-child) {
    display: none;
}

.main-slider .single-slide {
    outline: none;
}

.main-slider .responsive-slider-img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    display: block;
}

.main-slider .custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-slider .custom-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.main-slider .custom-arrow::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

.main-slider .slick-prev.custom-arrow {
    left: 20px;
}
.main-slider .slick-prev.custom-arrow::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.main-slider .slick-next.custom-arrow {
    right: 20px;
}
.main-slider .slick-next.custom-arrow::before {
    transform: rotate(45deg);
    margin-right: 4px;
}

/* --- 2. SLIDER DOTS --- */
.main-slider .slick-dots {
    bottom: 25px;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    position: absolute;
}

.main-slider .slick-dots li {
    margin: 0 8px;
    width: 12px;
    height: 12px;
    padding: 0;
}

.main-slider .slick-dots li button::before {
    content: none;
    display: none;
}

.main-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    font-size: 0;
    line-height: 0;
    display: block;
}

.main-slider .slick-dots li.slick-active button {
    background: #ffffff;
    transform: scale(1.2);
}

/* --- 3. SERVICES SECTION --- */
.services-section {
    padding: 80px 0;
    background-color: #fdfdfd;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.service-image {
    margin-bottom: 20px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #222;
}

.service-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* --- 4. ABOUT US SPLIT SECTION (NEW) --- */
.about-us-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.split-layout {
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: space-between;
    gap: 60px;
}

.split-image, .split-text {
    flex: 1;
    width: 100%;
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

.section-title.left-align {
    text-align: left;
    margin-bottom: 25px;
}

.section-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.about-btn-wrapper {
    margin-top: 20px;
}

/* --- 5. MODULAR BUTTON --- */
.center-btn {
    text-align: center;
}

.button {
    display: inline-block;
    padding: 15px 40px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease;
    border-radius: 2px;
}

.button:hover {
    background: #333333;
}

/* --- 6. BLOG / POSTS SECTION --- */
.blog-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.post-card {
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.post-content {
    padding: 25px;
}

.post-content h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.post-content h3 a {
    text-decoration: none;
    color: #222;
    transition: color 0.3s;
}

.post-content h3 a:hover {
    color: #666;
}

.post-excerpt {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- 7. GALLERY SECTION --- */
.gallery-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1; 
    background: #f4f4f4;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- 8. RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .main-slider .responsive-slider-img {
        height: 60vh;
    }
}

@media (max-width: 992px) {
    .split-layout {
        flex-direction: column; /* Stack image and text */
        gap: 40px;
    }
    
    .section-title.left-align {
        text-align: center;
    }
    
    .split-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-slider .responsive-slider-img {
        height: 50vh;
    }
    
    .main-slider .custom-arrow {
        display: none; 
    }
    
    .main-slider .slick-dots {
        bottom: 15px;
    }

    .services-section, .about-us-section, .blog-section, .gallery-section {
        padding: 40px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .main-slider .responsive-slider-img {
        height: 40vh;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
}