/* style.css - Nagarahole Homestay */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #2c2c2c;
  background-color: #fef9f0;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #2d5a27;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #e6b17e;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: rgba(45, 90, 39, 0.95);
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  backdrop-filter: blur(5px);
}

.logo-img {
  height: 50px;
  width: auto;
}

.menu-checkbox {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #fef9f0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #e6b17e;
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 2;
  height: 90vh;
  min-height: 500px;
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero with image background */
.hero-image {
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin: 0.5rem 0 1.5rem 0;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-content .btn {
  display: inline-block;
  background: #e6b17e;
  color: #2d5a27;
  padding: 10px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 0.5rem;
  transition: 0.3s;
}

.hero-content .btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.hero-content .btn:hover {
  background: #2d5a27;
  color: #fef9f0;
  transform: translateY(-3px);
}

.hero-content .btn-outline:hover {
  background: white;
  color: #2d5a27;
}

.whatsapp-btn {
  background: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background: #128C7E;
  color: white;
  transform: translateY(-3px);
}

/* Sections */
section {
  padding: 4rem 0;
}

.bg-light {
  background: #fff9ef;
}

/* Attractions Grid */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.attraction-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.attraction-card:hover {
  transform: translateY(-8px);
}

.attraction-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.attraction-content {
  padding: 1.5rem;
}

.distance {
  color: #e6b17e;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.map-link, .booking-link {
  display: inline-block;
  margin-top: 0.5rem;
  margin-right: 1rem;
  color: #2d5a27;
  text-decoration: none;
  font-weight: 500;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.food-img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 1rem;
}

/* Facilities Grid */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.facility-card {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.facility-card i {
  font-size: 2.5rem;
  color: #e6b17e;
  margin-bottom: 0.5rem;
}

.facility-card h4 {
  margin-bottom: 0.5rem;
}

.facility-card p {
  font-size: 0.9rem;
  color: #666;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.review-card {
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.reviewer {
  font-weight: bold;
  color: #2d5a27;
}

/* FAQ Accordion (pure details/summary) */
.faq-details {
  background: white;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

summary {
  padding: 1rem 1.5rem;
  font-weight: bold;
  cursor: pointer;
  background: #f0e6d8;
  transition: 0.3s;
}

summary:hover {
  background: #e6d9c8;
}

details[open] summary {
  background: #e6b17e;
  color: #2d5a27;
}

.faq-details p {
  padding: 1rem 1.5rem;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-info p {
  margin: 1rem 0;
}

.contact-info i {
  width: 30px;
  color: #e6b17e;
}

.contact-form-home {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e6b17e;
}

/* Footer */
footer {
  background: #1e3a1a;
  color: #ddd;
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #e6b17e;
  margin-bottom: 1rem;
}

.footer-col a {
  color: #ddd;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #e6b17e;
}

.footer-col p {
  margin-bottom: 0.5rem;
}

.copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #3a5a35;
  font-size: 0.9rem;
}

/* Cottages Page */
.cottages-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.cottage-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.cottage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cottage-content {
  padding: 2rem;
}

.cottage-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.capacity {
  color: #e6b17e;
  font-weight: bold;
  margin-bottom: 1rem;
}

.amenities-list {
  list-style: none;
  margin: 1rem 0;
}

.amenities-list li {
  margin-bottom: 0.5rem;
}

.amenities-list i {
  color: #2d5a27;
  margin-right: 0.5rem;
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2d5a27;
  margin: 1rem 0;
}

.btn-enquiry {
  display: inline-block;
  margin-top: 0.5rem;
}

.extra-info {
  margin-top: 4rem;
  background: #fff9ef;
  padding: 2rem;
  border-radius: 24px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.info-grid div {
  padding: 0.5rem;
}

/* About Page */
.about-hero {
  position: relative;
  margin-bottom: 3rem;
}

.about-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 24px;
}

.about-hero-text {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.about-hero-text h1 {
  color: white;
}

.about-story {
  margin-bottom: 3rem;
}

.about-story p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature {
  text-align: center;
  padding: 1.5rem;
}

.feature i {
  font-size: 2.5rem;
  color: #e6b17e;
  margin-bottom: 1rem;
}

.gallery-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-tile {
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.gallery-tile img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: 0.3s;
}

.gallery-tile img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
  }
  
  .menu-checkbox:checked ~ .nav-links {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cottage-card {
    grid-template-columns: 1fr;
  }
  
  .about-hero-text {
    bottom: 10%;
    left: 5%;
  }
  
  .about-hero-text h1 {
    font-size: 1.5rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  section {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 70vh;
  }
  
  .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
  
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }Facility-card {
    padding: 1rem;
  }
}
/* Footer */
.site-footer {
    background: #123d16;
    color: #fff;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    padding: 60px 20px 40px;
}

.footer-col h4 {
    color: #d4a35f;
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    color: #f1f1f1;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #d4a35f;
}

.footer-col p {
    color: #f1f1f1;
    line-height: 1.8;
}

/* Bottom Bar */
/* Bottom footer */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.developer-credit,
.copyright {
    margin: 0;
    font-size: 0.92rem;
    color: #d8d8d8;
}

.developer-credit strong {
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}