/* --- Global Styles & Variables --- */
:root {
    --primary-gold: #D4AF37; /* A classic, rich gold color */
    --dark-charcoal: #222222; /* A deep grey, almost black for text and backgrounds */
    --off-white: #f4f4f4;     /* A soft white for backgrounds */
    --light-grey: #333333;   /* A lighter grey for card backgrounds */
    --font-family: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--off-white);
    color: var(--dark-charcoal);
    line-height: 1.6;
}

main {
    position: relative;
    z-index: 1; /* This ensures the main content stays below the header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--dark-charcoal);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header .container {
    display: flex;
    justify-content: flex-end;  
    align-items: center;
    position: relative;
    padding-top: 50px;
}

header .logo {
    position: absolute;
    top: 20px;
    left: 30px;
    background-color: var(--dark-charcoal);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    z-index: 1001;
    border: 2px solid var(--primary-gold);
}

header .logo img {
    height: 65px;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: var(--primary-gold);
}

/* --- Hero Section --- */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-button {
    background-color: var(--primary-gold);
    color: var(--dark-charcoal);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c5a230;
}

/* --- General Section Styling --- */
section {
    padding: 80px 0;
}

.about-snippet {
    background-color: #ffffff;
    text-align: center;
}

.about-snippet h2, .featured-services h2, .cta-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.cta-button-secondary {
    display: inline-block;
    margin-top: 20px;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background-color: var(--primary-gold);
    color: var(--dark-charcoal);
}

/* --- Featured & Menu Services Section --- */
.featured-services, .services-menu {
    background-color: var(--off-white);
    padding: 80px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;  
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.service-card a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    display: inline-block;
}

.services-menu .service-grid {
    grid-template-columns: repeat(2, 1fr);
}

.badge {
    position: absolute;
    top: -10px;
    right: -35px;
    background-color: var(--primary-gold);
    color: var(--dark-charcoal);
    padding: 20px 30px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- Call to Action Section (on Home Page) --- */
.cta-section {
    background-color: var(--dark-charcoal);
    color: white;
    text-align: center;
}

/* --- Page Header (for sub-pages) --- */
.page-header {
    background-color: var(--dark-charcoal);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin: 0;
}

/* --- About Us Page --- */
.about-content {
    background-color: #ffffff;
    padding: 80px 0;
}

.about-flex-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: var(--primary-gold);
    margin-top: 0;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Detailed Service Page --- */
.service-detail-content {
    padding: 80px 0;
    background: #fff;
}

.service-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.service-intro img {
    flex: 0 0 40%;
    max-width: 450px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-intro .intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

.service-detail-content h3 {
    font-size: 1.8rem;
    color: var(--dark-charcoal);
    border-bottom: 3px solid var(--primary-gold);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* --- Feature Grid for Service Pages --- */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
    margin-bottom: 60px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-top: 5px;
}

.feature-item h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: var(--dark-charcoal);
}

.feature-item p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

/* --- Masonry Gallery Styles --- */
.gallery-section {
    padding: 80px 0;
}

.gallery-masonry {
    /* Create a 3-column layout on desktop */
    column-count: 3;
    /* Add a gap between the columns */
    column-gap: 20px;
}

.gallery-item {
    /* We remove the width property as the columns handle it now */
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    /* This is a crucial property! It prevents an image from being awkwardly cut off and split between two columns. */
    break-inside: avoid;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-category {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark-charcoal);
    margin-top: 40px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-gold);
    display: inline-block;
}

.center-heading {
    text-align: center;
}

/* --- Contact Page Styles --- */
.contact-section {
    padding: 80px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-left-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info h3 {
    color: var(--primary-gold);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: center;
}

.info-item i {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.info-item span {
    font-size: 1.1rem;
    margin-left: 15px;
}

.info-item-link {
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border-radius: 5px;
    margin-bottom: 15px;
}

.info-item-link .info-item span {
    color: #555;
}

.info-item-link .info-item i {
    color: var(--primary-gold);
}

.info-item-link:hover {
    background-color: #f9f9f9;
    transform: translateX(5px);
}

.map-container-small {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    line-height: 0;
    width: 100%;
    height: 300px;
}

.map-container-small iframe {
    width: 100%;
    height: 100%;
}

.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    text-align: center;
    margin-top: 0;
    color: var(--primary-gold);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    box-sizing: border-box;
    font-family: var(--font-family);
    font-size: 1rem;
    background-color: #f7f7f7;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.contact-form button {
    width: 100%;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-color: var(--primary-gold);
    color: var(--dark-charcoal);
    padding: 15px 30px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #c5a230;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transform: translateY(-3px);
}

/* --- Footer --- */
footer {
    background-color: var(--light-grey);
    color: #ccc;
    padding: 20px 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin-right: 15px;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

footer .social-links a {
    font-size: 1.8rem;
    margin-left: 20px;
    color: white;
    transition: color 0.3s ease;
    text-decoration: none;
}

footer .social-links a:hover {
    color: var(--primary-gold);
}


/* --- NEW FEATURES STYLES --- */

/* Back to Top Button */
#back-to-top-btn {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 20px;
    z-index: 100;
    background-color: var(--primary-gold);
    color: var(--dark-charcoal);
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: opacity 0.3s, transform 0.3s;
}

#back-to-top-btn:hover {
    transform: scale(1.1);
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-charcoal);
    color: white;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1002;
    display: none;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}

