/* Font Declaration */
@font-face {
    font-family: 'Wedges';
    src: url('fonts/Wedges.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Wedges', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

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

/* Hero Text Overlay */
.hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    max-width: 800px;
    pointer-events: none;
    z-index: 2;
}

.hero-text-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Marquee Section */
.marquee-section {
    width: 100%;
    background-color: #1a1a1a;
    padding: 2rem 0;
    overflow: hidden;
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    min-width: 100%;
    animation: scroll 20s linear infinite;
}

.marquee-content span {
    font-family: 'Wedges', sans-serif;
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 2rem;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Collage Gallery Section */
.collage-section {
    width: 100%;
    min-height: 100vh;
    background-color: #000;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.collage-grid {
    width: 100%;
    aspect-ratio: 4 / 4;
    max-height: 100vh;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
}

.collage-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease-in-out;
}

/* Puzzle Grid Layout - 7 boxes optimized for square images */
.box-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.box-2 {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

.box-3 {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
}

.box-4 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.box-5 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.box-6 {
    grid-column: 3 / 5;
    grid-row: 3 / 5;
}

.box-7 {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
}

/* Image fade effect for transitions */
.collage-img.fade-out {
    opacity: 0;
}

/* Footer Section */
.footer-section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.footer-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
}

/* Footer Top Text */
.footer-top-text {
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    z-index: 15;
    font-family: 'Wedges', sans-serif;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    padding: 0 2rem;
    line-height: 1.3;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.footer-ticker {
    display: flex;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.ticker-image {
    max-width: 280px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.ticker-image:hover {
    transform: scale(1.05);
}

.footer-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.icon-link {
    display: inline-block;
    transition: transform 0.2s ease;
}

.icon-link:hover {
    transform: scale(1.1);
}

.footer-icon {
    width: 120px;
    height: auto;
}

/* Tablet Responsive */
@media (max-width: 768px) {
    .hero-text-overlay {
        width: 70%;
        max-width: 600px;
    }

    .marquee-section {
        padding: 1.5rem 0;
    }

    .marquee-content span {
        font-size: 3rem;
        padding: 0 1.5rem;
    }

    .collage-section {
        padding: 0;
        min-height: 100vh;
    }

    .collage-grid {
        gap: 0.5rem;
        padding: 0.5rem;
        max-height: 100vh;
    }

    .footer-content {
        padding: 2rem 1.5rem;
    }

    .footer-center {
        gap: 2.5rem;
    }

    .ticker-image {
        max-width: 220px;
    }

    .footer-icon {
        width: 90px;
    }

    .footer-icons {
        gap: 2rem;
    }

    .footer-top-text {
        font-size: 1.8rem;
        top: 2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .hero-text-overlay {
        width: 85%;
        max-width: 400px;
    }

    .marquee-section {
        padding: 1rem 0;
    }

    .marquee-content span {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .collage-section {
        padding: 0;
        min-height: 100vh;
        height: 100vh;
    }

    .collage-grid {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        aspect-ratio: unset;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        gap: 0;
        padding: 0;
    }

    /* Show only box 1 on mobile */
    .box-1 {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        height: 100%;
    }

    .box-2,
    .box-3,
    .box-4,
    .box-5,
    .box-6,
    .box-7 {
        display: none;
    }

    .collage-box {
        border-radius: 0;
    }

    .footer-content {
        padding: 1.5rem 1rem;
    }

    .footer-center {
        gap: 2rem;
    }

    .ticker-image {
        max-width: 180px;
    }

    .footer-icon {
        width: 70px;
    }

    .footer-icons {
        gap: 1.5rem;
    }

    .footer-top-text {
        font-size: 1.2rem;
        top: 1.5rem;
        padding: 0 1rem;
    }
}
