* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --red: #c41e3a;
    --white: #ffffff;
    --gray: #f8f8f8;
    --dark-gray: #2a2a2a;
    --light-gray: #e5e5e5;
    --border-color: #ddd;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

.loading-logo h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 8px;
    margin-bottom: 10px;
    animation: logoFade 1.5s ease-in-out infinite;
}

.loading-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--red);
    letter-spacing: 4px;
    margin-bottom: 40px;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: -0.45s;
}

.spinner-ring:nth-child(2) {
    animation-delay: -0.3s;
    border-top-color: var(--white);
}

.spinner-ring:nth-child(3) {
    animation-delay: -0.15s;
    border-top-color: var(--red);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes logoFade {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

/* Header */
.header {
    background: var(--black);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: 2px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    background: var(--red);
    padding: 12px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.header-phone_2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    background: var(--red);
    padding: 12px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.header-phone:hover {
    background: #a01828;
    transform: translateY(-2px);
}

.email{
    color: var(--red);
}

.header-phone_2:hover {
    background: #a01828;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 30px;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--red);
}

.cta-button:hover {
    background: transparent;
    border-color: var(--white);
}

.cta-button span {
    margin-right: 8px;
}

/* Services Section */
.services {
    padding: 60px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--black);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--red);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.service-box {
    background: var(--white);
    padding: 30px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-box:hover {
    border-color: var(--red);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--red);
    text-align: center;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 10px 0;
    color: var(--black);
    font-size: 1rem;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    padding-left: 25px;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '✓';
    color: var(--red);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Geometry Section */
.geometry-section {
    padding: 60px 0;
    background: var(--gray);
}

.geometry-content {
    max-width: 1000px;
    margin: 0 auto;
}

.geometry-text p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #555;
    line-height: 1.8;
}

.geometry-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.geometry-point {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.geometry-point:hover {
    border-color: var(--red);
    transform: translateY(-5px);
}

.point-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--red);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    line-height: 50px;
    margin-bottom: 15px;
}

.geometry-point h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--black);
}

.geometry-point p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Gallery Sections */
.gallery-section {
    padding: 60px 0;
}

.tires-gallery {
    background: var(--white);
}

.glass-gallery {
    background: var(--gray);
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.gallery-slider {
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.gallery-track {
    display: flex;
    gap: 20px;
    animation: scroll 30s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-slide {
    flex: 0 0 350px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: var(--dark-gray);
}

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

.gallery-slide:hover .gallery-img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 3 - 60px));
    }
}

/* Why Choose Section */
.why-choose {
    padding: 60px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-box {
    padding: 30px;
    background: var(--gray);
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.benefit-box:hover {
    border-color: var(--red);
    background: var(--white);
}

.benefit-box h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--red);
    font-weight: 600;
}

.benefit-box p {
    color: #555;
    line-height: 1.7;
}

/* Location Section */
.location {
    padding: 60px 0;
    background: var(--gray);
}

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

.location-info {
    padding: 20px;
}

.location-info h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--red);
}

.address {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    margin: 12px 0;
    font-size: 1rem;
    color: #555;
}

.contact-info a {
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
}

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

.cta-button-secondary {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--black);
}

.cta-button-secondary:hover {
    background: var(--red);
    border-color: var(--red);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    border: 2px solid var(--border-color);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 50px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--red);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--white);
}

.footer-section p {
    color: var(--light-gray);
    margin: 8px 0;
    font-size: 0.95rem;
}



.footer-section a {
    color: var(--red);
    text-decoration: none;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    z-index: 998;
    transition: all 0.3s ease;
}

.floating-call-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6);
}

/* Language Selector (Cookie-style) */
.language-selector {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.lang-dropdown {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 2px solid var(--border-color);
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-current:hover {
    border-color: var(--red);
}

.lang-icon {
    font-size: 1.2rem;
}

.lang-text {
    color: var(--black);
}

.lang-options {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    min-width: 150px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.lang-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 12px 15px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--black);
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: var(--gray);
    color: var(--red);
}

.lang-option:not(:last-child) {
    border-bottom: 1px solid var(--light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .loading-logo h1 {
        font-size: 3rem;
        letter-spacing: 6px;
    }

    .loading-subtitle {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .loading-spinner {
        width: 60px;
        height: 60px;
    }

    .header-content {
        justify-content: center;
        text-align: center;
    }

    .services-grid,
    .benefits-grid,
    .geometry-benefits {
        grid-template-columns: 1fr;
    }

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

    .gallery-slide {
        flex: 0 0 280px;
        height: 200px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-280px * 3 - 60px));
        }
    }

    .floating-call-btn {
        width: 55px;
        height: 55px;
        bottom: 70px;
        right: 20px;
        font-size: 1.6rem;
    }

    .language-selector {
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .service-box {
        padding: 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .loading-logo h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .loading-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
}
