body {
    font-family: 'Inter', sans-serif;
    color: #1f1f1f;
    background-color: #ffffff;
    line-height: 1.5;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}


.container {
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 15px;
}

/* header */
.navbar {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    top: 0;
    width: 100%;
    z-index: 100;
    color: #1f1f1f;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #efefefab;
    margin-bottom: 50px;
    position: sticky;
    opacity: 0.8;
    height: 60px;
}


.navbar.dark-text {
    color: #1f1f1f;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.navbar-brand img {
    width: 100px;
    height: 45px;
    object-fit: cover;
}


.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}



.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid currentColor;
    color: inherit;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background-color: #1a1d20;
    color: #ffffff;
}

.navbar.dark-text .btn-outline {
    border-color: #e5e7eb;
}

.navbar.dark-text .btn-outline:hover {
    background: #f8f9fa;
}



.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.search-bar {
    background: white;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
    width: 1000px;
}

.search-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0 15px;
    border-right: 1px solid #e5e7eb;
}

.search-group:last-child {
    border-right: none;
}

.search-group label {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 5px;
}

.search-group input {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1f1f1f;
    outline: none;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: #f2f2f2;
    padding: 15px 25px;
    border-radius: 15px;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

input[type="text"],
.select-wrapper select {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    background-color: #ffffff;
    color: #333;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.select-wrapper {
    flex: 1;
    position: relative;
}

.btn-search {
    background: #1a1d20;
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
}

.section-header {
    text-align: center;
    margin: 80px 0 40px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #6b7280;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 80px;

}

.car-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.car-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-info {
    padding: 20px;
}

.car-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.car-type {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.car-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #6b7280;
}

.car-spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.car-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.car-price {
    font-size: 1.25rem;
    font-weight: 700;
}

.car-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: #6b7280;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin: 100px 0;
}

.about-img {
    width: 100%;
    border-radius: 12px;
}

.about-list {
    margin-top: 30px;
}

.about-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: 500;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #1f1f1f;
}

.cta-section {
    background: #181818;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-desc {
    color: #999;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width:700px) {

    .footer-grid {
        display: flex;
        flex-direction: column;
        margin-bottom: 50px;

    }


}

/* Footer */
.footer {
    background: #EFEFEF;
    padding: 60px 0 30px;
    border-top: 1px solid #e5e7eb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-text {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #6b7280;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #6b7280;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 0.85rem;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

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

.select-wrapper select {
    width: 100%;
    padding: 12px 40px 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    background-color: #ffffff;
    color: #757575;
    cursor: pointer;
}

.select-wrapper::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.select-wrapper select:hover {
    background-color: #fcfcfc;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .car-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-bar {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .search-bar {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        border-radius: 10px;
    }

    .search-group {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 5px 0;
    }

    .select-wrapper {
        width: 100%;
        padding: 5px 0;
    }

    .btn-search {
        width: 100%;
        margin-top: 10px;
    }

    .hero-propriete {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .hero-propriete div {
        margin: 10px 0;
    }

    .car-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        margin: 60px 0;
    }

    .about-item {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}