@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Base styles */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    min-height: 100vh;
    color: #fff;
}

/* Menu styles */
.menu-btn {
    position: fixed;
    top: 45px;
    left: 30px;
    z-index: 100;
    cursor: pointer;
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-btn__burger {
    width: 30px;
    height: 2px;
    background-color: #7ffff1;
    transition: all 0.3s ease;
    position: relative;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #7ffff1;
    transition: all 0.3s ease;
}

.menu-btn__burger::before {
    transform: translateY(-8px);
}

.menu-btn__burger::after {
    transform: translateY(8px);
}

.menu-btn.open .menu-btn__burger {
    background: transparent;
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg);
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg);
}

.side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 80px 20px 20px;
}

.side-menu.active {
    left: 0;
}

.side-menu a {
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    font-size: 18px;
    transition: color 0.3s ease;
}

.side-menu a:hover {
    color: #4CAF50;
}

/* Masonry Grid styles */
.masonry-grid {
    columns: 3;
    column-gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.grid-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    page-break-inside: avoid;
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Logos Container styles */
.logos-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    z-index: 2;
    opacity: 1;
    padding: 40px 20px;
    background-color: #000;
    margin-top: 20px;
}

.logo {
    height: 80px;
    filter: brightness(0) saturate(100%) invert(89%) sepia(12%) saturate(1234%) hue-rotate(123deg) brightness(105%) contrast(101%);
    opacity: 0.8;
    transition: all 0.2s;
}

.signature-logo {
    height: 100px;
}

.logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Category Navigation styles */
.category-nav {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    gap: 25px;
    z-index: 100;
}

.category-btn {
    background: rgba(0, 0, 0, 0.5);
    color: #7ffff1;
    border: 1px solid rgba(127, 255, 241, 0.2);
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 11px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
}

.category-btn:hover, .category-btn.active {
    background: #7ffff1;
    border-color: #7ffff1;
    transform: translateY(-2px);
    color: #000;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Category Slideshow styles */
.category-slideshow {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99;
}

.category-slideshow.active {
    display: block;
}

.slideshow-header {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #7ffff1;
    font-size: 24px;
    text-align: center;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 20px;
}

.close-slideshow {
    color: #7ffff1;
    font-size: 30px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: none;
}

.close-slideshow:hover {
    background: #7ffff1;
    color: #000;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    max-width: 97%;
    max-height: 97%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.slideshow-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

.prev, .next {
    cursor: pointer;
    color: #7ffff1;
    font-weight: bold;
    font-size: 24px;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: none;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .masonry-grid {
        columns: 2;
        column-gap: 15px;
        padding: 15px;
    }

    .logos-container {
        gap: 50px;
    }

    .logo {
        height: 70px;
    }

    .signature-logo {
        height: 90px;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        columns: 2;
        column-gap: 10px;
        padding: 10px;
    }

    .logos-container {
        gap: 40px;
    }

    .logo {
        height: 60px;
    }

    .signature-logo {
        height: 80px;
    }

    .category-nav {
        right: 10px;
        gap: 20px;
    }

    .category-btn {
        padding: 8px 12px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        columns: 1;
        column-gap: 10px;
        padding: 10px;
    }

    .logos-container {
        gap: 30px;
        padding: 30px 15px;
    }

    .logo {
        height: 50px;
    }

    .signature-logo {
        height: 70px;
    }

    .menu-btn {
        top: 15px;
        left: 15px;
        width: 25px;
        height: 18px;
    }
} 