/* 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/backgroundimage.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;
}



/* Title of Amenities Section */
.our-amenities-title {
    color: rgba(0, 0, 0, 0.9) !important; /* Force black with 90% opacity */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Stronger shadow to make it stand out */
    font-family: 'Anavio Small Capitals W01 Bold', serif;
    text-align: center;
}
/* Center the Subtitle */
.our-amenities-subtitle {
    text-align: center; /* Center-align the subtitle */
    font-family: 'Anavio Small Capitals W01 Bold', serif;
    color: #4A5568; /* Gray to complement the section */
    letter-spacing: 0.1rem; /* Slight letter-spacing for readability */
}

/* Amenity Section: Subtle Hover Effects */
.amenity-item {
    transition: transform 0.3s ease-in-out;
}

/* Hover Effects for Images */
.amenity-item:hover .amenity-img {
    transform: scale(1.03); /* Subtle zoom */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Soft shadow for depth */
}

.amenity-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    border-radius: 10px;
}

/* Reduce unnecessary margin between sections */
.bg-light-beige {
    margin-bottom: 0;
}

/* Amenity Titles */
.text-gray-800 {
    color: #000; /* Black for the titles */
    font-family: 'Anavio Small Capitals W01 Bold', serif;
}

/* Amenity Body Text */
.text-gray-600 {
    color: #4A5568; /* Dark gray for readable body text */
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
    .amenity-item img {
        height: 300px; /* Adjust height for smaller screens */
    }
}

/* Resort Rules Section Styling */
.bg-resort-rules {
    background-color: #3C2F2F; /* Deep warm brown tone */
    padding: 4rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* Soft shadow for depth */
    margin-top: 0; /* Remove extra top margin */
}

/* Center Title Styling */
h1.text-6xl {
    color: #E4DCCF; /* Light cream color for the title */
    font-family: 'Anavio Small Capitals W01 Bold', serif;
    text-align: center;
    margin-bottom: 2rem;
}

/* Rules Text Styling */
.rules-container ul {
    list-style-type: none; /* Remove default bullet points */
    padding-left: 0; /* Remove default padding */
}

.rules-container ul li {
    color: #D1BFA7; /* Lighter brown-gray for rule text */
    line-height: 1.8rem;
    font-size: 1.125rem;
    display: flex; /* Align icon and text */
    align-items: center;
    margin-bottom: 1rem; /* Space between list items */
}

.rules-container ul li i {
    color: #F2D7D5; /* Light icon color for contrast */
    margin-right: 10px; /* Space between icon and text */
    font-size: 1rem; /* Slightly smaller icon */
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .rules-container {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }

    .rules-container ul li {
        font-size: 1rem; /* Slightly smaller font size for smaller screens */
        line-height: 1.6rem; /* Adjusted line-height for smaller screens */
    }
}


/* FAQ Section */
.faq-container {
    background-color: #FAF9F7; /* Your light beige color */
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.faq-item {
    transition: background-color 0.3s, transform 0.3s ease;
}

.faq-item:hover {
    background-color: #F1EDEB; /* Slightly darker beige on hover */
    transform: scale(1.02); /* Slight hover effect */
}

.faq-question {
    color: #3C2F2F; /* Match with your theme */
    cursor: pointer;
}

.faq-answer {
    color: #6B7280; /* Gray for the answers */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.faq-answer.active {
    max-height: 400px; /* Adjust this based on your needs */
    opacity: 1;
}

.toggle-icon {
    font-weight: bold;
    font-size: 1.25rem;
    color: #38A169; /* Green color for icon */
    transition: transform 0.3s ease;
}

/* Icon rotation for FAQ */
.toggle-icon.rotate {
    transform: rotate(45deg); /* Rotate the icon when expanded */
}



/* Event Section */
.event-section {
    height: 60vh;
    background: url('../assets/event.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 50px;
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Slightly transparent black overlay */
    z-index: 1;
}

.event-content {
    position: relative;
    z-index: 2;
    color: white;
}

.event-title {
    font-size: 2.5rem;
    font-family: 'Anavio Small Capitals W01 Bold', serif;
    color: #FFFFFF; /* White color */
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5); /* Shadow for better contrast */
    margin-bottom: 1rem;
}

.event-subtitle {
    font-size: 1.25rem;
    color: #E2E8F0; /* Light gray */
    margin-bottom: 2rem;
}

.event-cta-btn {
    background-color: #38A169; /* Green color for consistency */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-size: 1.125rem;
    transition: background-color 0.3s ease;
}

.event-cta-btn:hover {
    background-color: #2F855A; /* Darker green on hover */
}



/* 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;
}

/* Centering the logo and text */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem; /* Add some margin to separate from the text below */
}

.footer-logo img {
    width: 120px;
    margin-bottom: 10px;
}

/* Footer Contact and Rights */
.footer-contact p,
.footer-rights p {
    margin: 0.5rem 0;
    color: #E2E8F0;
}

/* Social Media Links */
.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 */
}