/* ===== Base Styles ===== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 56px; /* navbar height */
  background-image: url("../background/grand inn1.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.testimonials-title {
  font-family: 'Dancing Script', cursive;
  display: inline-block;
  border-bottom: 2px dotted #000;
  padding-bottom: 0.625rem;
  font-size: 2rem; /* Reduced from 2.5rem for mobile */
}

/* ===== Layout Components ===== */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* ===== Navigation ===== */
.navbar {
  padding: 0.5rem 1rem;
  background-color: bisque !important;
  border-radius: 0.2rem;
}

.navbar-brand img {
  height: 30px;
  width: auto;
  transition: all 0.3s ease;
}

.navbar-nav {
  margin-right: 0; /* Reset for mobile */
}

/* ===== Gallery ===== */
.adajdad123 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin: 1rem 0;
}

.about123 img {
  width: 100%;
  height: 200px; /* Reduced from 300px for mobile */
  object-fit: cover;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

/* ===== Contact Page ===== */
.text_map, .text_map1 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.five, .five1 {
  width: 100%;
  margin: 0;
}

.map-container {
  border-radius: 0.8rem;
  overflow: hidden;
  margin: 1rem 0;
}

.map-container iframe {
  width: 100%;
  height: 300px;
}

/* ===== Testimonials ===== */
.testimonial-container {
  max-width: 100%;
  overflow: hidden;
  padding: 1rem;
}

.testimonial {
  padding: 1rem;
}

/* ===== Footer ===== */
footer {
  background: bisque;
  padding: 2rem 0;
}

.fifteen {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ===== Buttons & Interactive Elements ===== */
.btn-primary {
  background-color: goldenrod;
  border: none;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: palevioletred;
  box-shadow: 2px 2px 8px red;
}

/* ===== Mobile-Specific Adjustments ===== */
@media (max-width: 767px) {
  .one_1 {
    margin-top: 2rem; /* Reduced from 43rem */
  }

  .homeimg img {
    width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 1rem;
  }

  .dgsjd1 {
    margin: 2rem 1rem 0 1rem; /* Reduced margins */
  }

  .special-section {
    padding: 1rem;
    margin-left: 0;
  }

  .special-boxes {
    flex-wrap: wrap;
  }

  .box {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* ===== Tablet (768px - 991px) ===== */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  .text_map, .text_map1 {
    flex-direction: row;
  }

  .five, .five1 {
    width: 48%;
  }

  .map-container iframe {
    height: 400px;
  }

  .about123 img {
    height: 250px;
  }

  .testimonials-title {
    font-size: 2.2rem;
  }
}

/* ===== Small Desktop (992px - 1199px) ===== */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  .fifteen {
    flex-direction: row;
    justify-content: space-between;
  }

  .about123 img {
    height: 300px;
  }
}

/* ===== Large Desktop (1200px+) ===== */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .testimonials-title {
    font-size: 2.5rem;
  }
}

/* ===== Existing Styles Preservation ===== */
/* All your existing styles (600+ lines) should be placed here */
/* The responsive styles above will override where necessary */

/* ===== Animation Enhancements ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Print Styles ===== */
@media print {
  body {
    padding-top: 0;
    background: none;
  }
  
  .navbar, footer {
    display: none;
  }
}