/* Load the custom font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* Reset some basic styles */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

/* Intro container */
.intro-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background-color: #111; /* Background color for the intro */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 1;
    animation: fadeOut 1s ease 2s forwards; /* Fade out after 2 seconds */
    padding: 0 20px; /* Add padding for smaller screens */
    text-align: center; /* Center align text for smaller screens */
}

.logo-container {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease forwards; /* Fade in and slide up */
}

.logo {
    width: 150px; /* Default logo size */
    height: auto;
    margin-bottom: 20px;
}

.intro-text {
    color: #fff;
    font-size: 24px;
    letter-spacing: 2px;
    font-family: 'Great Vibes', cursive;
}

/* Main content */
.content {
    display: none; /* Hide main content initially */
    animation: contentFadeIn 1s ease 3s forwards; /* Fade in after intro */
}

/* Keyframes for animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        display: block;
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo {
        width: 100px; /* Reduce logo size on smaller screens */
    }

    .intro-text {
        font-size: 18px; /* Reduce text size on smaller screens */
    }
}

/* Gallery container */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Gallery item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Image styling */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
