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

:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --accent-color: #4a4a4a;
    --gold-color: #FFD700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -moz-tap-highlight-color: rgba(0,0,0,0);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(30,30,30,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(50,50,50,0.3) 0%, transparent 50%);
    animation: bg-shift 15s ease infinite;
    z-index: -2;
}

.dot-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: dots-move 20s linear infinite;
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
    position: relative;
}

.shiny-text {
    font-size: 3rem; 
    font-weight: 700;
    background: linear-gradient(45deg, #FFD700, #FFF, #FFD700);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 2px 15px rgba(255,215,0,0.5);
    animation: shine 3s ease-in-out infinite;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    max-width: 1200px; /* Limit total gallery width */
    width: 100%;
}

.gallery-item {
    width: 300px;  /* Fixed width */
    height: 200px; /* Fixed height */
    border: 3px solid var(--gold-color);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 0 15px rgba(255,215,0,0.3);
    flex-shrink: 0; /* Prevent items from shrinking */
}

.gallery-item img {
    width: 100%;    /* Fill the entire container */
    height: 100%;   /* Fill the entire container */
    object-fit: cover; /* Ensure image covers entire box while maintaining aspect ratio */
    object-position: center; /* Center the image */
}

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



.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-container {
    background-color: var(--bg-color);
    border: 3px solid var(--gold-color);
    border-radius: 15px;
    max-width: 80%;
    max-height: 80%;
    position: relative;
    padding: 20px;
    text-align: center;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: var(--gold-color);
    background: none;
    border: none;
    cursor: pointer;
}

.popup-image {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.popup-description {
    margin-top: 15px;
    color: var(--text-color);
}

@keyframes shine {
    0%, 100% { background-position: 0 0; }
    50% { background-position: 200% 0; }
}

@media (max-width: 768px) {
    .gallery {
        flex-direction: column;
        align-items: center;
    }
}
@keyframes dots-move {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -100px -100px;
    }
}

@keyframes bg-shift {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }

}

.tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.tab {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    position: relative;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    overflow: hidden;
    /* Remove default touch highlight */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skew(-20deg) translateX(-100%);
    transition: all 0.5s ease;
    z-index: -1;
}

.tab:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.tab:hover::before {
    transform: skew(-20deg) translateX(150%);
}