/* ==============================
   GLOBAL RESETS & BASE STYLES
   ============================== */

/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scrolling & box-sizing */
html, body {
    scroll-behavior: smooth;
    /* Hide any accidental horizontal scroll from the overall page */
    overflow-x: hidden;
}

body {
    /* Ensure the body occupies full viewport height for background usage */
    min-height: 100vh;

    /*
      Background set to cover entire viewport.
      Using fixed attachment for a parallax-like effect (may not work on iOS).
      Adjust path if needed for your actual image location.
    */
    background: url("/images/AirBnbBackgroundSerenity.jpg") no-repeat center center fixed;
    background-size: cover;

    font-family: Arial, sans-serif;
    line-height: 1.5;
    color: #333;
}

/* Links appearance */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: 0.8;
}

/* ==============================
   NAVBAR / HEADER STYLES
   ============================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 110px; /* Slightly taller for a grand look */

    /*
       Luxurious gradient from gold to semi-transparent white.
       Adjust angles, colors, or opacities as you like.
    */
    background: linear-gradient(
            90deg,
            rgba(201, 179, 123, 0.9) 0%,
            rgba(255, 255, 255, 0.8) 100%
    );

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px; /* More left/right spacing */
    z-index: 999; /* Keep navbar on top */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
}

.header-logo {
    /* Larger logo for more brand presence */
    max-height: 90px;
    opacity: 0.95;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
    transition: opacity 0.2s;
}

.header-logo:hover {
    opacity: 1;
}

/* Navigation links container */
.nav-links {
    display: flex;
    gap: 25px; /* Slightly bigger gap between links */
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.nav-links a {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    font-weight: 600;
    font-size: 1.1em;

    /* Add the same padding + border-radius as on hover */
    padding: 2px 6px;
    border-radius: 4px;

    /* Transition only background and color for a smoother effect */
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
    color: #8B6A2E;
    background: rgba(201, 179, 123, 0.1);
}

.nav-links a.active {
    color: #8B6A2E; /* Gold highlight on hover or active */
}

/* Using a custom heading font for nav items */
.nav-links a {
    font-family: 'Playfair Display', serif;
}

/* For mobile/hamburger menu */
.menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}

/* ==============================
   RESPONSIVE NAVBAR (MEDIA QUERIES)
   ============================== */

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 110px; /* match .navbar height */
        right: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
        max-height: 0;
        overflow: hidden;
    }

    .nav-links.active {
        max-height: 300px; /* expand on mobile toggle */
        padding: 20px 0;
    }

    .menu-icon {
        display: flex; /* hamburger menu visible on mobile */
    }
}

/* ==============================
   MAIN WRAPPER / CONTAINER
   ============================== */

.container {
    /*
      Placing main content below the fixed navbar.
      Margin-top should match or exceed navbar height.
    */
    margin: 160px auto 40px auto;
    min-height: 400px; /* or any suitable number */
    max-width: 1200px;
    padding: 20px;

    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* RESPONSIVE - reduce top margin & side padding for smaller screens */
@media (max-width: 768px) {
    .container {
        margin-top: 140px; /* was 130, a bit more margin for the 110px navbar */
        padding: 15px;
    }
}

/* ==============================
   HEADINGS & TEXT
   ============================== */

h2 {
    /* Make headings bigger for a more upscale feel */
    font-size: 2.2em;
    margin-bottom: 15px;
    text-align: center;
    color: #333;
    letter-spacing: 1px;
    position: relative;
}

/* A subtle gold divider under the h2 text for each .section */
h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 10px auto 0;
    background-color: #c9b37b;
}

.section p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
    font-size: 1.05em; /* slightly larger text */
}

/* ==============================
   SWIPER / GALLERY STYLES
   ============================== */

/* Keep each slide in the container, no overflow on the page itself */
.swiper-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    /*
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 10px;
    */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    /* The aspect-ratio ensures consistent 16:9 shape. */
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

