@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Source+Sans+Pro:wght@400;600&display=swap');

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Source Sans Pro', sans-serif;
  box-sizing: border-box;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 800 800'%3E%3Cdefs%3E%3CradialGradient id='a' cx='400' cy='400' r='0%25' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23005f3b'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='400' cy='400' r='70%25' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23005f3b'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='800' height='800'/%3E%3Cg fill-opacity='0.07'%3E%3Cpath fill='url(%23b)' d='M998.7 439.2c1.7-26.5 1.7-52.7 0.1-78.5L401 399.9c0 0 0-0.1 0-0.1l587.6-116.9c-5.1-25.9-11.9-51.2-20.3-75.8L400.9 399.7c0 0 0-0.1 0-0.1l537.3-265c-11.6-23.5-24.8-46.2-39.3-67.9L400.8 399.5c0 0 0-0.1-0.1-0.1l450.4-395c-17.3-19.7-35.8-38.2-55.5-55.5l-395 450.4c0 0-0.1 0-0.1-0.1L733.4-99c-21.7-14.5-44.4-27.6-68-39.3l-265 537.4c0 0-0.1 0-0.1 0l192.6-567.4c-24.6-8.3-49.9-15.1-75.8-20.2L400.2 399c0 0-0.1 0-0.1 0l39.2-597.7c-26.5-1.7-52.7-1.7-78.5-0.1L399.9 399c0 0-0.1 0-0.1 0L282.9-188.6c-25.9 5.1-51.2 11.9-75.8 20.3l192.6 567.4c0 0-0.1 0-0.1 0l-265-537.3c-23.5 11.6-46.2 24.8-67.9 39.3l332.8 498.1c0 0-0.1 0-0.1 0.1L4.4-51.1C-15.3-33.9-33.8-15.3-51.1 4.4l450.4 395c0 0 0 0.1-0.1 0.1L-99 66.6c-14.5 21.7-27.6 44.4-39.3 68l537.4 265c0 0 0 0.1 0 0.1l-567.4-192.6c-8.3 24.6-15.1 49.9-20.2 75.8L399 399.8c0 0 0 0.1 0 0.1l-597.7-39.2c-1.7 26.5-1.7 52.7-0.1 78.5L399 400.1c0 0 0 0.1 0 0.1l-587.6 116.9c5.1 25.9 11.9 51.2 20.3 75.8l567.4-192.6c0 0 0 0.1 0 0.1l-537.3 265c11.6 23.5 24.8 46.2 39.3 67.9l498.1-332.8c0 0 0 0.1 0.1 0.1l-450.4 395c17.3 19.7 35.8 38.2 55.5 55.5l395-450.4c0 0 0.1 0 0.1 0.1L66.6 899c21.7 14.5 44.4 27.6 68 39.3l265-537.4c0 0 0.1 0 0.1 0L207.1 968.3c24.6 8.3 49.9 15.1 75.8 20.2L399.8 401c0 0 0.1 0 0.1 0l-39.2 597.7c26.5 1.7 52.7 1.7 78.5 0.1L400.1 401c0 0 0.1 0 0.1 0l116.9 587.6c25.9-5.1 51.2-11.9 75.8-20.3L400.3 400.9c0 0 0.1 0 0.1 0l265 537.3c23.5-11.6 46.2-24.8 67.9-39.3L400.5 400.8c0 0 0.1 0 0.1-0.1l395 450.4c19.7-17.3 38.2-35.8 55.5-55.5l-450.4-395c0 0 0-0.1 0.1-0.1L899 733.4c14.5-21.7 27.6-44.4 39.3-68l-537.4-265c0 0 0-0.1 0-0.1l567.4 192.6c8.3-24.6 15.1-49.9 20.2-75.8L401 400.2c0 0 0-0.1 0-0.1L998.7 439.2z'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
}

/* Typography */
h1 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    margin: 20px 0;
    text-align: center;
    padding: 0 20px;
    color: white;
}

.well {
    font-size: 20px;
    max-width: 1200px;
    margin: 20px auto 40px;
    padding: 0 40px;
    text-align: center;
    line-height: 1.6;
    color: black;
}

/* Navigation & Logo */
.logo {
    position: absolute;
    top: 20px;
    left: 30px;
    max-height: 80px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.back-to-home {
    position: absolute;
    top: 30px;
    right: 30px;
    padding: 12px 25px;
    background-color: white;
    color: #005f3b;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.back-to-home:hover {
    background-color: #005f3b;
    color: white;
    transform: scale(1.05);
    outline: 2px solid white; /* Adds a border effect on hover */
}

.hover-link {
    color: black;
    font-weight: bold;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.hover-link:hover {
    opacity: 0.8;
}

/* Main Header Section */
.main-header {
    padding-top: 120px; /* Space for the logo and home button */
}

/* Luxury Gallery */
.luxury-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
    padding: 40px;
    justify-content: center;
}

.luxury-item {
    width: calc((100% - 40px) / 3);
    margin: 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.luxury-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.luxury-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.luxury-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 95, 59, 0.8); /* #005f3b with transparency */
    backdrop-filter: blur(5px);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 0 20px 20px;
}

.luxury-item:hover .luxury-caption {
    opacity: 1;
}

.luxury-caption h3,
.luxury-caption p {
    margin: 0;
    padding: 0;
}

.luxury-caption h3 {
    font-size: 20px;
    font-weight: 600;
}

.luxury-caption p {
    font-size: 14px;
    margin-top: 5px;
}

.luxury-btn {
    margin-top: 15px;
    padding: 8px 16px;
    font-size: 14px;
    border: 2px solid white;
    background-color: transparent;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.luxury-btn:hover {
    background-color: white;
    color: #005f3b;
}

/* Responsive Adjustments for flexbox */
@media (max-width: 1024px) {
    .luxury-item {
        width: calc((100% - 20px) / 2); /* For 2 columns, with 1 * 20px gap */
    }
}

@media (max-width: 768px) {
    .back-to-home {
        padding: 10px 20px;
        font-size: 14px;
        top: 20px;
        right: 20px;
    }
    .logo {
        max-height: 50px;
        top: 20px;
        left: 20px;
    }
     .main-header {
        padding-top: 100px;
    }
}

@media (max-width: 600px) {
    .luxury-item {
        width: 100%; /* For 1 column, full width */
    }
}