/* General Styles */
body {
    font-family: 'Outfit', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    padding: 0 1.6rem;
}

header {
    background: var(--primary-dark);
    box-shadow: 0 4px 17px rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo, .logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    animation: leftSideAni 1s ease forwards;
}

ul {
    display: flex;
    gap: .6rem;
    list-style-type: none;
}

li a {
    padding: .3rem 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-radius: 36px;
    transition: .3s;
    animation: navani .3s ease forwards;
}

li a.active, li a:hover {
    color: var(--primary-color);
}

.menu {
    display: none;
}

.show-dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
}

/* Gallery Section */
.gallery {
    padding: 40px 20px;
    background-color: #fff;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 20px;
    justify-items: center;
}

.photo-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.photo-grid img:hover {
    transform: scale(1.05);
}
/* Popup Styling */
.popup {
    display: none; /* Initially hidden */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

/* Image inside the popup */
.popup-content {
    display: block;
    max-width: 80%;
    max-height: 80vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

/* Close button */
.close {
    position: absolute;
    top: 15px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: red;
}
/* Popup Navigation Arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    transition: 0.3s;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    color: red;
}

@media (max-width: 768px) {
    .photo-grid img {
        height: 300px;
    }
    .hero h1 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    .hero p {
        font-size: .9rem;
    }
    .popup-content {
        max-width: 90%;
        max-height: 70vh;
    }

    /* Adjust Navigation Arrows for Mobile */
    .prev, .next {
        font-size: 18px; /* Smaller arrows */
        padding: 5px;
        top: 50%;
    }

    .prev {
        left: 10px; /* Move closer to the image */
    }

    .next {
        right: 10px; /* Move closer to the image */
    }
}


/* Footer */
.footer {
    background: var(--primary-dark);
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    text-decoration: none;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer .social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer .social-icons a:hover {
    color: var(--primary-color);
}

/* Keyframe Animations */
@keyframes leftSideAni {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes navani {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
