@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    background-color: #325f51 !important;
    color: white;
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Ensures full viewport height */
    width: 100%;
}

/*--------------homepage------------*/
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('images/bg1.png');
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out; 
}

.hero-text {
    position: absolute;
    top: 60%;
    left: 5%;
    transform: translateY(-50%);
    color: white;
    max-width: 50%;
}

.hero-text h1 {
    font-size: 50px;
    font-weight: normal;
    text-transform: uppercase;
}

.hero-text p {
    font-size: 20px;
    margin-top: 20px;
    font-weight: 400;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 2, 2, 0.4);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 60px;
    border-radius: 50%;
    height: auto;
    margin-right: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-family: "Dancing Script", serif;
    font-size: 3.0em;
    color: white;
    font-weight: 600;
    margin: 0;
}

.logo h2 {
    font-family: "Libre Baskerville", serif;
    font-size: 1.8em;
    color: white;
    font-weight: normal;
    margin: 0;
}

.user-icon {
    font-size: 20px;
    color: white;
    cursor: pointer;
}

.user-icon img {
    width: 40px;  
    border-radius: 50%;
    height: auto;
}

.home-navbar {
    position: absolute;
    top: 0px;
    left: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 40px;
    z-index: 10;
}

.home-nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;  
}

.home-nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative; 
}

.home-nav-links li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px; 
    background-color: white; 
    transition: width 0.3s ease-in-out; 
}

.home-nav-links li a:hover::after {
    width: 100%; 
}

/* Small Vertical Menu */
.menu-img {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-img img {
    width: 140px; /* Increased size */
    height: 120px; /* Increased size */
    cursor: pointer;
    transition: transform 0.3s ease-in-out, border 0.3s ease-in-out;
}

.menu-img img:hover {
    transform: scale(1.1);
}

.menu-img img.clicked {
    border: 3px solid #fff;
}

/*dito sa phase 2*/
/* Small Vertical Menu */
.p2menu-img {
    position: absolute;
    top: 40%;
    right: 10%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.p2menu-img img {
    width: 140px; /* Increased size */
    height: 120px; /* Increased size */
    cursor: pointer;
    transition: transform 0.3s ease-in-out, border 0.3s ease-in-out;
}

.p2menu-img img:hover {
    transform: scale(1.1);
}

.p2menu-img img.clicked {
    border: 3px solid #fff;
}

.booknow {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 35px;
    font-size: 14px;
    font-weight: bold;
    background-color: transparent; 
    color: white;
    text-decoration: none;
    border-radius: 32px;
    border: 2px solid white;
}

.booknow:hover {
    background-color: #c7a925;
}

/* Space above header */
.top-space {
    width: 100%;
    height: 50px;
    background: transparent;
    display: flex;
    align-items: center;
    padding-left: 20px;
    position: relative; 
    z-index: 1001; /* Higher than the menu */
}

.hamburger {
    font-size: 30px;
    color: rgb(0, 0, 0);
    cursor: pointer;
    z-index: 1100;
    position: relative; 
}

.menu {
    position: fixed;
    top: -100%; 
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    color: black;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: top 0.4s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
}

.menu.active {
    top: 0; 
}

.hamburger-vertical {
    display: none;
    transform: rotate(90deg);
}

.menu.active .hamburger-vertical {
    display: block;
}

.menu.active .hamburger {
    display: none;
}

.menucontainer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    padding: 30px;
}

.close-icon {
    position: absolute;
    top: 45px;
    left: 20px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    color: rgb(0, 0, 0);
}

/* Phases Card */
.phase-card {
    width: 500px;
    padding: 20px;
    margin-top: 60px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px; 
}

.phase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.phase-card h2 {
    font-size: 40px;
    margin-bottom: 10px;
    color: #fff;
}

.phase-card h3 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 500;
}

.phase-card p {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.6;
}

.phase-card .phasebutton {
    display: inline-block; /* Ensures it behaves like a button */
    padding: 12px 30px;
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    background-color: transparent;
    border: 2px solid white;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
    text-align: center;
    text-decoration: none; /* Removes underline */
}

/* Private Phase */
.phase-private {
    background: linear-gradient(135deg, #184D47, #0C2D27);
    color: white;
}

.phase-private .phasebutton:hover {
    background-color: white;
    color: #184D47;
}

/* Public Phase */
.phase-public {
    background: linear-gradient(135deg, #508E87, #2F6861);
    color: white;
}

.phase-public .phasebutton:hover {
    background-color: white;
    color: #508E87;
}

.booking-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 15px auto; 
    max-width: 1000px;
}

.booking-form {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    padding: 20px;
    background-color: #47837c;        
    color: white;
    position: relative;
}

.form-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; 
    flex-wrap: nowrap; 
    align-items: center;
}

