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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #FFF0F7;
    color: #333;
    line-height: 1.6;
}

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

/* Header Styles */
.header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon svg {
    display: block;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #333;
}

.logo-text p {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle:hover span {
    background-color: #FF057A;
}

/* Burger menu animation to X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Menu Styles */
.nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    min-width: 250px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.nav-menu-content {
    padding: 20px 0;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.nav-menu li:last-child {
    border-bottom: none;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #FF057A;
    background-color: #f8f8f8;
}

/* Gallery Container */
.gallery-container {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0;
    background-color: transparent;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #FF63AC;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.filter-btn:hover {
    color: #FF057A;
}

.filter-btn.active {
    color: #FF057A;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #FF057A;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item.filtering {
    animation: none !important;
}

/* Masonry Grid Layout */
.masonry-grid {
    column-count: 4;
    column-gap: 15px;
    margin-bottom: 60px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.gallery-overlay h5 {
    color: #FFF0F7;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
    line-height: 1.3;
}

/* Gallery Navigation */
.gallery-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    padding: 15px 40px;
    background-color: #e0e0e0;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: #4CAF50;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* Footer */
.footer {
    background-color: #2c2c2c;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    position: relative;
}

.footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.footer p {
    font-size: 14px;
    color: #aaa;
}

.back-to-top {
    position: absolute;
    right: 20px;
    background-color: #444;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
}

.back-to-top:hover {
    background-color: #FF057A;
    transform: translateY(-3px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 2001;
    transition: transform 0.2s ease;
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    transform: scale(1.2);
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev:hover,
.modal-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

.modal-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 15px 30px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.modal-counter {
    position: absolute;
    top: 30px;
    left: 30px;
    color: #fff;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .masonry-grid {
        column-count: 3;
    }
}

@media (max-width: 1024px) {
    .masonry-grid {
        column-count: 2;
    }

    .modal-prev,
    .modal-next {
        width: 50px;
        height: 50px;
        font-size: 24px;
        padding: 15px;
    }

    .modal-prev {
        left: 15px;
    }

    .modal-next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        column-count: 2;
        column-gap: 12px;
    }

    .gallery-item {
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .logo-text h1 {
        font-size: 20px;
    }

    .logo-text p {
        font-size: 10px;
    }

    .gallery-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .nav-btn {
        width: 100%;
        max-width: 300px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
    }

    .modal-caption {
        font-size: 14px;
        padding: 10px 20px;
        bottom: 15px;
    }

    .modal-counter {
        font-size: 14px;
        padding: 8px 15px;
        top: 15px;
        left: 15px;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        column-count: 1;
    }

    .gallery-container {
        padding: 40px 0;
    }

    .logo {
        gap: 10px;
    }

    .logo-icon svg {
        width: 35px;
        height: 35px;
    }

    .logo-text h1 {
        font-size: 18px;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item.initial-load {
    animation: fadeIn 0.6s ease forwards;
}

.gallery-item.initial-load:nth-child(1) { animation-delay: 0.1s; }
.gallery-item.initial-load:nth-child(2) { animation-delay: 0.2s; }
.gallery-item.initial-load:nth-child(3) { animation-delay: 0.3s; }
.gallery-item.initial-load:nth-child(4) { animation-delay: 0.4s; }
.gallery-item.initial-load:nth-child(5) { animation-delay: 0.5s; }
.gallery-item.initial-load:nth-child(6) { animation-delay: 0.6s; }
.gallery-item.initial-load:nth-child(7) { animation-delay: 0.7s; }
.gallery-item.initial-load:nth-child(8) { animation-delay: 0.8s; }
.gallery-item.initial-load:nth-child(9) { animation-delay: 0.9s; }
.gallery-item.initial-load:nth-child(10) { animation-delay: 1s; }
.gallery-item.initial-load:nth-child(11) { animation-delay: 1.1s; }
.gallery-item.initial-load:nth-child(12) { animation-delay: 1.2s; }

/* Info Page Styles */
.info-container {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.info-section {
    margin-bottom: 80px;
    padding: 0 20px;
}

.info-section h1 {
    font-size: 48px;
    font-weight: 700;
    color: #FF057A;
    margin-bottom: 40px;
    letter-spacing: -1px;
    scroll-margin-top: 0;
}

.section-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
}

.section-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    flex: 1;
    margin: 0;
}

.text-content {
    flex: 1;
}

.text-content p {
    margin-bottom: 20px;
}

.text-content p:last-child {
    margin-bottom: 0;
}

.section-image {
    flex: 0 0 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Press Section Specific Styles */
#press .section-content {
    flex-direction: column;
    gap: 40px;
}

.press-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.press-logo-img {
    max-width: 150px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.press-logo-img:hover {
    opacity: 1;
}

/* Contact Section Specific Styles */
#contact .section-content {
    flex-direction: column;
    gap: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    width: 50px;
    height: 50px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #FF057A;
    transform: translateY(-3px);
}

/* Responsive Design for Info Page */
@media (max-width: 768px) {
    .info-section h1 {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .section-content {
        flex-direction: column;
        gap: 30px;
    }

    .section-image {
        flex: none;
        max-width: 100%;
    }

    .press-logos {
        justify-content: center;
        gap: 20px;
    }

    .press-logo {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .info-section {
        padding: 0 10px;
    }

    .info-section h1 {
        font-size: 28px;
    }

    .section-content p {
        font-size: 14px;
    }

    .press-logos {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
    }
}
