/* Custom Lexus Styles */

/* Nobel Font Families */
@font-face {
    font-family: 'Nobel-ExtraLight';
    src: url('fonts/Nobel-ExtraLight.eot');
    src: url('fonts/Nobel-ExtraLight.eot?#iefix') format('embedded-opentype'),
         url('fonts/Nobel-ExtraLight.woff') format('woff'),
         url('fonts/Nobel-ExtraLight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nobel-Light';
    src: url('fonts/Nobel-Light.eot');
    src: url('fonts/Nobel-Light.eot?#iefix') format('embedded-opentype'),
         url('fonts/Nobel-Light.woff') format('woff'),
         url('fonts/Nobel-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nobel-Light';
    src: url('fonts/Nobel-LightItalic.eot');
    src: url('fonts/Nobel-LightItalic.eot?#iefix') format('embedded-opentype'),
         url('fonts/Nobel-LightItalic.woff') format('woff'),
         url('fonts/Nobel-LightItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Nobel-Book';
    src: url('fonts/Nobel-Book.eot');
    src: url('fonts/Nobel-Book.eot?#iefix') format('embedded-opentype'),
         url('fonts/Nobel-Book.woff') format('woff'),
         url('fonts/Nobel-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nobel-Book';
    src: url('fonts/Nobel-BookItalic.eot');
    src: url('fonts/Nobel-BookItalic.eot?#iefix') format('embedded-opentype'),
         url('fonts/Nobel-BookItalic.woff') format('woff'),
         url('fonts/Nobel-BookItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Nobel-Regular';
    src: url('fonts/Nobel-Regular.eot');
    src: url('fonts/Nobel-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/Nobel-Regular.woff') format('woff'),
         url('fonts/Nobel-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nobel-Regular';
    src: url('fonts/Nobel-RegularItalic.eot');
    src: url('fonts/Nobel-RegularItalic.eot?#iefix') format('embedded-opentype'),
         url('fonts/Nobel-RegularItalic.woff') format('woff'),
         url('fonts/Nobel-RegularItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Nobel-Bold';
    src: url('fonts/Nobel-Bold.eot');
    src: url('fonts/Nobel-Bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/Nobel-Bold.woff') format('woff'),
         url('fonts/Nobel-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Typography & Base */
body {
    font-family: 'Nobel-Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75rem;
    color: rgb(16 16 16);
    font-kerning: none;
    letter-spacing: 1px;
}

/* Header Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .navbar {
    padding: 15px 40px;
}

.header-container {
    max-width: 1400px;
}

.logo img,
.navbar-brand img {
    width: 141px;
    height: 24px;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
}

.nav-link {
    text-decoration: none;
    font-family: 'Nobel-Regular', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75rem;
    color: rgb(16 16 16) !important;
    font-kerning: none;
    letter-spacing: 1px;
    padding: 10px 0;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #666 !important;
}

.header-actions a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.header-actions a:hover {
    color: #666;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    header .navbar {
        padding: 15px 20px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

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

    .navbar-nav .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

/* Main Content */
main {
    min-height: 60vh;
    background: #f5f5f5;
}

.page-title {
    font-family: 'Nobel-Light', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 1rem;
}

.form-header {
    margin-bottom: 2rem;
}

.form-description {
    font-family: 'Nobel-Regular', sans-serif;
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.form-contact {
    font-family: 'Nobel-Regular', sans-serif;
    font-size: 1rem;
    color: #555;
}

.form-contact a {
    color: #333;
    text-decoration: none;
    font-family: 'Nobel-Bold', sans-serif;
}

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

/* Footer */
footer {
    background: #e8eef2;
    padding: 60px 40px 40px;
}

.footer-container {
    max-width: 1400px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: #333;
}

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

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

.footer-column ul li a {
    text-decoration: none;
    color: #555;
    font-family: 'Nobel-Regular', sans-serif;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #333;
}

/* Footer Accordion (Mobile) */
#footerAccordion {
    margin-bottom: 0;
}

#footerAccordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid #d0d0d0;
    border-radius: 0 !important;
}

#footerAccordion .accordion-item:first-child {
    border-top: 1px solid #d0d0d0;
}

#footerAccordion .accordion-button {
    background: transparent;
    font-family: 'Nobel-Regular', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #333;
    padding: 20px 0;
    box-shadow: none;
    border-radius: 0 !important;
    overflow: visible;
}

#footerAccordion .accordion-button:focus {
    box-shadow: none;
}

#footerAccordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

#footerAccordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#footerAccordion .accordion-collapse {
    border-radius: 0 !important;
}

#footerAccordion .accordion-body {
    padding: 0 0 20px 0;
}

#footerAccordion .accordion-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footerAccordion .accordion-body ul li {
    margin-bottom: 12px;
}

#footerAccordion .accordion-body ul li a {
    text-decoration: none;
    color: #555;
    font-family: 'Nobel-Regular', sans-serif;
    font-size: 14px;
    transition: color 0.3s;
}

#footerAccordion .accordion-body ul li a:hover {
    color: #333;
}

.footer-bottom {
    padding-top: 30px;
}

.footer-legal a {
    text-decoration: none;
    color: #333;
    font-family: 'Nobel-Regular', sans-serif;
    font-size: 16px;
    display: block;
    margin-bottom: 15px;
}

.footer-legal a:hover {
    color: #000;
}

.footer-info {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
}

.footer-bar {
    background: #1a1a1a;
    padding: 20px 40px;
}

.footer-bar-container {
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-logos {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-logos img {
    height: 24px;
    width: auto;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a i {
    font-size: 20px;
    height: 20px;
    width: auto;
    line-height: 1;
}

.social-links a:hover {
    opacity: 0.7;
}

/* Quick Links Sidebar */
.quick-links-button {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #2a2a2a;
    color: #fff;
    padding: 20px 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border: none;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 2px;
    z-index: 999;
    text-decoration: none;
    transition: background 0.3s;
}

.quick-links-button:hover {
    background: #444;
    color: #fff;
}

/* Desktop footer layout */
@media (min-width: 768px) {
    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
        border-top: 1px solid #d0d0d0;
    }

    .footer-legal a {
        display: inline;
        margin-right: 20px;
        margin-bottom: 0;
        font-size: 13px;
    }

    .footer-info {
        margin-top: 0;
        font-size: 13px;
    }
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .page-title {
        font-size: 1.8rem;
    }

    footer {
        padding: 40px 20px 20px;
    }

    .footer-bar {
        padding: 30px 20px;
    }

    .footer-bar-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-bar .social-links {
        order: -1;
        margin-bottom: 15px;
        gap: 1.5rem !important;
    }

    .footer-bar .social-links a i {
        font-size: 24px;
    }

    .footer-logos {
        padding-top: 15px;
        border-top: 1px solid #444;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }

    .nav-link {
        font-size: 13px;
    }
}
