/* Reset and global settings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header and Navigation */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #ffd272;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

body {
  padding-top: 80px;
  font-family: Times New Roman, serif;
}

/* Logo with image */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 50px;
  width: auto;
}

.logo a {
  text-decoration: none;
  font-size: 32px;
  font-weight: bold;
  color: #333;
  font-family: Times New Roman, serif;
}

/* Navigation styles */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 20px;
  font-family: Times New Roman, serif;
}

.main-nav ul li a:hover {
  color: #e86800;
}

/* Home Page */
.hero {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}


/* Home Page - Image slider */
.slides-container {
  display: flex;
  width: 300%;
  height: 100%;
}

.hero:hover .slides-container {
  animation-play-state: paused;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}


/* Home Page - Text overlay */
.hero-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 12px;
  color: white;
  z-index: 1;
}

.hero-text h1 {
  font-size: 60px;
  margin-bottom: 20px;
  font-family: Georgia, serif;
}

/* Home Page - Find Now Button */
.text-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #78a5ed;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s;
  font-family: Times New Roman, serif;
}

.text-button:hover {
  background-color: #163e93;
}

/* Home Page - Region Navigation */
.explore {
  text-align: center;
  margin-top: 50px; 
  margin-bottom: 30px;
}

.explore h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.explore p {
  font-size: 16px;
  color: #555;
}

.region-nav .city-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px;
  justify-items: center;
  margin-top: 30px;
  padding: 0 20px; 
}

.city-link {
  position: relative;
  display: block;
  width: 80%; 
  height: 0;
  padding-top: 60%; 
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 
}

.city-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.city-link:hover .city-img {
  transform: scale(1.05); 
}

.city-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

/* Region Page */
.region-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 20px;
  align-items: center;
  justify-content: center;

  /* Region Page - Add background image */
  background-image: url('home images/korea.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 0;
}

.region-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white; 
  opacity: 0.8; 
  z-index: -1;
}

.text-container {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.text-container h1 {
  font-size: 36px;
  margin-bottom: 15px;
  font-family: Georgia, serif;
}

.text-container p {
  font-size: 16px;
  line-height: 1.6;
  font-family: Times New Roman, serif;
}

.video-container {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  position: relative;
  margin-left: 100px;
}

.region-video {
  width: 100%;
  height: 315px;
  border-radius: 10px;
}

/* Region Page - Additional City Background Overrides */
.city-intro {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 140px 20px;
  color: #000;
  text-align: center;
  min-height: 400px;
  z-index: 0;
}

.city-intro::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: -1;
}

body.seoul-page .city-intro {
  background-image: url('city images/seoul1.jpg');
}
body.incheon-page .city-intro {
  background-image: url('city images/incheon1.jpg');
}
body.busan-page .city-intro {
  background-image: url('city images/busan1.jpg');
}
body.jeju-page .city-intro {
  background-image: url('city images/jeju1.jpg');
}

.city-intro h1 {
  font-size: 60px;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}

.city-intro p {
  font-size: 21px;
  max-width: 1300px;
  margin: auto;
  line-height: 1.6;
  font-family: Times New Roman, serif;
}

.hotel-images {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.hotel-img {
  width: 440px; 
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.hotel-list-section {
  max-width: 1400px;
  margin: 40px auto 40px 220px;
  padding: 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-family: Times New Roman, serif;
}


.hotel-list-section ul {
  list-style-type: none;
  padding-left: 0;
}

.hotel-list-section ul ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 20px;
  font-size: 16px;
  color: #333;
}

.hotel-list-section ul ul li {
  margin-bottom: 5px;
}

.hotel-list-section li {
  margin-bottom: 40px;
}


.hotel-list-section h2 {
  margin-top: 30px;
  font-size: 26px;
  font-family: Georgia, serif;
  text-align: center;
}

.hotel-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.hotel-table th, .hotel-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.hotel-table th {
  background-color: #f7f7f7;
  font-weight: bold;
}

/* Region Page - Sidebar Navigation */
.sidebar {
  position: fixed;
  top: 0; 
  left: 0;
  width: 200px;
  background-color: #ffe5ac;
  padding: 100px 20px 20px; 
  height: 100vh;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.sidebar h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}

.sidebar ul {
  list-style-type: none;
  padding-left: 0;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-family: Times New Roman, serif;
}

.sidebar ul li a:hover {
  color: #fb7500;
}

/* About Us Page */
body.about-page {
  background-color: #f5e8d4;
}

body.about-page main {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

body.about-page .about-section {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-family: Times New Roman, serif;
}

body.about-page .about-section h2 {
  font-size: 26px;
  font-family: Georgia, serif;
  margin-bottom: 15px;
  color: #333;
}

body.about-page .about-list {
  list-style: none;
  padding-left: 0;
}

body.about-page .about-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

body.about-page .about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ffa500;
}


/* Contact Us Page */
body.contact-page {
  background-color: #f5e8d4;
}

form {
  display: flex;
  flex-flow: column nowrap;
}

input, textarea {
  margin-bottom: .5em;
}

input {
  padding: .5em;
}

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}
/* Contact Us - Star Rating */
.star-rating {
  direction: rtl;
  display: inline-flex;
  font-size: 2rem;
}

.star-rating input[type="radio"] {
  display: none;
}

.star-rating label {
  color: lightgray;
  cursor: pointer;
  transition: color 0.2s;
}

.star-rating input[type="radio"]:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: gold;
}

/* Contact Us - Thank You Message Styling */
#thankYouMessage {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: Times New Roman, serif;
  line-height: 1.6;
  display: none;
}


/* FAQ Section Styling */
body.faqs-page {
  background-color: #f5e8d4;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
}

.faq {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
  transition: box-shadow 0.3s;
}

.faq:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.faq h2 {
  font-size: 22px;
  color: #333;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}

.faq p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  font-family: Times New Roman, serif;
}

.faq a {
  color: #3b82f6;
  text-decoration: none;
}

.faq a:hover {
  text-decoration: underline;
}

main h1 {
  margin-top: 50px;
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  font-family: Georgia, serif;
}



/* Contact Section */
#contact {
  padding: 40px 30px;
  text-align: left;
}

#contact address {
  font-style: normal;
  line-height: 1.6;
  font-size: 16px;
  color: #333;
  font-family: Times New Roman, serif;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #f1f1f1;
  margin-top: 40px;
  font-family: Times New Roman, serif;
  font-style: italic;

}

footer a {
  color: #3b82f6;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (min-width: 600px) {
  form {
      display: grid;
      grid-template-columns: 6em 1fr;
      grid-template-rows: auto;
      grid-gap: 1em;
  }

  #submit {
      grid-column: 2/3;
      width: 9em;
  }
}

/* Ensure full height and flex column layout */
html, body {
  height: 100%;
}

#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Let main take all available space */
main {
  flex: 1;
}
