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

body {
    font-family: 'p22-underground', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #111917;
    background-image: url('images/bg.png');
    background-repeat: repeat;
    scroll-behavior: smooth;
}

a{
    color: #ffffff;
}

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

.header {
    text-align: center;
    margin-bottom: 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 100;
    padding: 20px 0 0 0;
    transition: top 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header.scrolled {
    top: -70px;
    backdrop-filter: blur(49px) saturate(150%);
}

@media (max-width: 768px) {
    .header.scrolled {
        top: -50px;
        padding-bottom: 0;
        backdrop-filter: none;
        background-color: #111917;
        background-image: url('images/bg.png');
        background-repeat: repeat;
    }
}

@media (max-width: 480px) {
    .header.scrolled {
        top: -50px;
        padding-bottom: 0;
        backdrop-filter: none;
        background-color: #111917;
        background-image: url('images/bg.png');
        background-repeat: repeat;
    }
}

.navbar-left,
.navbar-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 1;
    padding: 10px 0;
}

.navbar-left {
    left: 20px;
    right: calc(50% + 75px);
}

.navbar-left::before {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #ffffff;
    min-width: 20px;
}

.navbar-left::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #ffffff;
    min-width: 20px;
}

.navbar-right {
    right: 20px;
    left: calc(50% + 75px);
}

.navbar-right::before {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #ffffff;
    min-width: 20px;
}

.navbar-right::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #ffffff;
    min-width: 20px;
}

.navbar-left a,
.navbar-right a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
}

.navbar-left a:hover,
.navbar-right a:hover {
    color: #ccc;
}

.logo-container {
    padding: 10px 10px 0 10px;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.logo {
    width: 150px;
    height: 150px;
    display: block;
    border-radius: 8px;
}

.brand-name {
    text-align: center;
    font-size: clamp(3rem, 8vw, 12rem);
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.seo-title {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 4rem);
    color: #e0e0e0;
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.4;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
}

.content {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: max(150px, calc(1vh - 100px + 85px));
    background-image: url('images/cinema-train-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(20, 30, 20, 0.3);
    z-index: 1;
}

.brand-name,
.seo-title {
    position: relative;
    z-index: 2;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}



.description {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.description p {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #e0e0e0;
    line-height: 1.8;
}

.section {
    margin: 80px 0;
    padding: 20px 0;
    position: relative;
}

.section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffffff 20%, #ffffff 50%, #ffffff 80%, transparent);
}

.section:not(:last-child)::before {
    content: '';
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: #ffffff;
}

.section:nth-child(odd):not(:last-child)::after {
    background: linear-gradient(90deg, transparent, #ffffff 10%, #ffffff 30%, #ffffff 70%, #ffffff 90%, transparent);
}

.section:nth-child(even):not(:last-child)::after {
    width: 150px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
    text-transform: uppercase;
}

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

.contact-info p {
    margin: 10px 0;
    font-family: "p22-underground-pc", sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}

.description ul {
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}

.description li {
    margin: 8px 0;
    color: #e0e0e0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
        padding-top: 0;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .logo {
        width: 120px;
        height: 120px;
    }
    
    .navbar-left {
        right: calc(50% + 60px);
    }
    
    .navbar-right {
        left: calc(50% + 60px);
    }
    
    .navbar-left a,
    .navbar-right a {
        font-size: 0;
        padding: 8px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-left a::before,
    .navbar-right a::before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 16px;
        color: #ffffff;
    }
    
    .navbar-left a[href="#about"]::before {
        content: "\f238";
    }
    
    .navbar-left a[href="#gallery"]::before {
        content: "\f030";
    }
    
    .navbar-right a[href="#services"]::before {
        content: "\f008";
    }
    
    .navbar-right a[href="#contact"]::before {
        content: "\f095";
    }
    
    .navbar-left,
    .navbar-right {
        gap: 15px;
    }
    
    
    .brand-name {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .seo-title {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .description {
        margin-bottom: 30px;
    }
    
    .description p {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .section {
        margin: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
        padding-top: 0;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .logo {
        width: 100px;
        height: 100px;
    }
    
    .navbar-left {
        right: calc(50% + 50px);
    }
    
    .navbar-right {
        left: calc(50% + 50px);
    }
    
    .navbar-left,
    .navbar-right {
        gap: 10px;
    }
    
    .navbar-left a,
    .navbar-right a {
        font-size: 0;
        padding: 6px;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-left a::before,
    .navbar-right a::before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 14px;
        color: #ffffff;
    }
    
    .navbar-left a[href="#about"]::before {
        content: "\f238";
    }
    
    .navbar-left a[href="#gallery"]::before {
        content: "\f030";
    }
    
    .navbar-right a[href="#services"]::before {
        content: "\f008";
    }
    
    .navbar-right a[href="#contact"]::before {
        content: "\f095";
    }
    
    
    .brand-name {
        font-size: 2rem;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    
    .seo-title {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    
    .description p {
        font-size: 1rem;
        text-align: left;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gallery-image {
        height: 180px;
    }
    
    .section {
        margin: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
}

@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #ccc;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    z-index: 1001;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover,
.next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.modal-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 4px;
    max-width: 80%;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 70%;
    }
    
    .prev, .next {
        font-size: 20px;
        padding: 12px 16px;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
    
    .close {
        font-size: 30px;
        top: 15px;
        right: 20px;
    }
    
    .modal-caption {
        font-size: 14px;
        bottom: 15px;
        padding: 8px 15px;
    }
}