/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a73e8;
    --secondary-color: #34a853;
    --accent-color: #f25022;
    --dark-color: #212121;
    --light-color: #f8f9fa;
    --gray-color: #757575;
    --light-gray: #f1f1f1;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-color: #000;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 10px rgba(26, 115, 232, 0.7);
}

h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Animated Background */
.moving-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

.moving-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://storage.googleapis.com/vinfast-data-01/styles/news_360x200/public/2022_12/VinFast%20VF%209%20-%201_0.jpg?itok=uFAu8DZr') no-repeat center/cover;
    opacity: 0.2;
    z-index: -1;
}

.moving-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, transparent 20%, #000 80%);
    z-index: -1;
}

/* Main Content */
.content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

/* Hotline */
.hotline {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(26, 115, 232, 0.3);
    border: 1px solid rgba(26, 115, 232, 0.5);
}

.hotline i {
    color: var(--primary-color);
    margin-right: 10px;
    animation: pulse 2s infinite;
}

.hotline a {
    color: #fff;
    text-decoration: none;
}

.hotline a:hover {
    color: var(--primary-color);
}

/* Dealers */
.dealers-wrapper {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dealers-region {
    margin-bottom: 30px;
}

.dealers-region h2 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.dealers-region h2 i {
    margin-right: 10px;
}

.dealer-list li {
    padding: 15px;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid var(--primary-color);
}

.dealer-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.2);
}

.dealer-list li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

/* Animations */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Floating Phone Button */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 999;
    animation-delay: 1s;
    animation: float 3s ease-in-out infinite;
}

.floating-btn a {
    color: white;
    font-size: 24px;
}

.floating-btn:hover {
    transform: scale(1.1);
    background-color: var(--accent-color);
}

/* Features Section */
#features {
    padding: 100px 0;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://vinfastotoviet.com/wp-content/uploads/2023/10/VF-9-White-1024x683.jpg') no-repeat fixed center/cover;
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255,255,255,0.2);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Contact Section */
#contact {
    padding: 100px 0;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://storage.googleapis.com/vinfast-data-01/styles/news_360x200/public/2022_08/image-1200x628_0.jpeg?itok=5JIAeMIO') no-repeat fixed center/cover;
    color: #fff;
}

.contact-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: none;
    background-color: rgba(255,255,255,0.9);
    color: var(--dark-color);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 2rem;
    margin-right: 20px;
    color: var(--primary-color);
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-item a {
    color: #fff;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 1.2rem;
    font-weight: 500;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #fff;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Animation Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-flex {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .car-models {
        grid-template-columns: 1fr;
    }
    
    .hotline {
        font-size: 1.5rem;
    }
    
    .dealers-region h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hotline {
        font-size: 1.2rem;
    }
    
    .dealers-region h2 {
        font-size: 1.3rem;
    }
    
    .dealer-list li {
        padding: 10px;
    }
} 