﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    scroll-behavior: smooth;
}

/* --- Attractive Top Menu with Dropdown --- */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 2rem;
    transition: all 0.2s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo h2 {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e65c00, #f9a826);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.logo span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    display: block;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

    .nav-links li {
        position: relative;
    }

    .nav-links a {
        text-decoration: none;
        font-weight: 600;
        color: #1e293b;
        font-size: 1rem;
        transition: 0.25s;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .nav-links a i {
            font-size: 0.85rem;
            transition: transform 0.2s;
        }

    .nav-links li:hover > a {
        color: #e65c00;
    }

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 200%;
    left: -1rem;
    background: white;
    min-width: 220px;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
    border-radius: 20px;
    padding: 0.8rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 100;
    list-style: none;
    border: 1px solid #eef2f6;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: 150%;
}

.dropdown-menu li {
    padding: 0.5rem 1.5rem;
}

    .dropdown-menu li a {
        font-weight: 500;
        font-size: 0.9rem;
        color: #334155;
    }

        .dropdown-menu li a i {
            width: 24px;
            color: #f9a826;
        }

    .dropdown-menu li:hover a {
        color: #e65c00;
        transform: translateX(5px);
    }

.btn-outline-light {
    background: #e65c00;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.2s;
}

    .btn-outline-light:hover {
        background: #b64500;
        color: white;
    }

/* Hero slider section */
.hero-slider-section {
    margin: 2rem 2rem 0 2rem;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.swiper-hero {
    width: 100%;
    height: 500px;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

    .hero-slide::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(98deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 80%);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 550px;
}

    .hero-content h1 {
        font-size: 3.2rem;
        font-weight: 800;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        opacity: 0.9;
    }

.hero-btn {
    background: #f9a826;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}

    .hero-btn:hover {
        background: #e65c00;
        color: white;
    }

/* category slider (materials, workers, builders) */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 3rem 2rem 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .section-title i {
        color: #e65c00;
        font-size: 2rem;
    }

.slider-wrapper {
    margin: 0 2rem 2rem 2rem;
    position: relative;
}

.swiper-card {
    width: 100%;
    padding: 0.5rem 0 1.5rem;
}

.service-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 28px -8px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.3s;
    cursor: pointer;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
    }

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f9a826;
    padding: 5px 12px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
}

.card-info {
    padding: 1.4rem;
}

    .card-info h3 {
        font-size: 1.35rem;
        font-weight: 700;
        margin-bottom: 0.4rem;
    }

    .card-info p {
        color: #475569;
        margin: 0.5rem 0;
        font-size: 0.9rem;
    }

.price {
    font-weight: 800;
    color: #e65c00;
    font-size: 1.0rem;
    margin-top: 0.5rem;
}

.book-btn {
    background: #f1f5f9;
    border: none;
    padding: 8px 16px;
    border-radius: 40px;
    font-weight: 600;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
    color: #0f172a;
}

    .book-btn:hover {
        background: #e65c00;
        color: white;
    }

/* swiper navigation buttons */
.swiper-button-next, .swiper-button-prev {
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #e65c00;
}

    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 1.2rem;
        font-weight: bold;
    }

/* CTA Banner */
.cta-banner {
    background: linear-gradient(115deg, #0f172a 0%, #1e293b 100%);
    margin: 3rem 2rem;
    border-radius: 32px;
    padding: 3rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-text h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.cta-text p {
    color: #cbd5e1;
}

.cta-btn {
    background: #f9a826;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    color: #0f172a;
}

footer {
    background: #0f172a;
    color: #cbd5e6;
    padding: 2rem;
    text-align: center;
    border-radius: 32px 32px 0 0;
    margin-top: 3rem;
}

@media (max-width: 900px) {
    .nav-container {
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-slide {
        padding: 0 5%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-left: 1rem;
    }

    .slider-wrapper {
        margin: 0 1rem;
    }
}

/* toast notification */
.toast-msg {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 12px 24px;
    border-radius: 60px;
    font-weight: 500;
    z-index: 2000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
