:root {
    --primary: #2c3e50;
    --accent: #d4af37; /* Gold accent */
    --light: #f8f9fa;
    --dark: #1a1a1a;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--dark); scroll-behavior: smooth; background: #fff; }

/* --- Navigation --- */
header {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
}
nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-weight: 600; font-size: 1.5rem; letter-spacing: 1px; color: var(--primary); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-size: 0.9rem; font-weight: 400; transition: var(--transition); }
.nav-links a:hover { color: var(--accent); }
.btn-book {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600 !important;
}

/* --- Sections --- */
section { padding: 100px 2rem; max-width: 1200px; margin: 0 auto; }
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 100px;
    background-image:
      linear-gradient(
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)
      ),
      url("../img/mvv_sign.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
}

.hero a {
    text-decoration: none;
    background-color: black;
    color: white;
}

.hero a:hover { background-color: lightgray; }

h2 { font-size: 2.5rem; margin-bottom: 3rem; text-align: center; font-weight: 300; }
h3 { font-size: 1.5rem; margin: 2.5rem 0; text-align: center; font-weight: 200; }

.img-placeholder img{
  height: inherit;
  width: inherit;
}

.room-info {
  margin: 0 10%;
  text-align: center;
  font-weight: 600;
}

/* --- Facilities --- */
.facilities-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    background: var(--light);
    padding: 4rem 2rem;
    border-radius: 12px;
}
.facility-item { text-align: center; flex: 1; min-width: 150px; }
.facility-item i { display: block; font-size: 2rem; margin-bottom: 1rem; }

/* --- Go To Top Button --- */
#goTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

footer { text-align: center; padding: 4rem; color: #888; border-top: 1px solid #eee; }

@media (max-width: 768px) {
    .nav-links { display: none; } /* Mobile optimization needed for production */
}

/* Gallery Container */
.motel-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0;
}

/* Individual Card */
.gallery-card {
    flex: 1 1 calc(33.333% - 15px);
    min-width: 280px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

/* Image Handling */
.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover; /* Ensures images align even if original sizes vary */
    display: block;
}

/* Title Styling */
.gallery-card h3 {
    margin: 0;
    padding: 12px;
    font-size: 1.1rem;
    text-align: center;
    background: #fff;
    color: #333;
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .gallery-card { flex: 1 1 100%; }
}


.qr-container {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9; /* Subtle contrast from the gallery */
    border-radius: 8px;
    margin: 20px auto;
    max-width: 300px;
}

.qr-image {
    width: 200px; /* Adjust based on your image size */
    height: 200px;
    margin: 0 auto 15px;
    display: block;
    border: 5px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.qr-cta {
    font-size: 1.2rem;
    font-weight: bold;
    color: #222;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qr-subtext {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}
