body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to bottom, #f8fafc, #1c3c59); /* Soft snow white to deep alpine blue */
    margin: 0;
    padding: 20px;
    text-align: center;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Header Section */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px 10px;
    background: #1c3c59; /* Deep alpine blue */
    color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.logo {
    max-height: 60px;
    margin-left: 20px;
}

/* Back to Home Button */
.back-to-home {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f5e9c9; /* Soft cream tone from logo */
    color: #1c3c59; /* Deep blue text */
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: bold;
    margin-right: 20px;
}

.back-to-home:hover {
    background-color: #1c3c59;
    color: #ffffff;
}

/* Typography */
h1 {
    color: #1c3c59;
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

h2 {
    color: #236d89; /* Lighter alpine blue */
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: bold;
}

p {
    font-size: 18px;
    color: #2c2c2c;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 3px solid #236d89; /* Alpine blue border */
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(35, 109, 137, 0.3);
}

/* Cookie Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1c3c59; /* Deep alpine blue banner */
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    z-index: 9999;
    padding: 20px;
    text-align: center;
    box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 1rem;
}

.cookie-link {
    color: #f5e9c9; /* Cream accent */
    text-decoration: none;
    font-weight: bold;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-accept, .cookie-reject {
    background-color: #f5e9c9; /* Soft cream buttons */
    color: #1c3c59;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cookie-accept:hover, .cookie-reject:hover {
    background-color: #236d89; /* Mid-tone alpine blue */
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .back-to-home {
        font-size: 14px;
        padding: 8px 15px;
    }

    h1 {
        font-size: 28px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-accept, .cookie-reject {
        margin: 10px 0;
        width: 100%;
    }
}

/* Accent Links */
.well5 {
    font-size: 19px;
    margin-bottom: 40px;
    color: #236d89; /* Lighter alpine blue */
    text-decoration: none;
}

.well1 {
    font-size: 40px;
    margin-bottom: 40px;
    color: #1c3c59; /* Deep blue header */
    text-decoration: none;
}
/* Gallery Section */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

/* Each gallery card */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    width: 100%;
    max-width: 280px; /* Keeps grid balanced */
}

/* Image container - uniform sizing */
.gallery-item img {
    width: 100%;
    height: 200px; /* 🔹 Set a fixed height for all images */
    object-fit: cover; /* 🔹 Ensures uniform cropping */
    border-radius: 15px;
    border: 3px solid #f5e9c9; /* Cream border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effects */
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(28, 60, 89, 0.3);
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .gallery-item img {
        height: 160px; /* Slightly shorter on small screens */
    }
}
