html {
    font-size: 14px;
}

@media (min-width: 768px) {

    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #222;
}

/* Header */

.header {
    background-color: #ff6e14;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.nav-button {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

    .nav-button:hover {
        background-color: #fff;
        color: #ff6e14;
    }

/* Hero Section */

.hero-section {
    background: linear-gradient(135deg, #ff6e14 0%, #ff8c42 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Content Wrapper */

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cars Section */

.cars-section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.cars-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.car-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
    display: flex;
    height: 200px;
}

    .car-card:hover {
        box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    }

.car-image {
    width: 280px;
    min-width: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    overflow: hidden;
}


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

/* Profil card container */

.profile-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
    margin-top: 1.5rem;
}

    .profile-card:hover {
        box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    }

/* Profil bild sektion */

.Upic-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    overflow: hidden;
}

    .Upic-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Profil text sektion */

.profile-overlay {
    padding: 1.5rem;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.5rem;
}

.profile-info {
    color: #666;
    font-size: 1.1rem;
}

.car-overlay {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.car-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.3rem;
}

.car-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.owner-info {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.owner-label {
    font-weight: 600;
    color: #444;
}

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

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}


.more-button {
    background-color: #ff6e14;
    color: white;
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .more-button a {
        color: white !important;
        text-decoration: none !important;
    }

        .more-button a:hover {
            color: white !important;
        }

        .more-button a:visited {
            color: white !important;
        }

        .more-button a:active {
            color: white !important;
        }


/* Info Section */

.info-section {
    padding: 4rem 0;
    background-color: #fff;
    margin: 3rem 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.info-content {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.info-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #222;
}

.info-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Footer */

.footer {
    background-color: #2b2b2b;
    color: #fff;
    padding: 1.5rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-text {
    color: #999;
}

/* Responsive */

@media (max-width: 768px) {

    .car-card {
        flex-direction: column;
        height: auto;
    }

    .car-image {
        width: 100%;
        height: 200px;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-buttons {
        gap: 0.5rem;
    }

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