/* styles.css for Jabe Airbnb Chogoria */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #fdfdfd;
    color: #333;
  }
  
  /* Navbar */
  .navbar {
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
  }
  
  .navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
  }
  
  .navbar a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
  }
  
  .navbar a:hover {
    color: #555;
  }
  
  /* Hero Section */
  .hero {
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    text-align: center;
  }
  
  .hero-overlay {
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
    padding: 40px;
    border-radius: 10px;
  }
  
  
  
  .hero h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
  }
  
  .hero p {
    font-size: 1.2em;
  }
  
  /* Listings Section */
  .listings {
    padding: 60px 40px;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .listings h2 {
    font-size: 2.5em;
    color: #4a4a4a;
    margin-bottom: 40px;
  }
  
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
  
  .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .card h3 {
    font-size: 1.5em;
    margin: 15px 0 10px;
  }
  
  .card p {
    padding: 0 15px 15px;
    font-size: 1em;
    color: #555;
  }
  
  .card a {
    display: inline-block;
    margin-bottom: 20px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
  }
  
  .card a:hover {
    text-decoration: underline;
    color: #000;
  }
  
  /* Footer */
  footer {
    background-color: #262626;
    color: white;
    padding: 30px;
    text-align: center;
  }
  
  .footer-content p {
    margin: 10px 0;
    font-size: 0.95em;
  }
  
  /* Animations - fade, slide, disappear */
  [data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
  }
  
  [data-aos].aos-animate {
    opacity: 1;
  }
  
  /* Mobile Friendly */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: flex-start;
      padding: 20px;
    }
  
    .navbar ul {
      flex-direction: column;
      gap: 10px;
    }
  
    .hero h1 {
      font-size: 2.2em;
    }
  
    .listings {
      padding: 40px 20px;
    }
  }
  /* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body */
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
  }
  
  /* Header */
  header {
    background-color: #ffffff;
    padding: 20px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  nav ul li a:hover {
    color: #111;
  }
  
  /* Hero Section */
  .hero {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .hero-overlay {
    background-color: rgba(0,0,0,0.4);
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .hero-overlay h1 {
    font-size: 3rem;
    text-align: center;
  }
  
  /* Features Section */
  .details-section {
    padding: 60px 20px;
    background-color: #fff;
  }
  
  .details-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
  }
  
  .details-section ul {
    max-width: 800px;
    margin: 0 auto;
    list-style-type: disc;
    padding-left: 40px;
    font-size: 1.1rem;
    line-height: 2;
  }
  
  /* Map Section */
  .map {
    padding: 50px 20px;
    background-color: #f3f3f3;
  }
  
  /
  .booking-section {
    padding: 60px 20px;
    background-color: #ffffff;
  }
  
  .booking-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #e91e63;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.3s;
  }
  
  .booking-button:hover {
    background-color: #c2185b;
    transform: scale(1.05);
  }
  .badge {
    display: inline-block;
    background-color: #ff9800;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .room-gallery {
    padding: 60px 20px;
    background-color: #f9f9f9;
  }
  
  .gallery-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
  }
  
  .gallery-scroll {
    display: inline-flex;
    gap: 15px;
    padding: 10px;
  }
  
  .gallery-img {
    max-height: 200px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
  }
  
  .gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  .about {
    background-color: #f9f9f9;
    padding: 60px 20px;
    color: #333;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .about .container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
  }
  
  .about h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1a1a1a;
    position: relative;
  }
  
  .about h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #e91e63;
    margin: 10px auto;
    border-radius: 2px;
  }
  
  .about p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.environment {
        background-color: #ffffff;
        padding: 60px 20px;
        font-family: 'Segoe UI', sans-serif;
        color: #333;
      }
      
      .environment .container {
        max-width: 1100px;
        margin: 0 auto;
        text-align: center;
      }
      
      .environment h2 {
        font-size: 32px;
        margin-bottom: 30px;
        color: #222;
      }
      
      .env-gallery {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
      }
      
      .env-gallery img {
        width: 250px;
        height: 180px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, opacity 0.3s ease;
        cursor: pointer;
      }
      
      .env-gallery img:hover {
        transform: scale(1.05);
        opacity: 0.9;
      }
      .room-gallery-scroll {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding: 10px 0;
        scroll-snap-type: x mandatory;
      }
      
      .room-gallery-scroll img {
        width: 300px;
        height: 200px;
        flex: 0 0 auto;
        border-radius: 12px;
        object-fit: cover;
        scroll-snap-align: center;
        transition: transform 0.3s ease;
      }
      
      .room-gallery-scroll img:hover {
        transform: scale(1.05);
      }
      
      /* COMMENTS SECTION */
.comments-section {
  padding: 5rem 2rem;
  background: linear-gradient(to bottom right, #f9fafb, #ffffff);
}

.comments-container {
  max-width: 700px;
  margin: auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 1s ease both;
}

.comments-container h2 {
  color: #1e3a8a;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* FORM */
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.comment-form input,
.comment-form textarea {
  padding: 0.9rem 1.1rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fefefe;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

.comment-form button {
  padding: 0.9rem 1.5rem;
  background-color: #1e3a8a;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comment-form button:hover {
  background-color: #10295d;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 41, 93, 0.2);
}

/* COMMENTS */
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  animation: fadeInCard 0.5s ease both;
}

.comment-name {
  font-weight: 600;
  font-size: 1rem;
  color: #1e40af;
}

.comment-message {
  margin: 0.6rem 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
}

.comment-time {
  font-size: 0.85rem;
  color: #8a8a8a;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .comments-container {
    padding: 2rem 1rem;
  }
}
.comments-section {
  background-color: #f9f9f9;
  padding: 40px 20px;
  font-family: "Segoe UI", Roboto, sans-serif;
  color: #333;
}

.comments-container {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #222;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.comment-form input[type="text"],
.comment-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  width: 100%;
  resize: vertical;
}

.comment-form textarea {
  min-height: 100px;
}

.star-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  display: flex;
  gap: 5px;
  cursor: pointer;
}

.stars i {
  font-size: 22px;
  color: #ccc;
  transition: color 0.2s;
}

.stars i.active {
  color: #fbc02d; /* Yellow star */
}

.checkbox {
  display: flex;
  align-items: center;
  font-size: 14px;
  gap: 6px;
}

button[type="submit"] {
  padding: 12px;
  background-color: #4285f4;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #3367d6;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment {
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.comment .name {
  font-weight: bold;
  margin-bottom: 5px;
}

.comment .stars i {
  font-size: 18px;
  color: #fbc02d;
}

.comment .verified {
  font-size: 12px;
  color: green;
  margin-left: 8px;
}
