/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f9;
    color: #333;
    padding-bottom: 80px; /* Space for sticky footer */
}

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

/* Header */
.main-site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

.main-nav a {
    color: #34495e;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #3498db;
}

/* Headings & Sections */
.main-heading {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.sub-heading {
    text-align: center;
    color: #2e3434;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.content-section {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.content-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

.content-section h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* City Grid (index.php) */
.city-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.city-card {
    background-color: #ffffff;
    color: #34495e;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-grow: 1;
    flex-basis: 200px;
    max-width: 300px;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Profile Grid (city.php) */
.profile-grid, .grid, .hotel-grid  {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.profile-card, .grid-item, .hotel-card {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-basis: 300px; /* Adjust basis for 3 cards per row on larger screens */
    flex-grow: 1;
    /* max-width: 320px; */
    display: flex;
    flex-direction: column;
}

.profile-card:hover, .grid-item:hover, .hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.profile-image, .grid-item img {
    height: 350px;
    background-size: cover;
    background-position: center;
}

.profile-card h3, .grid-item h3 {
    margin: 15px 0 5px 0;
    color: #34495e;
    font-size: 1.4rem;
}

.profile-bio, .grid-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 15px;
    flex-grow: 1; /* Allows intro to take up space */
}

.profile-link, .grid-item a {
    display: block;
    background-color: #1f5a82;
    color: #fff;
    padding: 12px;
    text-decoration: none;
    font-weight: bold;
    /* margin-top: 15px; */
    transition: background-color 0.2s ease;
}

.profile-link:hover, .grid-item a:hover {
    background-color: #2980b9;
}

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

.hotel-type-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: bold;
}
.hotel-stars {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #f2ff00;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: bold;
}

.testimonial {
    display: flex;
    flex-wrap: wrap;        /* allow wrapping */
    align-content: center;
    align-items: center;  /* ✅ vertically center image and content */
    gap: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: #7f8c8d -4px 3px 0px -2px;
    flex-grow: 1;
}
.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: none;
}

.testimonial img {
/*   flex: 0 0 50px; */
    width: 50px;    /* keep image fixed size */
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 5px;
    margin: 0 auto;          /* ✅ centers image horizontally when on its own row */
    display: block;
}

.testimonial-content {
    flex: 1 1 500px;         /* grow, shrink, min width */
}

/* Profile Page (profile.php) */
.profile-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.profile-container h2 {
    font-size: 2rem;
    color: #2c3e50;
    /* text-align: center; */
    margin-top: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

.profile-left, .grid-left { flex: 1; min-width: 300px; }
.profile-right, .grid-right { flex: 2; min-width: 300px; }
.profile-main-image { width: 100%; border-radius: 8px; }
.profile-name { font-size: 2.8rem; margin: 0 0 10px 0; color: #2c3e50; }
.profile-stats { display: flex; gap: 20px; font-size: 1.1rem; color: #324547; margin-bottom: 25px; border-bottom: 1px solid #ecf0f1; padding-bottom: 20px; }
.profile-bio-section p { line-height: 1.7; font-size: 1.05rem; }

/* Post Page (post.php) */
.post-container { max-width: 800px; margin: 0 auto; background-color: #fff; padding: 40px; border-radius: 8px; }
.post-title { font-size: 2.8rem; color: #2c3e50; margin-top: 0; margin-bottom: 15px; line-height: 1.2; }
.post-meta { font-size: 0.9rem; color: #95a5a6; margin-bottom: 30px; border-bottom: 1px solid #ecf0f1; padding-bottom: 15px; }
.post-content { font-size: 1.1rem; line-height: 1.8; color: #34495e; }

/* Sublocation List */
.sublocation-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.sublocation-list li a { display: block; background-color: #ecf0f1; padding: 20px; margin: 10px; border-radius: 10px; text-decoration: none; color: #34495e; transition: background-color 0.2s ease; }
.sublocation-list li a:hover { background-color: #bdc3c7; }

/* Buttons */
.cta-button, .btn.btn-large {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.2s ease;
    text-align: center;
    font-size: 1.2rem;
}
.cta-button:hover, .btn.btn-large:hover { background-color: #c0392b; }
.book-now-section { text-align: center; margin: 30px 0; }

/* Dynamic Content Sections */
.faq-item {
    border-bottom: 1px solid #ecf0f1;
    box-shadow: #7f8c8d 0px 1px 3px 0px;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}
.faq-item:hover {
    box-shadow: none;
}

/* Sticky Footer Buttons */

.sticky-buttons-container { 
    /* padding: 10px; */
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
}

.margi10 {
    display: flex;
    gap: 10px;
    padding: 10px ;
    justify-content:center;
}

.sticky-btn {
    flex: 1;
    padding: 15px;
    border-radius: 10px 10px 10px 10px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.call-btn { background-color: #2e70cc; }
.whatsapp-btn { background-color: #0c7834; }
.call-btn:hover { background-color: #273bae; }
.whatsapp-btn:hover { background-color: #018d0a; }

/* --- Post Page Styles --- */

.post-container {
    max-width: 800px;
    margin: 0 auto; /* Center the post content */
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.post-title {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.2;
}

.post-meta {
    font-size: 0.9rem;
    color: #95a5a6;
    margin-bottom: 30px;
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 15px;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
}