/* Universal box-sizing for predictable layout */
* {
    box-sizing: border-box;
}

/* Reset and base styles */
body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #FFF8DC;
}

/* This new section ensures the footer is always at the bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* This sets the minimum height of the body to 100% of the viewport height */
}

/* Explicitly remove margins from main page containers */
header,
main,
.site-footer {
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    background-color: rgba(255, 248, 220, 0.7);
    backdrop-filter: blur(5px);
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 20px;
}

.nav-left a,
.nav-right a {
    font-weight: bold;
    text-decoration: none;
    color: #4a4aaf;
    font-size: 18px;
}

/* Logo */
.logo img {
    height: 150px;
    display: block;
}

/* New CSS for the homepage images to remove gaps */
.homepage-images-container {
    display: flex;
    /* Changed to flexbox to ensure no gaps between images */
    flex-direction: column;
    width: 100%;
}

.homepage-image {
    width: 100%;
    height: auto;
    display: block;
}

.homepage-image-two-wrapper {
    position: relative;
    line-height: 0;
}

/* This is the new rule that makes the main content take up all available space */
main {
    flex-grow: 1;
}

/* Overlay Links */
.overlay-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10%;
    pointer-events: none;
    gap: 20%;
}

/* Updated styling for the 'Gallery' link to be more square and bigger */
.overlay-link {
    font-size: 2rem;
    /* Made bigger */
    font-weight: bold;
    color: black;
    text-decoration: none;
    pointer-events: auto;
    border: 2px solid black;
    padding: 25px 30px;
    /* Adjusted padding for a more square shape */
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.7);
    animation: bob 2s infinite alternate;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.overlay-link:hover {
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.9);
}

/* Site Footer */
.site-footer {
    text-align: center;
    background-color: #d1b4c9;
    color: #5d3e69;
    /* Made color darker purple */
    font-size: 14px;
    padding: 20px 0;
}

/* Updated rule for the policies link in the footer */
.site-footer a {
    color: #4a4aaf;
    /* Default purple color for the link */
    text-decoration: none;
    font-weight: bold;
    text-shadow: 0 0 5px #d1b4c9, 0 0 10px #d1b4c9;
    /* Purple glowing effect */
    animation: pulse 2s infinite;
    /* Applied a pulsing animation */
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Hover state for the policies link to turn it pink and make the glow pink */
.site-footer a:hover {
    color: #e598b9;
    /* Pink on hover */
    text-shadow: 0 0 5px #ffb6c1, 0 0 10px #ffb6c1;
    /* Pink glow on hover */
}

/* Animation for the pulsing effect */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Styles for Policies Page */
.policies-page-content {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
    color: #4a4aaf;
}

.policies-page-content h2 {
    color: #e598b9;
    /* Made this a pink color */
    font-size: 2rem;
    margin-top: 30px;
    border-bottom: 2px solid #e598b9;
    /* Made the border bottom pink */
    padding-bottom: 10px;
}

.policies-page-content ul {
    list-style-type: none;
    padding-left: 0;
}

.policies-page-content li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.policies-page-content .site-footer {
    margin-top: 20px;
}

.gallery-footer-adjust {
    margin-top: 20px;
}

.policies-footer-adjust {
    margin-top: 100px;
}

/* Gallery Page Title */
.gallery-title {
    text-align: center;
    color: #4a4aaf;
    font-size: 2.5rem;
    margin-top: 50px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

/* Gallery Page Specific Styles */
.gallery-page-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    justify-content: center;
    padding: 0 0px 50px;
}

.gallery-pic {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    object-position: 100% 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    justify-self: center;
}

.gallery-pic:hover {
    transform: scale(1.05);
}

/* Contact Page Styles (Simplified) */
.contact-section-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
    background-color: #FCE4EC;
}

.contact-container-simple {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-container-simple h1 {
    color: #4a4aaf;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-container-simple p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-links-simple {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact-link-simple {
    display: block;
    padding: 15px;
    width: 100%;
    max-width: 350px;
    background-color: transparent;
    color: #4a4aaf;
    border: none;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contact-link-simple:hover {
    background-color: #fce4ec;
    transform: scale(1.05);
}

.email-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 350px;
}

.email-container .contact-link-simple {
    flex-grow: 1;
}

.copy-btn {
    background-color: #d1b4c9;
    color: #5d3e69;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background-color: #5d3e69;
    color: #fff;
}

/* Booking Page Styles (New) */
.booking-section-glow {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
    background-color: #f2e1e9;
    text-align: center;
}

.booking-glow-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    max-width: 700px;
    transition: transform 0.5s ease-in-out;
}

.booking-glow-card:hover {
    transform: translateY(-10px);
}

.booking-glow-card h1 {
    color: #4a4aaf;
    font-size: 3rem;
    margin-bottom: 20px;
}

.booking-glow-card p {
    color: #555;
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.booking-links-glow {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.booking-btn-glow {
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    background-image: linear-gradient(135deg, #d1b4c9, #4a4aaf);
    color: #fff;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.booking-btn-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
    /* Corrected box-shadow value */
}

.instagram-btn-glow {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    border: 2px solid #4a4aaf;
    color: #4a4aaf;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.instagram-btn-glow:hover {
    background-color: #4a4aaf;
    color: #fff;
}

/* Sparkle effect styles */
@keyframes sparkle-animation {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }

    20% {
        transform: translate(var(--offset-x), var(--offset-y)) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--offset-x), var(--offset-y)) scale(0);
        opacity: 0;
    }
}

.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: gold;
    border-radius: 50%;
    pointer-events: none;
    animation: sparkle-animation 1s ease-out forwards;
    z-index: 1000;
}

/* The bobbing animation for the overlay links */
@keyframes bob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 20px;
    }

    .nav-left,
    .nav-right {
        justify-content: center;
        margin-top: 5px;
        gap: 15px;
    }

    .nav-left a,
    .nav-right a {
        font-size: 16px;
    }

    .logo img {
        height: 80px;
    }

    .site-footer {
        font-size: 12px;
    }

  .homepage-images-container,
    .homepage-image-two-wrapper {
        line-height: 0;
    }

    .homepage-image {
        display: block;
        vertical-align: bottom;
    }
    .services-image {
        max-width: 100%;
        height: auto;
    }
}

    /* Gallery page single column layout for mobile */
    .gallery-page-flex {
        grid-template-columns: 1fr;
    }

    .overlay-links {
        gap: 10%;
        padding-top: 25%;
    }

    .overlay-link {
        font-size: 1.5rem;
        padding: 15px 15px;
        /* Adjusted for a more square mobile look */
    }
}
