/* style.css - Modern Guest House Website */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fefaf5;
  color: #1e2a2e;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, .logo {
  font-family: 'Playfair Display', serif;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  background: #fffaf5;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #b9793b, #8b5a2b);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.logo span {
  color: #c0813a;
  background: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #2c3e2f;
  transition: 0.2s;
}

.nav-links a:hover {
  color: #b46f30;
}

.nav-links a.active {
  color: #b46f30;
  border-bottom: 2px solid #cb8b42;
  padding-bottom: 4px;
}

.mobile-menu {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #faeedc 0%, #fff3e8 100%);
  padding: 50px 0 40px;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1.2;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #2d3e2b;
}

.hero-text p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #4a5b44;
}

.keyword-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.keyword-badge span {
  background: white;
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  border: 1px solid #ffe1bf;
  color: #a56129;
}

.hero-image {
  flex: 1;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 30px -12px rgba(0,0,0,0.2);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Section Titles */
.section-title {
  font-size: 2rem;
  margin: 50px 0 28px 0;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 3px;
  background: #cb8b42;
}

/* Room Cards Grid */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 30px 0;
}

.room-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  border: 1px solid #f7e5d4;
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 28px -12px rgba(0,0,0,0.15);
}

.room-img {
  height: 220px;
  overflow: hidden;
}

.room-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.room-card:hover .room-img img {
  transform: scale(1.03);
}

.room-info {
  padding: 20px 18px 24px;
}

.room-info h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.room-tags span {
  background: #fbf2e9;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #b16928;
}

.price {
  font-weight: 800;
  font-size: 1.2rem;
  color: #9b5b26;
  margin: 12px 0;
}

.btn-book {
  background: #d9964b;
  color: white;
  border: none;
  padding: 10px 0;
  width: 100%;
  border-radius: 40px;
  font-weight: 700;
  margin-top: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-book:hover {
  background: #b8732e;
}

/* Facilities Grid */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  background: white;
  padding: 30px;
  border-radius: 32px;
  margin: 30px 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  border: 1px solid #f0e0d0;
}

.facility-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.facility-item i {
  font-size: 1.3rem;
  color: #cb8b42;
  width: 30px;
}

/* Info Box */
.info-box {
  background: #fef3e8;
  border-left: 5px solid #cb8b42;
  padding: 20px;
  border-radius: 20px;
  margin: 20px 0;
}

.info-box i {
  color: #cb8b42;
  margin-right: 10px;
}

.amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

.amenity-chip {
  background: white;
  padding: 6px 15px;
  border-radius: 30px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e8d5c0;
}

.amenity-chip i {
  color: #cb8b42;
  font-size: 0.8rem;
}

/* Pricing Section */
.pricing-section {
  background: white;
  border-radius: 32px;
  padding: 30px;
  margin: 40px 0;
  border: 1px solid #f0e0d0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.price-card {
  background: #fef8f0;
  padding: 12px 15px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #ffe0c0;
  transition: 0.2s;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.price-card .duration {
  font-weight: 800;
  color: #8b5a2b;
}

.price-card .amount {
  font-size: 1.3rem;
  font-weight: 800;
  color: #b46f30;
}

/* Contact Bar */
.contact-bar {
  background: #2d3e2b;
  color: white;
  border-radius: 60px;
  padding: 18px 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 48px 0 32px;
}

.contact-icons {
  display: flex;
  gap: 20px;
}

.contact-icons a {
  color: white;
  background: #4a6842;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: 0.2s;
  text-decoration: none;
}

.contact-icons a:hover {
  background: #cb8b42;
  transform: scale(1.05);
}

/* FIXED FLOATING CONTACT ICONS */
.floating-contact-icons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.floating-contact-icons a {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 28px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
  position: relative;
}

.floating-contact-icons a:hover {
  transform: scale(1.1);
}

/* Tooltip for floating icons */
.floating-contact-icons a::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 70px;
  background: #1e2a2e;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.floating-contact-icons a:hover::before {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

.floating-phone {
  background: linear-gradient(135deg, #2c6e2c, #1e4a1e);
}

.floating-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal-content {
  background: white;
  max-width: 400px;
  width: 90%;
  border-radius: 32px;
  padding: 28px;
  text-align: center;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content button {
  background: #cb8b42;
  border: none;
  padding: 12px 24px;
  border-radius: 40px;
  margin-top: 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.modal-call-btn, .modal-wa-btn {
  padding: 10px 20px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.modal-call-btn {
  background: #2c6e2c;
  color: white;
}

.modal-wa-btn {
  background: #25D366;
  color: white;
}

/* Footer */
footer {
  background: #1e2a1c;
  color: #ddd9ce;
  padding: 36px 0;
  text-align: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 780px) {
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    background: #fffaf5;
    padding: 20px 0;
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .floating-contact-icons a {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  .floating-contact-icons {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }
  
  .floating-contact-icons a::before {
    display: none;
  }
  
  .contact-bar {
    flex-direction: column;
    text-align: center;
    border-radius: 32px;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}