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

:root {
    --red-primary: #b80000;
    --red-secondary: #ff0000;
    --black-primary: #1a1a1a;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #000000 30%, #1a1a1a 50%, #202020 70%, #888888 100%);
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../images/bottom-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background: var(--white);
    padding: 8px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.social-media {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 15px;
    background: var(--white);
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: var(--black-primary);
    transition: fill 0.3s ease;
}

.social-link.facebook:hover svg {
    fill: #1877F2;
}

.social-link.instagram:hover svg {
    fill: #E4405F;
}

.social-link.tiktok:hover svg {
    fill: #000000;
}

.lang-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--black-primary);
}

.lang-btn.active {
    background: var(--red-primary);
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    background: var(--gray-medium);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    position: relative;
    z-index: 1;
}

/* Dual Logos Section */
.dual-logos {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.logo-divider {
    font-size: 4rem;
    font-weight: 300;
    color: var(--white);
    opacity: 0.5;
}

.header {
    text-align: center;
    margin-bottom: 60px;
}

.header h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -1px;
}

.header p {
    font-size: 1rem;
    color: #e0e0e0;
    font-weight: 300;
}

/* Carousel Section */
.carousel-section {
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0;
    scroll-snap-type: x mandatory;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    min-width: 100%;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-secondary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.carousel-card:hover {
    box-shadow: var(--shadow-hover);
}

.carousel-card:nth-child(2) {
    background: linear-gradient(135deg, var(--black-primary) 0%, #333 100%);
}

.carousel-card:nth-child(3) {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFB6B6 100%);
}

.carousel-card:nth-child(4) {
    background: linear-gradient(135deg, #2a2a2a 0%, #4a4a4a 100%);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--red-primary);
    width: 30px;
    border-radius: 10px;
}

/* Locations Section */
.locations-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 50px;
    font-weight: 700;
}

.locations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.location-card {
    background: linear-gradient(0deg, #d80000 0%, #500000 100%);
    border-radius: 25px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    flex: 0 1 400px;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--white);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.location-card:hover::before {
    transform: scaleX(1);
}

.logo-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.location-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-align: center;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-icon {
    font-size: 1.2rem;
    color: var(--white);
    min-width: 24px;
}

.detail-text {
    color: var(--white);
    line-height: 1.6;
    font-size: 1rem;
}

.detail-label {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 5px;
}

.detail-text span {
    display: block;
    margin-top: 5px;
    font-size: 0.95rem;
    opacity: 0.95;
}

/* Action Icons */
.action-icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 10px;
}

.icon-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.icon-link svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.icon-link span {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--white);
    font-size: 0.9rem;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--red-primary) 0%, #500000 100%);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(184, 0, 0, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: linear-gradient(135deg, #ff0000 0%, var(--red-primary) 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    stroke-width: 3;
}

/* Universal Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.hidden-top {
    opacity: 0;
    transform: translateY(-50px);
}

.animate-on-scroll.hidden-bottom {
    opacity: 0;
    transform: translateY(50px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dual-logos {
        gap: 20px;
    }

    .logo-item {
        width: 150px;
        height: 150px;
    }

    .logo-divider {
        font-size: 3rem;
    }

    .header h1 {
        font-size: 2.5rem;
    }

    .header p {
        font-size: 1.1rem;
    }

    .locations-title {
        font-size: 2rem;
    }

    .location-card {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .carousel-card {
        height: 250px;
    }

    .language-toggle {
        top: 10px;
        right: 10px;
    }

    .social-media {
        top: 10px;
        left: 10px;
        gap: 10px;
        padding: 8px 12px;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }

    .action-icons {
        gap: 15px;
    }

    .icon-link svg {
        width: 28px;
        height: 28px;
    }

    .icon-link span {
        font-size: 0.75rem;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .dual-logos {
        gap: 15px;
    }

    .logo-item {
        width: 120px;
        height: 120px;
    }

    .logo-divider {
        font-size: 2rem;
        transform: rotate(90deg);
    }

    .header h1 {
        font-size: 2rem;
    }

    .location-card {
        padding: 30px 20px;
    }

    .carousel-card {
        height: 200px;
        font-size: 1.2rem;
    }

    .action-icons {
        flex-direction: row;
        gap: 10px;
    }

    .icon-link {
        padding: 8px;
    }

    .icon-link svg {
        width: 24px;
        height: 24px;
    }

    .icon-link span {
        font-size: 0.7rem;
    }

    .social-media {
        gap: 8px;
        padding: 6px 10px;
    }

    .social-link {
        width: 32px;
        height: 32px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .scroll-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .scroll-top svg {
        width: 20px;
        height: 20px;
    }
}