/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Home */
body {
    font-family: 'Roboto', sans-serif;
    font-size: large;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ✅ Normal Font Sizes */
p {
    font-size: 1.8rem;
    font-weight: 500;
}

h3 {
    font-size: 2rem;
    font-weight: bold;
}

li {
    font-size: 1.8rem;
}

/* ✅ Hotel Location (Pinakamalaki) */
.hotel-location {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
}

/* ✅ Responsive Fix */
@media (max-width: 1024px) {
    p {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    li {
        font-size: 1.6rem;
    }

    .hotel-location {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    p {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.6rem;
    }

    li {
        font-size: 1.4rem;
    }

    .hotel-location {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    p {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    li {
        font-size: 1.2rem;
    }

    .hotel-location {
        font-size: 1.5rem;
    }
}
.hotel-image {
    max-width: 100%;  /* ✅ Para hindi lumagpas sa container */
    height: auto;  /* ✅ Para hindi ma-distort */
    display: block;  /* ✅ Para hindi magkaproblema sa spacing */
    margin: 0 auto;  /* ✅ Para laging nasa gitna */
    border-radius: 10px;  /* ✅ Para medyo rounded */
}

/* ✅ Responsive adjustments */
@media (max-width: 1024px) {
    .hotel-image {
        width: 80%;  /* ✅ Para hindi masyadong malaki sa tablet */
    }
}

@media (max-width: 768px) {
    .hotel-image {
        width: 90%;  /* ✅ Mas maliit na konti para sa phones */
    }
}

@media (max-width: 480px) {
    .hotel-image {
        width: 100%;  /* ✅ Full width sa small phones */
    }
}


/* Header section */
header {
    background-image: url('./headerbg.jpg');
    background-size: cover;
    background-position: center;
    width: 100vw; /* Buong screen width */
    height: 100vh; /* Buong screen height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 1s ease-in-out;
    position: relative;
    overflow: hidden; /* Para di maglapaw */
    margin: 0; /* Alisin ang margin */
    padding: 0; /* Alisin ang padding */
}

/* ✅ Fix sa Header Content */
.header-content {
    text-align: center;
    color: white;
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%; /* Buong lapad */
    max-width: none; /* Walang limit sa lapad */
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.6); /* Para visible ang text */
    padding-top: 10px;
    transition: opacity 0.5s ease-out, transform 0.5s ease-in-out;
}

/* ✅ Hide & Show Effect */
.header-content.hidden {
    opacity: 0;
    transform: translateY(-50px);
}

.header-content:hover {
    opacity: 1 !important;
    transform: translateY(0);
    transition: opacity 0.5s ease-in, transform 0.5s ease-in-out;
}

/* ✅ Responsive Design */
@media (max-width: 1024px) {
    .header-content {
        padding: 15px;
    }

    h1 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 15px;
    }

    h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 10px;
    }

    h1 {
        font-size: 20px;
    }
}



/* Hotel name in Montserrat font */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

/* Navigation menu container */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Individual navigation items */
nav ul li {
    display: inline-block;
}

/* Styling for navigation links */
nav ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
    font-weight: 700;
}

/* Hover effect for navigation links */
nav ul li a:hover {
    color: #ff4081;
}

/* Body content section */
#body {
    text-align: center;
    padding: 50px 20px;
    background-color: #f0f0f0;
    margin-top: 120px;
}

/* Fade-in effect */
.fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade.visible {
    opacity: 1;
    transform: translateY(0);
}



/* Section header (Experience Comfort) */
h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 0px;
    color: #333;
    font-weight: 700;
}

/* About Section Styling */
#about {
    text-align: center;
    padding: 50px 20px;
    background-color: #f0f0f0;
    margin-top: 100px;
}

/* About Us Photos Collage Style */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.photo-gallery img.animated-photo {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

/* Hover effect for gallery images */
.photo-gallery img.animated-photo:hover {
    transform: scale(1.3);
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.modal.active {
    display: flex;
}

/* Responsive Sections */
#rooms, #events, #contacts {
    text-align: center;
    padding: 50px 20px;
    background-color: #e0e0e0;
    margin-top: 120px;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-height: 100vh;
}

/* Make Room and Event images clickable */
.photo-gallery img {
    cursor: pointer;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    h1 {
        font-size: 5rem;
    }

    .photo-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/*Contact us*/
.map {
    width: 100%;  /* ✅ Para di lumagpas sa container */
    max-width: 600px;  /* ✅ Limit size sa malalaking screen */
    margin: 0 auto;  /* ✅ Center sa page */
}

.map iframe {
    width: 100%;  /* ✅ Para mag-adjust sa screen */
    height: 300px;  /* ✅ Default height */
    border-radius: 10px;  /* ✅ Para di mukhang dry */
}

/* ✅ Responsive adjustments */
@media (max-width: 768px) {
    .map iframe {
        height: 250px;  /* ✅ Medyo maliit sa tablets */
    }
}

@media (max-width: 480px) {
    .map iframe {
        height: 200px;  /* ✅ Mas maliit sa phones */
    }
}
