/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #034488;
    background-color: #fffcf6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 252, 246, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(3, 68, 136, 0.1);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #034488;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: #034488;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #178fd6;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links li a:hover {
    color: #178fd6;
}

.nav-links li a:hover::after {
    width: 80%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../assets/images/1-1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fffcf6;
}

.hero-content {
    padding: 2rem;
    /* background: rgba(3, 68, 136, 0.7); */
    /* backdrop-filter: blur(5px); */
    border-radius: 20px;
    max-width: 800px;
    margin: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ccdde8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #178fd6;
    color: #fffcf6;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: transparent;
    border-color: #178fd6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(23, 143, 214, 0.3);
}

/* Sections */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: #edece8;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #034488;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #034488, #178fd6);
    border-radius: 2px;
}

/* Accommodation Section */
.accommodation {
    background-color: #fffcf6;
    position: relative;
    padding: 5rem 0;
}

.accommodation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(204, 221, 232, 0.2), rgba(237, 236, 232, 0.2));
    pointer-events: none;
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
}

.accommodation-card {
    background-color: #fffcf6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(3, 68, 136, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #ccdde8;
}

.accommodation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(3, 68, 136, 0.15);
    border-color: #178fd6;
}

.accommodation-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.accommodation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.accommodation-card:hover .accommodation-image img {
    transform: scale(1.1);
}

.accommodation-card h3 {
    color: #034488;
    font-size: 1.5rem;
    margin: 1.5rem;
    text-align: center;
}

.accommodation-card p {
    color: #178fd6;
    padding: 0 1.5rem 1.5rem;
    text-align: center;
    line-height: 1.6;
}

/* Facilities Section */
.facilities {
    background-color: #fffcf6;
    position: relative;
}

.facilities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(204, 221, 232, 0.2), rgba(237, 236, 232, 0.2));
    pointer-events: none;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.facility-card {
    text-align: center;
    background-color: #fffcf6;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #ccdde8;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(3, 68, 136, 0.05);
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(3, 68, 136, 0.1);
    border-color: #178fd6;
}

.facility-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.facility-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #fffcf6;
    text-shadow: 0 2px 10px rgba(3, 68, 136, 0.3);
    transition: all 0.3s ease;
    opacity: 0.9;
    z-index: 1;
}

.facility-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(3, 68, 136, 0.2),
        rgba(23, 143, 214, 0.4)
    );
    transition: all 0.3s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.1);
}

.facility-card:hover .facility-image i {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.facility-card h3 {
    color: #034488;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    padding: 0 1.5rem;
}

.facility-card p {
    color: #178fd6;
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    background-color: #edece8;
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(45deg, rgba(3, 68, 136, 0.05), rgba(23, 143, 214, 0.05));
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(3, 68, 136, 0.1);
    cursor: pointer;
    background-color: #fffcf6;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.5s ease;
    vertical-align: middle;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, 
        rgba(3, 68, 136, 0.9),
        rgba(3, 68, 136, 0.7) 60%,
        rgba(3, 68, 136, 0)
    );
    color: #fffcf6;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.gallery-caption h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.gallery-caption p {
    font-size: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
    color: #ccdde8;
}

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

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-item:hover .gallery-caption h3,
.gallery-item:hover .gallery-caption p {
    transform: translateY(0);
    opacity: 1;
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.gallery-modal-caption {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

.gallery-modal-caption h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.gallery-modal-caption p {
    font-size: 1rem;
    color: #ccc;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2001;
}

.gallery-modal-nav button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-modal-nav button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-modal-nav button i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }

    .gallery-item img {
        height: 280px;
    }

    .gallery-caption {
        transform: translateY(0);
        background: linear-gradient(to top, 
            rgba(3, 68, 136, 0.9),
            rgba(3, 68, 136, 0.7)
        );
    }

    .gallery-caption h3,
    .gallery-caption p {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.map-container {
    grid-column: 1 / -1;
    background-color: #fffcf6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(3, 68, 136, 0.1);
    margin: 2rem 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background-color: #fffcf6;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(3, 68, 136, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    background-color: #edece8;
}

.contact-item:hover {
    transform: translateX(10px);
    background-color: #ccdde8;
}

.contact-item i {
    font-size: 1.8rem;
    color: #178fd6;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    color: #034488;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background-color: #fffcf6;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(3, 68, 136, 0.1);
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #ccdde8;
    border-radius: 10px;
    font-size: 1rem;
    background-color: #fffcf6;
    transition: all 0.3s ease;
    color: #034488;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #178fd6;
    box-shadow: 0 0 0 3px rgba(23, 143, 214, 0.1);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1rem;
    background-color: #178fd6;
    color: #fffcf6;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
}

.submit-button:hover {
    background-color: #034488;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(23, 143, 214, 0.3);
}

/* Footer */
.footer {
    background-color: #034488;
    color: #fffcf6;
    padding: 4rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #034488, #178fd6);
    opacity: 0.8;
}

.footer-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: #fffcf6;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 252, 246, 0.1);
}

.social-links a:hover {
    color: #178fd6;
    background: #fffcf6;
    transform: translateY(-3px);
}

.footer-bottom {
    position: relative;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 252, 246, 0.2);
    color: #ccdde8;
}

/* Hamburger menu for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: #2c3e50;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 1rem 2rem;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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