/* 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;
    line-height: 1.6;
    color: #fff;
    background-color: #0f172a;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
}

.logo-icon {
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 85px;
    height: 30px;
}

.logo span {
    font-size: 1.25rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #14b8a6;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Hero section */
.hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    background: linear-gradient(to right, #14b8a6, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.5rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Search section */
.search-section {
    padding: 2rem;
    max-width: 800px;
    margin: -50px auto 0;
    position: relative;
    z-index: 100;
}

.search-container {
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    filter: invert(0.7);
}

#searchInput {
    width: 100%;
    padding: 1.25rem 1.5rem 1.25rem 4rem;
    border: 1px solid #334155;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s;
}

#searchInput:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.3);
    background-color: rgba(15, 23, 42, 0.9);
}

/* Gallery section */

.gallery-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.gallery-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #fff;
}

.gallery {
    display: block;
    visibility: hidden;
}

.gallery-item {
    width: 290px;
    /* margin-bottom: 1.5rem; */
    display: inline-block;
    vertical-align: top;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.gallery-item a {
    display: block;
    text-decoration: none;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px 6px 0 0;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item a:hover img {
    transform: scale(1.05);
}

.gallery-item-content {
    padding: 1.5rem;
    background-color: #1e293b;
    text-align: center;
}

.gallery-item h3 {
    color: #fff;
    margin-bottom: 0;
    font-size: 0.9rem;
    /* display: none; */
}

/* Footer styles */
footer {
    background-color: #0f172a;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: #94a3b8;
    margin-top: 1rem;
}

.footer-links h3,
.footer-contact h3 {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 2;
}

.footer-links a:hover {
    color: #14b8a6;
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    text-align: center;
    color: #64748b;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 1024px) {
    .gallery {
        /* grid-template-columns: repeat(auto-fill, minmax(900px, 1fr)); */
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #0f172a;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        height: 350px;
        margin-top: 70px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .search-section {
        padding: 1.5rem;
        margin-top: -40px;
    }

    #searchInput {
        padding: 1rem 1rem 1rem 3.5rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .gallery-item img {
        height: 100%;
        margin-bottom: 10px;
    }
}