/* Reset general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font y body */
body {
    font-family: 'Montserrat', sans-serif;
    color: #273746;
    background-color: #D5DBDB;
    overflow-x: hidden;
}

/* Header */
header {
    background-color: #273746;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    height: 50px;
}

.nav-toggle {
    display: none;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    margin-right: 200px;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #FFD700;
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Main Image */
.main-image {
    position: relative;
    height: 60vh; /* Adjusted height */
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 10px;
    animation: fadeInDown 1.5s ease;
}

.hero-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
    animation: fadeInDown 2s ease;
}

.hero-text p {
    font-size: 18px;
    color: #DDD;
    animation: fadeInDown 2.5s ease;
}

/* Filters */
.filters {
    text-align: center;
    margin: 20px 0;
}

.filter-btn {
    background-color: #273746;
    color: #fff;
    border: none;
    padding: 15px 25px; /* Adjusted padding */
    margin: 10px 5px; /* Adjusted margin */
    cursor: pointer;
    border-radius: 6px; /* Adjusted border radius */
    transition: background-color 0.3s, transform 0.3s;
    font-size: 16px; /* Adjusted font size */
}

.filter-btn:hover {
    background-color: #FFD700;
    color: #273746;
    transform: scale(1.05);
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.gallery-item {
    width: 30%;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    display: none; /* Hidden by default */
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal-content img {
    width: 100%;
    height: auto;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Contact Section */
.contact {
    background-color: #273746;
    color: #ffffff;
    padding: 50px 20px;
    text-align: center;
}

.contact .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contact .contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact .contact-info a {
    color: #FFD700;
    text-decoration: none;
}

.contact .contact-info i {
    font-size: 20px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 24px;
        cursor: pointer;
    }

    .sidebar {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #273746;
        z-index: 1000;
        padding-top: 60px;
        text-align: center;
    }

    .sidebar.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        margin: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 900;
    }

    .overlay.active {
        display: block;
    }

    .gallery-item {
        width: 100%;
        max-width: none;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text h2 {
        font-size: 18px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .filters {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 80%;
        margin: 10px 0;
    }
}