#cookie-banner p {
    margin: 0;
    padding-right: 20px;
}

#cookie-banner p a {
    color: var(--primary-gold);
    text-decoration: underline;
}

#cookie-banner button {
    background-color: var(--primary-gold);
    color: var(--dark-charcoal);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

#cookie-decline-btn {
    background-color: transparent;
    color: white;
    border: 2px solid var(--primary-gold);
    padding: 8px 20px;
}

/* Privacy Policy Page Styles */
.policy-content {
    background-color: #fff;
    padding: 80px 0;
}

.policy-content .container {
    max-width: 800px;
}

.policy-content h2 {
    color: var(--primary-gold);
    margin-top: 2em;
}

.policy-content ul {
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

/* Booking Nav Button */
.cta-button-nav {
    background-color: var(--primary-gold);
    color: var(--dark-charcoal) !important;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Hamburger Menu */
#hamburger-btn {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

nav.nav-visible {
    display: block !important;
}


/* --- FINAL RESPONSIVE STYLES --- */
@media (max-width: 992px) {
    /* For tablets */
    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    /* --- Hamburger Menu Activation --- */
    #hamburger-btn {
        display: block; /* Show the hamburger button */
    }
    header nav {
        display: none; /* Hide the nav menu by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-charcoal);
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    header nav ul {
        flex-direction: column;
        width: 100%;
    }
    header nav ul li {
        margin: 0;
        text-align: center;
        width: 100%;
    }
    header nav ul li a {
        padding: 15px;
        display: block;
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid var(--light-grey);
    }
    .cta-button-nav {
        border-radius: 0;
    }
    /* --- End Hamburger Menu --- */

    /* Header Layout */
    header .container {
        flex-direction: row;
        padding-top: 0;
        height: 85px; /* Increased height to accommodate logo */
        justify-content: space-between;
    }
    header .logo {
        position: static;
        border: none;
        box-shadow: none;
        padding: 0;
        background: none;
        transform: none;
        left: auto;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.2rem;
    }

    /* About Page */
    .about-flex-container {
        flex-direction: column;
    }

    /* Detailed Service Page */
    .service-intro {
        flex-direction: column;
        text-align: center;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* Services Menu Page */
    .services-menu .service-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    footer .container {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    /* For mobile phones */
    .gallery-masonry {
        column-count: 2;
    }
}
/* --- Fix for CTA Button on Small Mobile Screens --- */
@media (max-width: 480px) {
    .cta-button {
        /* Reduce the padding on smaller screens */
        padding: 15px 20px;
        /* Slightly decrease the font size to help it fit */
        font-size: 0.95rem; 
    }
}