/* The image itself fills the slide area with cropping if necessary. */
.slides {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Optional caption style */
.swiper-slide .text {
    position: absolute;
    bottom: 10%;
    left: 5%;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Swiper nav arrows + pagination */
.swiper-button-next,
.swiper-button-prev {
    color: #333;
    transition: 0.3s;
    font-size: 1.2em; /* slightly larger arrows */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #c9b37b;
}

.swiper-pagination-bullet {
    background: #333;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #c9b37b;
}

/* ==============================
   SECTION WRAPPER
   ============================== */

.section {
    background-color: rgba(249, 249, 249, 0.9);
    border-radius: 10px;
    padding: 25px; /* bigger padding */
    margin-top: 20px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* ==============================
   FORMS (Feedback, etc.)
   ============================== */

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto; /* center the form */
}

form label {
    font-weight: 600;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    font-family: inherit;
}

form input[type="submit"] {
    width: 120px;
    padding: 10px;
    font-size: 1em;
    cursor: pointer;
    background-color: #c9b37b;
    border: none;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #b59b6e; /* slightly darker gold */
}

/* ==============================
   FOOTER
   ============================== */

.footer {
    background: linear-gradient(
            90deg,
            rgba(201, 179, 123, 0.95) 0%,  /* more opacity or slightly darker gold */
            rgba(255, 255, 255, 0.9) 100%
    );
    margin: 20px auto 0;
    padding: 40px 30px;  /* bigger top/bottom for a more grand feel */
    position: relative;
    z-index: 2;
    text-align: center; /* We’ll override for .footer-content if needed */
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* so it can stack on smaller screens */
    max-width: 1000px; /* narrower than 1200 if you want less wide spacing */
    margin: 0 auto;
    gap: 20px;
    text-align: left;
}

@media (max-width: 768px) {
    .footer-content {
        text-align: center; /* center everything on mobile */
        flex-direction: column; /* stack columns */
        gap: 15px;
    }
}

.footer-brand {
    margin-bottom: 15px;
}

.footer-logo {
    max-height: 80px; /* or bigger if desired */
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.3));
    display: block;
    margin-bottom: 10px;
}

/* =========== Footer links =========== */

.footer-links {
    display: flex;         /* place .social-links and .contact-info vertically below each other or side by side */
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

@media (max-width: 768px) {
    .footer-links {
        align-items: center; /* center on mobile */
    }
}

/* Social icons row */
.social-links {
    display: flex;
    flex-direction: row;
    gap: 15px;  /* spacing between each icon link */
}

.social-links a {
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap; /* keep text + icon on one line */
}

/* Contact info below social links */
.contact-info {
    font-weight: 500;
}

/* If you want it on the right side for large screens,
   remove 'flex-direction: column;' above and do something like:
   .contact-info { margin-left: auto; }
   but this will separate it horizontally. */

/* =========== Icon brand colors =========== */
/* Target the icon by the Font Awesome classes */
.fa-facebook-f {
    color: #1877F2; /* Official FB color */
}
.fa-instagram {
    color: #E1306C; /* Instagram pinkish color */
}
.fa-house {
    color: #FF5A5F; /* Airbnb brand color */
}

/* Optionally override on hover if you want a different effect */
.social-links a:hover .fa-facebook-f {
    color: #145DBF; /* a darker shade on hover, for instance */
}

/* If you want entire link (text + icon) brand-colored, remove the .fa-* targeting
   and directly style .social-links a for each link. */

/* ==============================
   RESPONSIVE UTILITIES
   ============================== */

@media (max-width: 768px) {
    h2 {
        font-size: 1.8em;
    }
    .section p {
        font-size: 1em;
    }
    .slides {
        border-radius: 0; /* If you want to remove radius on small screens */
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.5em;
    }

    form input[type="text"],
    form input[type="email"],
    form textarea {
        font-size: 0.9em;
    }

    .menu-icon .bar {
        width: 20px;
    }
}