* {
    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: 0;
    position: relative;
    overflow-x: hidden;
}

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: 20px;
    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;
    margin-left: -20px;
    margin-right: -20px;
    position: relative;
}

.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%;
    overflow: hidden;
    background-color: #111;
    border-radius: 0;
    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;
    position: relative;
}

/* Images inside carousel cards — natural aspect ratio */
.carousel-card span {
    display: block;
    width: 100%;
}

.carousel-card span img {
    width: 100%;
    height: auto;
    display: block;
}

/* Text-only carousel cards — reset the absolute positioning */
.carousel-card span:not(:has(img)) {
    position: static;
    width: auto;
    height: auto;
}

.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: 120px;
    height: 120px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

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

.detail-icon {
    font-size: 1rem;
    color: var(--white);
    min-width: 20px;
    margin-top: 2px;
}

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

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

.detail-text span {
    display: inline;
    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;
}

/* Mobile compact location cards */
@media (max-width: 768px) {
    .locations-grid {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        justify-content: flex-start;
        margin-left: -20px;
        margin-right: -20px;
        padding: 0 20px 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: 16px;
        opacity: 1 !important;
        transform: none !important;
    }

    .locations-grid::-webkit-scrollbar {
        display: none;
    }

    /* Each card is 72% wide so the next one peeks into view */
    .location-card {
        flex: 0 0 72%;
        min-width: 0;
        max-width: none;
        border-radius: 20px;
        padding: 24px 16px;
        scroll-snap-align: start;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-right: 14px;
        /* Kill the slide-up scroll animation so cards don't fly in from below */
        opacity: 1 !important;
        transform: none !important;
        transition: box-shadow 0.3s ease !important;
    }

    .location-card:last-child {
        margin-right: 20px; /* trailing padding so last card doesn't hug edge */
    }

    .location-card::before {
        display: none;
    }

    .logo-container {
        width: 100px;
        height: 100px;
        margin: 0 auto 14px;
    }

    .location-name {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 0;
        line-height: 1.3;
    }

    .location-details,
    .action-icons {
        display: none;
    }
}

/* Scroll hint row — shows below location cards on mobile only */
.location-scroll-hint {
    display: none;
}

@media (max-width: 768px) {
    .location-scroll-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0 0 40px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 50px;
        padding: 10px 20px;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
        color: var(--white);
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.03em;
    }

    .location-scroll-hint svg {
        width: 18px;
        height: 18px;
        stroke: var(--white);
        flex-shrink: 0;
        animation: nudge 1.2s ease-in-out infinite;
    }

    @keyframes nudge {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(6px); }
    }
}

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;
    }

    .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 {
        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;
    }
}