/* =========================================================
   🎨 GLOBAL VARIABLES & BASE STYLES
========================================================= */
:root {
  --primary: #1A1AFF;
  --secondary: #FF7A00;
  --light: #F9FAFF;
  --text: #333;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--light);
  color: var(--text);
}

/* =========================================================
   🧭 HEADER & NAVIGATION
========================================================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo img {
  height: 40px;
}

/* --- Navigation Links --- */
nav a {
  margin: 0 20px;
  padding: 8px 12px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.3s ease, background 0.3s ease;
}

nav a:hover {
  color: var(--secondary);
  background: rgba(255, 122, 0, 0.1);
}

nav a.active {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

/* --- Dropdown Menu --- */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 1;
}

.dropdown-content a {
  color: var(--primary);
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background: var(--light);
  color: var(--secondary);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* --- Hamburger Icon & Mobile Menu --- */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 70px;
  right: 20px;
  width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  z-index: 1000;
}

.mobile-menu a {
  padding: 12px 16px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

.mobile-menu a:hover {
  background: var(--light);
  color: var(--secondary);
}

/* --- Responsive Navigation --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: block;
  }
}

/* =========================================================
   🌅 HERO SECTION
========================================================= */
.hero {
  background: url('images/Pendray2.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 140px 20px;
  position: relative;
  animation: fadeIn 1.5s ease;
}

.hero h1, .hero p {
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}
.btn:hover {
  background: #e56c00;
}

/* --- Promo Banner --- */
.promo-banner {
  background: var(--secondary);
  color: white;
  text-align: center;
  padding: 12px 0;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 40px 0;
  border-radius: 6px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}
.discount-banner {
  background: var(--secondary);
  color: white;
  padding: 10px 0; /* thinner height */
  overflow: hidden;
  position: relative;
  border-radius: 2px;
  white-space: nowrap;
  margin-bottom: 120px;
  margin-top: 5px;
}   

.ticker {
  display: inline-block;
  animation: scrollText 35s linear infinite;
  font-weight: 600;
}

/* Continuous scrolling effect */
@keyframes scrollText {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Optional: pause on hover */
.ticker:hover {
  animation-play-state: paused;
}


/* =========================================================
   🏠 ROOMS & ROOM DETAILS
========================================================= */
/* Rooms section */
.rooms {
  padding: 80px 40px;          /* more top/bottom padding */
  text-align: center;
  background: linear-gradient(to bottom, #f8f6f2, #ffffff);
  margin-bottom: 90px;         /* space before next section */
  margin-left: 80px;             /* slight side margin for breathing room */
  margin-right: 80px;
}

/* Grid layout for cards */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;                   /* more space between cards */
  max-width: 800px;            /* keeps cards narrower, centered */
  margin: 0 auto;              /* centers the grid */
  
}

/* Room card */
.room-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: center;          /* centers all text inside */
}
.room-card:hover { transform: translateY(-5px); }

.room-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.room-card h3 {
  color: var(--primary);
  margin: 15px 0 10px;
  font-size: 1.2rem;
}

.room-card p {
  margin: 0 20px 15px;
  color: #555;
  font-size: 0.95rem;
}

.room-card .price {
  font-weight: bold;
  color: var();
  margin-bottom: 15px;
}

/* Button */
.room-card .btn {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 15px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-bottom: 15px
}
.room-card .btn:hover { background: #e56c00; }

/* Section heading */
h2 {
  font-size: 2rem;
  margin-bottom: 40px;         /* more space below heading */
  color: var(--primary);
  text-align: center;
}


.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.scroll-container::-webkit-scrollbar {
  height: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 4px;
}

.activity-card {
  flex: 0 0 280px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-5px);
}

.activity-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.activity-card h3 {
  color: var(--primary);
  margin: 15px 0 10px;
}

.activity-card p {
  color: #555;
  margin: 0 15px 15px;
}


/* --- Room Detail Page --- */
.room-detail {
  padding: 60px 40px;
  text-align: center;
}
.detail-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.detail-gallery img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* =========================================================
   🎯 ACTIVITIES & ABOUT
========================================================= */
.activities {
  padding: 60px 40px;
  text-align: center;
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
.activity-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}
.activity-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.activity-card h3 {
  color: var(--primary);
  margin: 15px;
}
.activities {
  padding: 60px 40px;
  background: var(--light);
}



/* --- About Section --- */
.about {
margin-top: 60px;
  padding: 60px 40px;
  text-align: center;
  background: #fff;
}
.credibility {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}
.credibility div {
  background: var(--light);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/* About Section */
.about {
  padding: 80px 40px;
  background: #fff;
}

.about h2 {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 40px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.about-text {
  flex: 1 1 400px;
  max-width: 600px;
  color: #555;
  line-height: 1.7;
}

.about-text p {
  margin-bottom: 20px;
}

.about-image {
  flex: 1 1 300px;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.image-caption {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: var(--secondary);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Credibility Cards */
.credibility {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.credibility div {
  background: var(--light);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-width: 250px;
  text-align: center;
  transition: transform 0.3s ease;
}

.credibility div:hover {
  transform: translateY(-5px);
}

.credibility h3 {
  color: var(--secondary);
  margin-bottom: 10px;
}
/* About Section */
.about {
  background: linear-gradient(135deg, var(--primary) 50%, var(--secondary) 50%);
  color: white;
  padding: 80px 40px;
}

.about-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.about-text {
  flex: 1 1 400px;
  max-width: 600px;
}

.about-text h2 {
  color: var(--secondary);
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
}
.about-text p {
  color: #fff; /* pure white for readability */
}

.about-text p, .about-text h2 {
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}


.about-text p {
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Images */
.about-images {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.image-card {
  position: relative;
}

.image-card img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.image-caption {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}
/* Animation Keyframes */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Apply Animations */
.about-text {
  animation: fadeInLeft 1.2s ease forwards;
}

.about-images {
  animation: fadeInRight 1.2s ease forwards;
}

/* Optional: stagger image cards */
.image-card {
  opacity: 0;
  animation: fadeInRight 1.2s ease forwards;
}
.image-card:nth-child(1) {
  animation-delay: 0.3s;
}
.image-card:nth-child(2) {
  animation-delay: 0.6s;
}

/* Credibility Cards */
.credibility {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.credibility div {
  background: rgba(255,255,255,0.1);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  max-width: 250px;
  text-align: center;
  transition: transform 0.3s ease;
}

.credibility div:hover {
  transform: translateY(-5px);
}

.credibility h3 {
  color: #fff;
  margin-bottom: 10px;
}


/* =========================================================
   💌 CONTACT SECTION
========================================================= */
.contact {
  background: #fff;
  color: var(--text);
  padding: 80px 40px;
  text-align: center;
  max-width: 100%; /* allow full width */
  margin: 0 auto;  /* center section horizontally */
  border-radius: 0; /* remove rounded edges */
}

/* Contact Section */
.contact {
  background: #fff;
  padding: 80px 40px;
  text-align: center;
}

.contact h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact2 h2 {
  color: var(--secondary);
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact p {
  color: #555;
  margin-bottom: 40px;
}

/* Layout: image left, form right */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
  margin-left: px; /* slight side margin for breathing room */
}

/* Image Side */
.contact-image {
  flex: 1 1 45%;
  position: relative;
}

.contact-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.image-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: var(--secondary);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Form Side */
.contact-form {
  flex: 1 1 45%;
  background: var(--light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form textarea {
  width: 100%;
  height: 100px;
  resize: none;
}

.contact-form button {
  width: 100%;
  margin-top: 10px;
}

/* Contact Info at Bottom */
.contact-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 20px;
}

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

.contact-info a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  color: var(--primary);
}

.contact-info {
  display: flex;
  justify-content: space-around; /* spreads items evenly */
  align-items: center;
  flex-wrap: wrap;
  gap: 60px; /* more breathing room */
  margin-top: 40px;
  text-align: center;
}


/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  .contact-form, .contact-image {
    flex: 1 1 100%;
  }
}
.contact-container {
  display: flex;
  flex-direction: row;       /* ensures left/right layout */
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
}

/* Image on the left */
.contact-image {
  flex: 1 1 45%;
  order: 1;                  /* force image to appear first (left) */
  position: relative;
}

.contact-form {
  flex: 1 1 45%;
  order: 2;                  /* form second (right) */
  background: var(--light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;   /* stack vertically on small screens */
    align-items: center;
  }
  .contact-form, .contact-image {
    flex: 1 1 100%;
    order: unset;             /* natural stacking order */
  }
}



/* =========================================================
   🧱 HOST FORM
========================================================= */
.host-form {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: left;
}

.host-form h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.host-form p {
  text-align: center;
  margin-bottom: 30px;
  color: #555;
}

.host-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
}

.host-form input,
.host-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.host-form input:focus,
.host-form textarea:focus {
  border-color: var(--secondary);
  outline: none;
}

.host-form button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 30px;
  background: var(--secondary);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.host-form button:hover {
  background: #e56c00;
}

/* =========================================================
   📜 FOOTER
========================================================= */
footer {
  background: #fff;
  padding: 40px;
  border-top: 2px solid var(--primary);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

footer h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

footer a {
  display: block;
  color: #555;
  text-decoration: none;
  margin-bottom: 6px;
}

footer a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #777;
}