:root {
  --primary: #A0A060;   /* Olive green */
  --secondary: #000000; /* Black */
  --background: #FFFFFF; /* White */
  --accent: #C2C2A0;    /* Lighter olive */
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: var(--background);
  color: var(--secondary);
}

nav {
  display: flex;
  justify-content: space-between; /* logo left, links right */
  align-items: center;
  background: var(--primary);
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo + text side by side */
.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 70px;
  margin-right: 10px; /* space between logo and text */
}

.nav-logo h1 {
  font-size: 1.5rem;
  color: var(--background);
  margin: 0;
}

/* Navigation links */
.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: var(--background);
  margin-left: 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav-links a:hover {
  background: var(--accent);
  color: var(--secondary);
}

/* Header */
header {
  position: relative;
  background: url('Media/bg2.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: var(--background);
}

.header-content .logo {
  width: 250px;        /* adjust size */
  margin-bottom: 15px; /* space between logo and text */
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  animation: fadeInUp 1.5s ease-in-out;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

header p {
  font-size: 1.5rem;
  font-weight: 300;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  header p {
    font-size: 1rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

/* About Section */
#about h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

#about h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

#about p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
  margin: auto;
}

@media (max-width: 768px) {
  #about h2 {
    font-size: 1.8rem;
  }
  #about p {
    font-size: 1rem;
  }
}

h2 {
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

/* Rooms */
#rooms {
  text-align: center;
}

#floorSelect {
  padding: 0.5rem;
  margin-bottom: 2rem;
}

.rooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.room-card {
  background: var(--background);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  border: 1px solid var(--accent);
}

.room-card:hover {
  transform: translateY(-5px);
}

.room-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.room-card h3 {
  margin: 0.5rem 0;
}

.room-card p {
  font-size: 0.95rem;
  margin: 0.3rem 0;
}

.details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  text-align: left;
  padding: 0 1rem;
  border-top: 1px solid var(--accent);
  background: #f5fdf6;
}

/* When open */
.details.open {
  max-height: 220px;
  padding: 1rem;
  overflow-y: auto;
  scrollbar-width: thin;
}

/* Chrome scrollbar styling */
.details.open::-webkit-scrollbar {
  width: 6px;
}
.details.open::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.details p {
  margin: 0.3rem 0;
}

.details strong {
  color: var(--primary);
}

.details-btn {
  background: var(--primary);
  border: none;
  color: var(--background);
  padding: 0.6rem 1.2rem;
  margin: 1rem 0;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.details-btn:hover {
  background: var(--accent);
  color: var(--secondary);
}

/* Pagination */
.pagination {
  margin-top: 2rem;
  text-align: center;
}

.pagination button {
  background: var(--primary);
  border: none;
  color: var(--background);
  padding: 0.5rem 1rem;
  margin: 0 0.3rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.pagination button.active {
  background: var(--accent);
  font-weight: bold;
  color: var(--secondary);
}

.pagination button:hover {
  background: var(--accent);
  color: var(--secondary);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Contact */
.contact-info {
  text-align: center;
  font-size: 1.1rem;
}

.contact-info p {
  margin: 0.5rem 0;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--background);
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

.map-container {
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.logo-text {
      font-family: 'Great Vibes', cursive; /* Script style for "Capitol" */
      font-size: 48px;
      color: goldenrod;
    }

.inn-text {
  font-family: 'Raleway', sans-serif; /* Clean modern font for "Park Inn" */
  font-size: 42px;
  font-weight: 600;
  color: #f5fdf6;
}