.form-group div {
    flex: 1;
    min-width: 150px; 
    position: relative;
}

.form-group label {
    justify-content: center;
    align-items: center;
    font-size: 20px;
    border: 2px white;
    font-weight: 400;
    margin-bottom: 2px;
}

.form-group input {
    padding: 8px;
    font-size: 14px;
    justify-content: center;
    align-items: center;
    gap: 1px;
    margin-top: 5px;
}

.form-group input:focus {
    border-color: #89BAA9;
}

.error-message {
    font-size: 16px;
    position: absolute;
    color: #fbfcfc;
}

.booking-button {
    padding: 5px 10px;
    margin-left: 10px;
    border: 1px solid #184D47;
    background: #184D47;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.booking-button:hover {
    background-color: #325f51;
    color: #ffffff;
}

.availability-message {
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    width: 100%;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .booking-container {
        width: 90%;
    }
    .form-group {
        flex-direction: column;
    }
    .booking-button {
        width: 100%;
        margin-top: 20px;
    }
}

.abouthome {
    padding: 60px 0;
    background: #f5f5f5; 
}

.containerflex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 30px;
}

.left {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.img {
    position: relative;
    width: 100%;
    max-width: 400px; 
}

.image1 {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.image2 {
    width: 80%;
    height: auto;
    display: block;
    position: absolute;
    top: 100px; /* Adjust for overlap effect */
    left: -160px; /* Shift left for overlapping effect */
    z-index: 2;      
}

.right {
    flex: 1;
    text-align: left;
}

.heading h5 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.heading h2 {
    font-size: 36px;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 15px;
}

.heading p {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 20px;
}

.btn1 {
    background: #c7a925;
    color: white;
    margin-top: 18px;
    padding: 10px 25px;
    border: none;
    font-size: 18px;
    border-radius: 24px;
    transition: 0.3s;
}

.btn1:hover {
    background: #2e7d32;
}

@media (max-width: 768px) {
    .containerflex {
        flex-direction: column;
        text-align: center;
    }

    .left {
        display: flex;
        justify-content: center;
    }

    .image2 {
        top: 20px; /* Adjust overlap for smaller screens */
        left: -40px;
    }

    .right {
        text-align: center;
    }

    .btn1 {
        display: inline-block;
    }
}

.amenities-section {
    display: flex;
    width: 100%;
    padding: 50px;
    background-color: #184D47;
}

.container {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: left; /* Center the content */
}

.section-title {
    font-size: 34px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0;
    text-transform: uppercase;
}

.amenities-content {
    display: flex;
    width: 100%;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 columns */
    gap: 20px;
    width: 70%; /* 70% for amenities layout */
}

.amenity-item {
    position: relative;
    margin-top: 5px;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    overflow: hidden;
}

.amenity-text {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background-color: rgba(47, 160, 102, 0.6); /* Overlay for text contrast */
    color: white;
    padding: 10px 15px;
    border-radius: 0px;
}

.amenity-text h3 {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px; /* Adjust spacing as needed */
    text-transform: uppercase;
}

.empty-space {
    width: 30%;
    background-color: transparent;
}

@media (max-width: 768px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
    }

    .empty-space {
        display: none; /* Hide empty space on smaller screens */
    }
}

@media (max-width: 480px) {
    .amenities-grid {
        grid-template-columns: 1fr; /* 1 column on extra small screens */
    }
}

.photo-gallery {
    text-align: center;
    margin: 40px auto;
    max-width: 90%;
}

.photo-gallery h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 10px;
}

.gallery-item {
    width: 100%;
    overflow: hidden;
    border: 1px solid #ffffff; /* Add border color */
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.1);
}

.gallery-navigation {
    margin-top: 20px;
}

.gallery-navigation button {
    padding: 14px 30px;
    font-size: 16px;
    background-color: #81b3a3;
    color: #07362a;
    border: none;
    cursor: pointer;
    border-radius: 24px;
    transition: background 0.3s, transform 0.2s;
}

.gallery-navigation button:hover {
    background-color: #b3a41d;
    color: white;
    transform: scale(1.05);
}

/*--------------navbar/excepthomepage--------*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    list-style: none; 
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: auto; 
    margin-right: 20px; 
}

.nav-links li {
    list-style: none; 
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    text-transform: uppercase;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px; 
    background-color: white;
    transition: width 0.3s ease-in-out; 
}

.nav-links li a:hover::after {
    width: 100%; 
}   

/*--------------aboutpage----------*/
.top-space {
    width: 100%;
    height: 50px;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding-left: 20px;
    position: relative;
    z-index: 1001;
}

