/* Reset and base styles */
@font-face {
    font-family: 'CustomFont'; /* Give it a name */
    src: url('/assets/fonts/TeranoRegular.otf') format('opentype'); /* or 'opentype' for .otf */
    font-weight: normal;
    font-style: normal;
  }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'CustomFont';
}


body {
    color: #171a20;
    background-color: #fff;
    overflow-x: hidden;
}


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

ul {
    list-style: none;
}

/* Header styles */
header {
    position: relative; /* or just remove the position altogether */
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 32px;
    z-index: 100;
  }
  

 
  

.logo {
    position: fixed;
}

.logo  svg {
    width: 120px;
    height: 24px;
}
.center-nav {
    position: relative;
    left: 250px;
}
.center-nav ul, .right-nav ul {
    display: flex;
    gap: 24px;
}

.center-nav a, .right-nav a {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
    color: white;
}

.center-nav a:hover, .right-nav a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}
.right-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #333;
    border-radius: 50%;
}
/* Vehicle section styles */
.vehicle-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-top: 15vh;
    padding-bottom: 80px;
    scroll-snap-align: start;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 30%; /* 👈 Zoomed out - smaller image */
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

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

.vehicle-content h1 {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 8px;
}

.vehicle-content p {
    font-size: 14px;
    margin-bottom: 24px;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.btn {
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background-color 0.3s;
}
.product-image {
  width: 315px;
  height: 300px;
  object-fit: cover; /* ensures the image fills the box */
  display: block;
}


.btn-primary {
    background-color: rgba(23, 26, 32, 0.8);
    color: #fff;
}

.btn-secondary {
    background-color: rgba(244, 244, 244, 0.65);
    color: #393c41;
}

.btn-primary:hover {
    background-color: rgba(23, 26, 32, 1);
}

.btn-secondary:hover {
    background-color: rgba(244, 244, 244, 0.8);
}

/* Mobile menu styles */
.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 200;
    display: none;
}

.menu-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 311px;
    height: 100%;
    background-color: #fff;
    padding: 60px 32px;
    overflow-y: auto;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
}

/* Footer styles */
footer {
    padding: 40px;
    background-color: #f4f4f4;
}


.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-links ul {
    display: grid;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.footer-links a {
    font-size: 14px;
    color: #5c5e62;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #171a20;
}

.footer-news {
    flex: 0 0 300px;
}

.footer-news h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #171a20;
}

.footer-news ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-news a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #5c5e62;
    transition: color 0.3s;
}

.footer-news a:hover {
    color: #171a20;
}

.news-title {
    font-size: 14px;
    margin-bottom: 4px;
}

.news-date {
    font-size: 12px;
    color: #8c8c8c;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #5c5e62;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Responsive footer styles */
@media (max-width: 768px) {
    footer {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .footer-links {
        flex: 1 1 100%;
        text-align: center;
    }
    
    .footer-links ul {
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .footer-links li {
        white-space: nowrap;
    }
    
    .footer-news {
        flex: 1 1 100%;
        text-align: center;
    }
    
    .footer-news ul {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 20px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .footer-news li {
        flex: 0 0 auto;
        margin-bottom: 0;
    }
    
    .footer-news a {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .news-date {
        margin-left: 10px;
    }
}

/* Responsive styles */
@media (max-width: 1200px) {
    .center-nav {
        display: none;
    }
}

@media (max-width: 600px) {
    header {
        padding-left: 0px !important;
    }
     .logo {
        padding-top:  0.6rem;
    }
    .model-infos {
        padding: 15px 0px;
        left: -30.7px !important;
    }
    
    .vehicle-content h1 {
        font-size: 36px;
    }
    
    .button-group {
        flex-direction: column;
        gap: 16px;
    }
    
    .btn {
        width: 90%;
        max-width: 320px;
    }
}
/* Account page styles */
.account-container {
    max-width: 1200px;
    margin: 80px auto 40px;
    padding: 0 20px;
}

.account-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.account-header h1 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 10px;
}

.account-content {
    display: flex;
    gap: 30px;
}

.account-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.account-menu {
    background-color: #f4f4f4;
    border-radius: 12px;
    overflow: hidden;
}

.account-menu li {
    border-bottom: 1px solid #e0e0e0;
}

.account-menu li:last-child {
    border-bottom: none;
}

.account-menu li a {
    display: block;
    padding: 15px 20px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.account-menu li a:hover {
    background-color: #e8e8e8;
}

.account-menu li.active a {
    background-color: #171a20;
    color: #fff;
}

.account-main {
    flex: 1;
}

.account-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.dashboard-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dashboard-card h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}

.dashboard-card p {
    color: #5c5e62;
    margin-bottom: 20px;
}

.account-details p {
    margin-bottom: 10px;
}

/* Login and Register form styles */
.login-container,
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 60px);
    padding: 40px 20px;
}

.login-form,
.register-form {
    width: 100%;
    max-width: 450px;
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.login-form h1,
.register-form h1 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-hint {
    font-size: 12px;
    color: #5c5e62;
    margin-top: 5px;
}

.error-messages {
    background-color: #fff0f0;
    border-left: 3px solid #ff3b30;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.error-messages p {
    color: #ff3b30;
    font-size: 14px;
    margin: 5px 0;
}

.btn-full {
    width: 100%;
}

.form-links {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.form-links a {
    color: #3e6ae1;
}

.form-links a:hover {
    text-decoration: underline;
}

/* Responsive styles for account pages */
@media (max-width: 768px) {
    .account-content {
        flex-direction: column;
    }
    
    .account-sidebar {
        width: 100%;
    }
    
    .account-dashboard {
        grid-template-columns: 1fr;
    }
}
/* Vehicle page styles */
.vehicle-page {
    padding-top: 60px;
}

.vehicle-hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 15vh;
    text-align: center;
}

.vehicle-hero-content h1 {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 8px;
}

.vehicle-hero-content p {
    font-size: 14px;
}

.vehicle-info {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.vehicle-specs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

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

.spec-item h3 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
}

.spec-item p {
    font-size: 12px;
    color: #5c5e62;
}

.vehicle-cta {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 40px 0;
}

.vehicle-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .vehicle-specs {
        gap: 20px;
    }
    
    .vehicle-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .vehicle-cta .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* .model-info {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 120px;
} */

/* .model-info img {
    width: 120px;
    height: 24px;
    margin: 0 auto;
    display: block;
} */

/* Responsive Design */
@media (max-width: 1400px) {
    /* .model-info {
        left: 50%;
        transform: translateX(-50%);
    } */
}

@media (max-width: 1600px) {
    /* .model-info {
        left: 50%;
        transform: translateX(-50%);
    } */
}

@media (max-width: 1800px) {
    /* .model-info {
        left: 50%;
        transform: translateX(-50%);
    } */
}

@media (max-width: 1200px) {
    /* .model-info {
        left: 50%;
        transform: translateX(-50%);
    } */
}

@media (max-width: 992px) {
    /* .model-info {
        left: 50%;
        transform: translateX(-50%);
    } */
}


@media (max-width: 768px) {
    /* .model-info {
        left: 50%;
        transform: translateX(-50%);
    } */
}