/* Toyota Font Face Declarations */
@font-face {
    font-family: 'Toyota Type';
    src: url('asset/font/ToyotaType-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Toyota Type';
    src: url('asset/font/ToyotaType-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Toyota Type';
    src: url('asset/font/ToyotaType-Book.woff2') format('woff2');
    font-weight: 450;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Toyota Type';
    src: url('asset/font/ToyotaType-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Toyota Type';
    src: url('asset/font/ToyotaType-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Toyota Type';
    src: url('asset/font/ToyotaType-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Toyota Type', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #EB0A1E 0%, #C40818 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.header-info {
    flex: 1;
}

.sales-name {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Toyota Type', sans-serif;
}

.company-name {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
    opacity: 0.95;
}

.location {
    font-size: 1em;
    margin-bottom: 10px;
    opacity: 0.9;
}

.phone-link {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.phone-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Carousel Styles */
.carousel-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 120px);
    min-height: 500px;
    overflow: hidden;
    background: #000;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 32px;
    color: #EB0A1E;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow-left {
    left: 20px;
}

.carousel-arrow-right {
    right: 20px;
}

.carousel-arrow span {
    line-height: 1;
    display: block;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #EB0A1E;
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about-section {
    padding: 60px 0;
    background: white;
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #EB0A1E;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Toyota Type', sans-serif;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text {
    font-size: 1.1em;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.about-text strong {
    color: #EB0A1E;
    font-weight: 600;
}

.contact-box {
    background: linear-gradient(135deg, #EB0A1E 0%, #C40818 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(235, 10, 30, 0.3);
}

.contact-box h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-box p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-box a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.contact-box a:hover {
    opacity: 0.8;
}

/* Models Section */
.models-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.model-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.model-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.model-card:hover .model-image img {
    transform: scale(1.05);
}

.model-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.model-name {
    font-size: 1.5em;
    font-weight: 700;
    color: #EB0A1E;
    margin-bottom: 15px;
    font-family: 'Toyota Type', sans-serif;
}

.model-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.action-btn {
    display: block;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.brochure-btn {
    background: #EB0A1E;
    color: white;
}

.brochure-btn:hover {
    background: #C40818;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(235, 10, 30, 0.3);
}

.pricelist-btn {
    background: #2c3e50;
    color: white;
}

.pricelist-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(44, 62, 80, 0.3);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-info {
    flex: 1;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-info a {
    color: #EB0A1E;
    text-decoration: none;
    font-weight: 600;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

/* Fixed Navigation Bar */
.fixed-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

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

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.toyota-brandmark {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toyota-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.toyota-text {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    letter-spacing: 1px;
    font-family: 'Toyota Type', sans-serif;
}

.nav-slogan {
    font-size: 18px;
    color: #000;
    font-style: italic;
    font-weight: 400;
    margin-left: 10px;
    font-family: 'Toyota Type', cursive, sans-serif;
    letter-spacing: 0.5px;
}

.nav-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.nav-top-row,
.nav-bottom-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: #EB0A1E;
}

.whatsapp-link {
    color: #25D366;
    font-weight: 600;
}

.whatsapp-link:hover {
    color: #20BA5A;
}

.whatsapp-icon {
    font-size: 16px;
}

.external-icon {
    font-size: 12px;
    opacity: 0.7;
}

.nav-divider {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin: 5px 0;
}

.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 3px;
}

.dropdown-overlay {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 30px 40px;
    min-width: 900px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 0;
    z-index: 1001;
    border-top: 1px solid #e0e0e0;
}

.nav-dropdown:hover .dropdown-overlay,
.nav-dropdown.active .dropdown-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
}

.dropdown-category {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Toyota Type', sans-serif;
}

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

.dropdown-list li {
    margin-bottom: 10px;
}

.dropdown-list a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.dropdown-list a:hover {
    color: #EB0A1E;
}

.price-model-link {
    position: relative;
}

.nav-dropdown:hover .price-model-link,
.price-model-link.active {
    color: #EB0A1E;
}

.nav-dropdown:hover .price-model-link::after,
.price-model-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #EB0A1E;
}

.nav-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.nav-search-btn:hover {
    transform: scale(1.1);
}

.search-icon {
    font-size: 18px;
    color: #000;
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: 120px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-top-row,
    .nav-bottom-row {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .dropdown-overlay {
        min-width: 95vw;
        padding: 25px 20px;
    }
    
    .dropdown-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .fixed-navbar {
        padding: 10px 0;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    
    .nav-left {
        width: 100%;
        justify-content: center;
    }
    
    .nav-right {
        width: 100%;
        align-items: center;
    }
    
    .nav-top-row,
    .nav-bottom-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .toyota-text {
        font-size: 16px;
    }
    
    .nav-slogan {
        font-size: 14px;
    }
    
    body {
        padding-top: 180px;
    }
    
    .dropdown-overlay {
        left: 50%;
        min-width: 95vw;
        padding: 20px 15px;
    }
    
    .dropdown-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dropdown-column {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 15px;
    }
    
    .dropdown-column:last-child {
        border-bottom: none;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .sales-name {
        font-size: 2em;
    }

    .carousel-section {
        height: calc(100vh - 180px);
        min-height: 300px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .carousel-arrow-left {
        left: 10px;
    }

    .carousel-arrow-right {
        right: 10px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        font-size: 2em;
    }

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

@media (max-width: 480px) {
    .sales-name {
        font-size: 1.5em;
    }

    .carousel-section {
        height: calc(100vh - 180px);
        min-height: 250px;
    }

    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .carousel-arrow-left {
        left: 5px;
    }

    .carousel-arrow-right {
        right: 5px;
    }

    .section-title {
        font-size: 1.8em;
    }
}

