@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #472A0A;
  --secondary-color: #F6E7D2;
  --white-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #666666;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 10px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Prompt', sans-serif;
  background-color: var(--white-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Prompt', sans-serif;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white-color);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

/* Header Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo span {
  color: #D4AF37; /* Gold accent just for contrast, or just keep primary */
}

.nav-links {
  display: flex;
  gap: 30px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links li a {
  font-weight: 500;
  color: var(--primary-color);
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  background: none;
  border: none;
}

/* Hero Section */
.hero {
  width: 100%;
  position: relative;
  margin-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white-color);
  max-width: 1000px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.hero-btns {
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Page Header (for inner pages) */
.page-header {
  height: 40vh;
  min-height: 300px;
  background-color: var(--primary-color);
  background-image: url('../images/messageImage_1777382263532_11zon.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  margin-top: 80px;
  padding-bottom: 40px;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(71,42,10,0.8), rgba(71,42,10,0.8));
}

.page-header-content {
  position: relative;
  z-index: 1;
  color: var(--secondary-color);
}

.page-header-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

/* Accommodation Cards */
.room-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.home-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.room-card {
  background: var(--white-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(246, 231, 210, 0.5);
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.room-img-container {
  height: 250px;
  overflow: hidden;
}

.room-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room-card:hover .room-img {
  transform: scale(1.1);
}

.room-info {
  padding: 25px;
}

.room-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.room-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #D4AF37; /* Accent */
  margin-bottom: 15px;
}

.room-desc {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.room-amenities {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.room-amenities i {
  margin-right: 5px;
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: #FFD700;
  margin-bottom: 15px;
}

.review-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.review-author-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px dashed rgba(71, 42, 10, 0.2);
}

.review-avatar {
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary-color);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--secondary-color);
}

.review-author {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background: var(--secondary-color);
  padding: 40px;
  border-radius: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 20px;
  margin-top: 5px;
}

.contact-details h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.contact-form {
  background: var(--white-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--secondary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Prompt', sans-serif;
  transition: var(--transition);
  background-color: #fafafa;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white-color);
  box-shadow: 0 0 0 3px rgba(71, 42, 10, 0.1);
}

textarea.form-control {
  resize: vertical;
  height: 120px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.feature-item {
  padding: 30px;
  border-radius: 15px;
  background: var(--white-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(246, 231, 210, 0.5);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--secondary-color);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--white-color);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(246, 231, 210, 0.1);
  color: var(--secondary-color);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 231, 210, 0.2);
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1000px;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 5px;
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  color: white;
  position: absolute;
  top: 15px;
  right: 35px;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--secondary-color);
  text-decoration: none;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.3s;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
}

.lightbox-prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

.lightbox-next {
  right: 0;
  border-radius: 0 3px 3px 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--secondary-color);
}

.lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 15px 0;
  font-size: 1.1rem;
}

.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(71, 42, 10, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: white;
  font-size: 3rem;
}

.room-img-container:hover .img-overlay {
  opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {transform:scale(0.95)}
  to {transform:scale(1)}
}

/* Responsive Design */
@media (max-width: 768px) {

  .header-book-btn {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    padding: 20px 0 30px;
    background-color: var(--white-color);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: 0.4s ease-in-out;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .nav-links li a {
    font-size: 1.2rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .room-grid,
  .home-grid {
    grid-template-columns: 1fr;
  }
}

/* Floating Contact Icons */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  z-index: 1000;
}

.floating-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: bottom center;
}

.floating-items.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 1.8rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
}

.float-icon:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: var(--white-color);
}

.float-toggle {
  background-color: var(--primary-color);
  z-index: 1001;
}

.float-toggle:hover {
  background-color: #331e07;
}

.float-toggle.active {
  background-color: #d32f2f;
}

.float-phone {
  background-color: var(--primary-color);
}

.float-phone:hover {
  background-color: #331e07;
}

.float-line {
  background-color: #00B900; /* LINE app brand color */
}

.float-line:hover {
  background-color: #009900;
}

.float-facebook {
  background-color: #1877F2;
}

.float-facebook:hover {
  background-color: #166FE5;
}

.float-tiktok {
  background-color: #000000;
}

.float-tiktok:hover {
  background-color: #333333;
}

.float-map {
  background-color: #EA4335;
}

.float-map:hover {
  background-color: #D33828;
}

.float-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.float-instagram:hover {
  background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #a81579 100%);
}

@media (max-width: 768px) {
  .floating-contact {
    bottom: 80px;
    right: 20px;
    gap: 10px;
  }
  
  .float-icon {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
}
