/* 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/rooms.png') 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;
}


/* Rooms Section */
.rooms-section {
    background-color: #B8D8C9; /* Light teal, inspired by nature and the resort's serene theme */
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #2F4F4F; /* Dark slate gray to contrast with the lighter teal background */
    font-family: 'Anavio Small Capitals W01 Bold', serif;
    margin-bottom: 50px;
}

/* Room Cards */
.rooms-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 30px;
}

.room-card {
    background-color: #FFFFFF; /* White background to keep the cards clean and minimalist */
    color: #2F4F4F; /* Dark slate gray for text inside the cards */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for subtle depth */
    transition: transform 0.3s ease;
}

.room-card:hover {
    transform: scale(1.03); /* Slight zoom on hover for interactivity */
}

.room-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 4px solid #38A169; /* Consistent green accent from the theme */
}

.room-info {
    padding: 20px;
}

.room-info h3 {
    font-family: 'Anavio Small Capitals W01 Bold', serif;
    font-size: 2rem;
    margin-bottom: 10px;
    color: #2F4F4F; /* Dark slate gray */
}

.room-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.room-info ul li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #4A5568; /* Dark gray for description text */
}

.room-info ul li i {
    margin-right: 10px;
    color: #38A169; /* Green icons to match the resort's natural theme */
}

/* Button for securing rooms */
.room-btn {
    display: inline-block;
    background-color: #38A169; /* Green, consistent with the overall theme */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.room-btn:hover {
    background-color: #2F855A; /* Darker green on hover */
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
    .room-img {
        height: 200px; /* Adjust image height for smaller screens */
    }
    .rooms-container {
        padding: 0 15px;
    }
    .section-title {
        font-size: 2.5rem;
    }
}


/* 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 */
}