.page-header {
    width: 100%;
    background: #508E87;
    padding: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: -1;
}

.page-header.hidden {
    opacity: 0;
    visibility: hidden;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 20px;
    justify-content: center;
}

.about-text {
    flex: 1;
    max-width: 500px;
}

.about-text h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffd700;
}

.about-text p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.icon {
    display: flex;
    align-items: center;
}

.icon img {
    width: 40px;
    border-radius: 50%;
}

.location-section {
    padding: 0px 40px 30px; 
} 

.location-section h2 {
    font-size: 2.7em;
    color: #ffd700;
    margin-bottom: 10px;
}  

.location-section p {
    font-size: 1em;
    line-height: 1.6;
}

.map-container {
    margin: 40px 20px;
    text-align: center;
}

.map-container h2 {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #ffffff;
}

.map-container iframe {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/*--------------accommodationpage-----------*/
   
.content-wrapper {
    width: 90%;
    max-width: 1400px;
    margin: 50px auto;
    text-align: center; 
    padding: 10px;
}

.content-wrapper h1 {
    font-size: 2.5em;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.accom-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ensures 3 equal columns */
    gap: 40px;
    padding: 20px;
}

.acc-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 20px; /* Spacing between cards */
    display: flex;
    flex-wrap: wrap;  /* Ensures responsiveness */
    justify-content: center;  /* Centers horizontally */
    align-items: center;  /* Centers vertically */
    gap: 100px; /* Adds spacing between cards */
    min-height: 100vh; /* Ensures full height */
}

.card {
    width: 100%; 
    max-width: 350px;
}

.accom-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(41, 149, 140, 0.1);
}

.accom-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.2);
}

.accom-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.accom-item:hover .accom-image img {
    transform: scale(1.05);
}

.accom-details {
    padding: 25px;
    text-align: center; /* Center accommodation details */
}

.accom-title {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #ffcc70;
    letter-spacing: 1px;
}

.availability {
    font-size: 16px;
    font-weight: bold;
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 5px;
}

.accom-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.accom-divider {
    width: 130px;
    height: 4px;
    background-color: #ffcc70;
    margin: 15px auto; /* center divider */
}

.accom-button {
    display: inline-block;
    margin-top: 12px;
    background: #ffcc70;
    color: #184D47;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 24px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.accom-button:hover {
    background: #ffffff;
    color: #1e3c72;
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .accom-container {
        grid-template-columns: 1fr;
    }

    .content-wrapper h1 {
        font-size: 2em;
    }
}

/*--------------footer-------------*/
footer {
    background-color: #244339;
    color: white;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-logo img {
    width: 100px;
    height: auto;
    border-radius: 50px;
    margin-top: 20px;
    margin-right: 15px;
}

.footer-nav, .footer-contact, .footer-actions {
    flex: 1;
    min-width: 200px;
}

.footer-nav h3, .footer-contact h3, .footer-actions h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
    text-transform: uppercase;
    color: #99d1a8;
}

.footer-nav ul, .footer-actions ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li, .footer-actions ul li {
    margin-bottom: 8px;
}

.footer-nav ul li a, .footer-actions ul li a {
    text-decoration: none;
    color: white;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover, .footer-actions ul li a:hover {
    color: #4caf50;
}

.footer-contact p {
    font-size: 0.9em;
    line-height: 1.6;
}

/* User info styling */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: transparent;
}

.user-name {
    color: white;
    font-weight: 500;
}

.user-actions {
    display: flex;
    gap: 10px;
}

/* Background image styling for specific pages */
.background-page {
    background: url('uploads/back.jpg') no-repeat center center fixed;
    background-size: cover;
    text-align: center;
}

/* Container styling for specific pages */
.special-container {
    max-width: 700px;
    margin: 100px auto;
    padding: 30px;
    background: rgba(22, 17, 17, 0.7);
    border-radius: 10px;
    box-shadow: 0 10px 10px rgba(31, 0, 0, 0.3);
    position: relative;
}

.main-image {
    width: 100%;
    border-radius: 10px;
}

.circle-container {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 0px;
    margin-top: -60px;
}

.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.special-container h1 {
    font-family: 'Brush Script MT', cursive;
    font-size: 36px;
    margin-top: 20px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.note {
    font-size: 16px;
    font-style: italic;
    color: #ccc;
}