/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow: hidden;
    color: var(--text-light);
    position: relative;
}

/* Background styles */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0; 
    width: 100%;
    height: 100%;
    background-size: contain;
    background-color: #000;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.background-image.active {
    opacity: 1;
}


/* Header styles */
header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-switcher {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 5px;
    border-radius: 25px;
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition);
    font-size: 14px;
}

.lang-btn.active {
    background: var(--primary-color);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Main content styles */
main {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content-wrapper {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.logo-section {
    margin-bottom: 40px;
}

.logo {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slogan {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.4;
}

/* Contact section */
.contact-section {
    margin-bottom: 40px;
}

.phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 600;
    padding: 15px 30px;
    background: rgba(255, 107, 53, 0.2);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    transition: var(--transition);
}

.phone:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.phone svg {
    width: 24px;
    height: 24px;
}

/* Brands section */
.brands-section {
    margin-bottom: 40px;
}

.brands-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-light);
}


.brand-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Footer and map styles */
footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
}

.map-section {
    height: 100%;
    display: flex;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.map-container {
    flex: 2;
    position: relative;
}

.map-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.address {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.route-btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.route-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 1200px) {
    .logo {
        font-size: 3rem;
    }
    
    .slogan {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .slogan {
        font-size: 1.1rem;
    }
    
    .phone {
        font-size: 1.5rem;
        padding: 12px 25px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .brand-logo {
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }
    
    .map-section {
        flex-direction: column;
    }
    
    .map-container {
        flex: 1;
    }
    
    .map-info {
        flex: none;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }
    
    .slogan {
        font-size: 1rem;
    }
    
    .phone {
        font-size: 1.3rem;
        padding: 10px 20px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .brand-logo {
        width: 60px;
        height: 60px;
        font-size: 0.9rem;
    }
    
    .address {
        font-size: 1rem;
    }
    
    .route-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    .logo {
        font-size: 1.8rem;
    }
    
    .slogan {
        font-size: 0.9rem;
    }
    
    .phone {
        font-size: 1.1rem;
    }
    
    .brand-logo {
        width: 50px;
        height: 50px;
        font-size: 0.8rem;
    }
}

/* Animation for background transition */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 2s ease-in-out;
}

/* Scroll prevention */
body.no-scroll {
    overflow: hidden;
}
