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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0), rgba(10, 10, 10, 0.38));
    margin-bottom: 2rem;
}

.hero-content {
    text-align: center;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
}

.social-icons-top {
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    margin-bottom: 3rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.logo {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 6.5rem;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #ff8800;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff8800;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Banner Section */
.banner-section {
    padding: 4rem 2rem;
    background: #00000060;
    margin-bottom: 2rem;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.banner {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Founded Section */
.founded-section {
    padding: 6rem 2rem;
    background: #00000060;
    margin-bottom: 2rem;
}

.founded-section .section-title {
    font-weight: 700;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 4rem;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.gallery-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.gallery-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 0 4rem 1rem;
    scrollbar-width: none; /* Firefox */
    /* Prevent scroll chaining (important for good UX) */
    overscroll-behavior-inline: contain;
    overscroll-behavior-block: contain;
    scroll-behavior: smooth;
}

.gallery-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    z-index: 10;
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gallery-nav-btn:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn:active:not(:disabled) {
    transform: translateY(-50%) scale(0.95);
}

.gallery-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.gallery-nav-left {
    left: 0;
}

.gallery-nav-right {
    right: 0;
}

.gallery-nav-btn svg {
    width: 24px;
    height: 24px;
}

.gallery-item {
    position: relative;
    flex: 0 0 420px;
    max-width: 80vw;
    aspect-ratio: 1.7 / 1;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
}

.gallery-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-logo-image {
    height: 2rem;
    width: auto;
    object-fit: contain;
}

/* About Section */
.about-section {
    padding: 6rem 2rem;
    background: #00000060;
    margin-bottom: 2rem;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.about-box {
    background-color: #ff8800;
    border-radius: 20px;
    padding: 3rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.about-image {
    width: 100%;
    height: 120%;
    min-height: 500px;
    position: relative;
    z-index: 1;
    margin-left: -80px;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
}

/* Who We Are Section */
.who-we-are-section {
    padding: 6rem 2rem;
    background: #00000060;
    margin-bottom: 2rem;
}

.who-we-are-section .section-title {
    font-weight: 700;
}

.members-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.member-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.member-image {
    width: 100%;
    aspect-ratio: 1;
    background-color: #f0f0f0;
    overflow: hidden;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-info {
    background-color: #ff8800;
    padding: 2rem;
    color: #ffffff;
    text-align: center;
}

.member-name {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.member-role {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: lowercase;
}

.member-separator {
    width: 80px;
    height: 1px;
    background-color: #ffffff;
    margin: 0 auto 1.5rem;
}

.member-social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social-icon {
    width: 28px;
    height: 28px;
    color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-social-icon:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.member-social-icon svg {
    width: 100%;
    height: 100%;
}

/* Footer */
.footer-section {
    padding: 6rem 2rem 4rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0), rgba(10, 10, 10, 0.38));
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-logo-image {
    height: 2rem;
    width: auto;
    object-fit: contain;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    margin-bottom: 2rem;
}

.footer-social-icon {
    width: 32px;
    height: 32px;
    color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icon:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.footer-social-icon svg {
    width: 100%;
    height: 100%;
}

.footer-contact {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff !important;
    letter-spacing: 0.05em;
}

.phone-link {
    color: #ffffff;
    text-decoration: none;
}

.phone-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-image {
        height: 3rem;
    }

    .main-nav {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1rem;
    }

    .banner-container {
        grid-template-columns: 1fr;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-left: 0;
        margin-top: 2rem;
        height: 100%;
        min-height: 300px;
    }

    .gallery-item {
        flex: 0 0 75%;
    }

    .gallery-container {
        padding: 0 1.5rem 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-nav-btn {
        display: none;
    }

    .members-container {
        grid-template-columns: 1fr;
    }

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

    .footer-contact {
        color: #ffffff !important;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 2.5rem;
    }

    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .gallery-item {
        flex: 0 0 85%;
    }

    .gallery-container {
        padding: 0 1rem 1rem;
    }

    .footer-contact {
        color: #ffffff !important;
    }
}

