/* Custom styles for D' Garden Agri Resort */

/* Load the AnavioSmallCapitalsW01-Bold font */
@font-face {
    font-family: "Anavio Small Capitals W01 Bold";
    src: url("https://db.onlinewebfonts.com/t/16ff7a691ffa5aae54301d500d494a5b.eot");
    src: url("https://db.onlinewebfonts.com/t/16ff7a691ffa5aae54301d500d494a5b.eot?#iefix") format("embedded-opentype"),
         url("https://db.onlinewebfonts.com/t/16ff7a691ffa5aae54301d500d494a5b.woff2") format("woff2"),
         url("https://db.onlinewebfonts.com/t/16ff7a691ffa5aae54301d500d494a5b.woff") format("woff"),
         url("https://db.onlinewebfonts.com/t/16ff7a691ffa5aae54301d500d494a5b.ttf") format("truetype"),
         url("https://db.onlinewebfonts.com/t/16ff7a691ffa5aae54301d500d494a5b.svg#Anavio Small Capitals W01 Bold") format("svg");
}

/* Navbar Links */
.nav-link {
    color: white;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #D1D5DB;
}

/* Dropdown container for amenities */
.dropdown {
    position: absolute;
    top: 70%;
    right: 70px;
    background-color: white;
    color: black;
    padding: 1rem;
    border-radius: 0.5rem;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    display: none;
}

.dropdown a {
    display: block;
    padding: 0.5rem 0;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown a:hover {
    background-color: #f1f1f1;
}

/* Book Now button */
.book-now-btn {
    background-color: #38A169;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
}

.book-now-btn:hover {
    background-color: #2F855A;
}

/* Logo and Resort Name */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 15%;
    margin-right: 10px;
    filter: brightness(1.2);
}

.resort-name {
    font-family: 'Anavio Small Capitals W01 Bold', sans-serif;
    font-size: 1.5rem;
    color: #FFFFFF;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: url('../assets/gallery.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* Hero Title and Subtitle */
.hero-title {
    font-size: 80px;
    font-family: 'Anavio Small Capitals W01 Bold', serif;
    color: #FFFFFF;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #E2E8F0;
    margin-bottom: 2rem;
}

/* Call-to-action button in hero */
.cta-btn {
    background-color: #38A169;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 1.125rem;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #2F855A;
}



/* Gallery Section */
.section-title {
    font-size: 50px; /* Larger title */
    text-align: center;
    font-family: 'Anavio Small Capitals W01 Bold', serif;
    margin-bottom: 40px;
    color: #38A169; /* Teal color to match the design */
}

/* Updated gallery grid styling */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 equal columns */
    gap: 0; /* Remove gap for no whitespace between images */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 250px; /* Adjust image height to unify the gallery */
    margin: 0; /* Remove margins */
    padding: 0; /* Remove padding */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fits nicely within each block */
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.05); /* Subtle zoom effect on hover */
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure the lightbox is on top of everything */
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    text-decoration: none;
}

.lightbox-show {
    display: flex;
}

/* Pagination buttons */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.prev-btn, .next-btn {

    color: #333;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 1.5rem; /* Icon size */
    margin: 0 10px;
    border-radius: 50%; /* Make the buttons circular */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: beige;
}

#page-info {
    margin: 0 10px;
    font-size: 1rem;
    color: #333;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: url('../assets/gallery.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1; /* Keep the hero section below the lightbox */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}


/* Footer Section */
.footer-section {
    background-color: #333333;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 120px;
    margin-bottom: 10px;
}

.footer-contact p,
.footer-rights p {
    margin: 0.5rem 0;
    color: #E2E8F0;
}

.footer-socials a {
    color: white;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: #38A169;
}



/* Fade-in animation */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Set initial state for fade-in elements */
h1, h2, p {
    opacity: 0;
    transform: translateY(20px); /* Start 20px below */
}
