* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Afacad", sans-serif;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  z-index: 10;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* When scrolled */
header.scrolled {
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo img {
  height: 50px;
  width: 200px;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 600;
  font-family: "Inria Sans", sans-serif;
}

nav a:hover {
  color: #f1c232;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #c29b43;
  text-align: center;
  overflow: hidden;
}

/* Slideshow */
.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* === LANDING SLIDESHOW === */
.slide {
  opacity: 0;
  transition: opacity 1s ease-in-out; 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.714);
  z-index: 1;
}

/* Hero Text */
.hero-text {
  position: relative;
  z-index: 2;
  color: #c29b43;
  text-align: center;
  line-height: 1.2;
}

.hero-text h1 {
  font-family: "Suez One", serif;
  font-size: 4rem;
  color: #c29b43;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
  font-weight: 400;
  line-height: 1.2;
}

.hero-text .for-text {
  display: block;
  font-family: "Smooch", cursive;
  font-size: 4rem;
  color: #c29b43;
  margin: 15px 0; 
}

/* ===== HOME SECTION ===== */
/* LEFT SIDE TEXT */
.home-left {
    width: 50%;
}

.home-heading {
    font-family: "Playfair Display", serif;
    font-size: 76px;
    line-height: 1.1;
    font-weight: 600;
    color: #6b4a15;
    margin-bottom: 25px;
}

.home-heading span {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 68px;
    color: #6b4a15;
}

.home-left p {
    font-size: 20px;
    line-height: 1.7;
    color: #3b3b3b;
    margin-bottom: 20px;
    text-align: justify;
}

/* RIGHT SIDE IMAGES */
.home-right {
    width: 50%;
}

.home-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.home-image-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .home-section {
        flex-direction: column;
        padding: 60px 40px;
    }

    .home-left, .home-right {
        width: 100%;
    }

    .home-heading {
        font-size: 58px;
    }

    .home-heading span {
        font-size: 52px;
    }
}

@media (max-width: 600px) {
    .home-image-grid {
        grid-template-columns: 1fr;
    }

    .home-image-grid img {
        height: 220px;
    }
}


/* ===== SERVICES SECTION ===== */
.services {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 120px 0 80px;
  overflow: hidden;
}

.services > * {
  position: relative;
  z-index: 1;
}

.service-header {
  position: relative;
  text-align: center;
  z-index: 2;
  margin-top: -100px;
}

.service-header img {
  width: 200px;
  height: 200px;
  margin-bottom: 10px;
}

.service-header h2 {
  color: #9d7a2e;
  font-size: 3.0rem;
  font-weight: bold;
  font-family: "Afacad", sans-serif;
}

.service-box {
  display: flex;
  justify-content: space-between;
  background: #9d7a2e;
  color: white;
  width: 60%;
  border-radius: 10px;
  margin-top: 40px;
  padding: 40px 60px;
  font-family: "Afacad", sans-serif;
}

.service-box .left, .service-box .right {
  width: 45%;
  line-height: 1.8;
  font-size: 1.3rem;
}

.divider {
  width: 2px;
  background-color: white;
  opacity: 0.8;
}

/* ===== ABOUT SECTION ===== */
.about {
  background: white;
  color: #5a440a;
  text-align: center;
  padding: 100px 120px;
  background-image: url('images/bg-logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 300px;
}

.about h2 {
  font-size: 4rem;
  color: #b2852d;
  font-weight: bold;
  font-family: "Vollkorn SC", serif;
}

.about .highlight {
  font-weight: bold;
  margin: 30px auto;
  max-width: 900px;
  font-family: "Afacad", sans-serif;
}

.about hr {
  width: 80%;
  margin: 30px auto;
  border: 1px solid #b2852d;
}

.about p {
  font-size: 1.3rem;
  line-height: 1.8;
  text-align: justify;
}

.about p:not(.highlight) {
  font-family: "Afacad", sans-serif;
  margin: 30px auto;
  max-width: 900px;
}

/* ===== IMAGE SECTION ===== */
.image-section {
  height: 100vh;
  background: #777;
  position: relative;
}

.background-image {
  background: url('images/slideshow2.jpg') center/cover no-repeat;
  width: 100%;
  height: 100%;
}

/* ===== RANCHSCAPE SECTION ===== */
.ranchscape {
  text-align: center;
  background: white;
  padding: 100px 0;
}

.ranchscape h2 {
  font-family: "Vollkorn SC", serif;
  font-size: 4rem;
  color: #9d7a2e;
  margin-bottom: 40px;
}

.ranch-grid {
  display: grid;
  grid-template-columns: repeat(3, auto); 
  gap: 30px 150px; 
  background: #efe1a8;
  padding: 60px 80px;
  justify-content: center; 
  align-items: center;
  justify-items: center;
}

.ranch-item {
  text-align: center;
  color: #5a440a;
  line-height: 1.1; 
}

.ranch-item img {
  width: 80px;
  height: 80px;
  display: block; 
  margin: 0 auto 0 auto; 
}

.ranch-item p {
  font-family: "Afacad", sans-serif;
  font-size: 1.2rem;
  margin: 0; 
  padding: 0; 
}


/* Inquiry Button */
.inquiry-btn {
  background: #6a0f0f;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  border: none;
  border-radius: 25px;
  padding: 10px 30px;
  margin-top: 40px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.inquiry-btn:hover {
  background: #941919;
}

/* ===== VIRTUAL TOUR SECTION ===== */
.virtual-tour {
  text-align: center;
  background: #fff;
  padding: 100px 0;
  color: #5a440a;
}

.virtual-tour h2 {
  font-family: "Vollkorn SC", serif;
  font-size: 4rem;
  color: #9d7a2e;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
}

.virtual-tour .virtual-desc {
  font-family: "Afacad", sans-serif;
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 15px;
  margin-top: -20px;
  line-height: 1.5;
  color: #5a440a;
}

.tour-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.tour-container {
  background-color: #efe1a8;
  padding: 20px 50px;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.626);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.388);
}

.tour-container iframe {
  width: 1000px;
  height: 500px;
  border: none;
  border-radius: 12px;
}

/* for smaller screens */
@media (max-width: 1024px) {
  .tour-container iframe {
    width: 90%;
    height: 350px;
  }

  .tour-container {
    padding: 25px;
  }
}

/* ===== BOOK NOW SECTION ===== */
.book-now {
  text-align: center;
  background: white;
  padding: 0;
  height: 100vh; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.book-now h2 {
  position: relative;
  z-index: 5; 
  font-family: "Vollkorn SC", serif;
  font-size: 4rem;
  color: #9d7a2e;
  margin-bottom: 40px;
}

.book-carousel {
  position: relative;
  width: 80%;
  height: 450px;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.book-card {
  position: absolute;
  transition: all 0.8s ease;
  opacity: 0;
  transform: scale(0.8);
  z-index: 0;
}

.book-card img {
  width: 100%;
  max-width: 500px;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.book-card.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.book-card.next {
  opacity: 0.8;
  transform: translateX(250px) scale(0.9);
  z-index: 1;
}

.book-card.prev {
  opacity: 0.8;
  transform: translateX(-250px) scale(0.9);
  z-index: 1;
}

.book-dots {
  margin-top: 40px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
  background-color: #9d7a2e;
}

@media (max-width: 768px) {
  .book-card img {
    max-width: 320px;
  }
  .book-card.next {
    transform: translateX(150px) scale(0.9);
  }
  .book-card.prev {
    transform: translateX(-150px) scale(0.9);
  }
}


/* ===== CONTACT SECTION ===== */
.contact {
  background: #222;
  color: white;
  padding: 80px 100px;
  text-align: center;
}

.contact-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-item h3 {
  font-family: "Vollkorn SC", serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.contact-item p {
  font-family: "Afacad", sans-serif;
  line-height: 1.8;
  font-size: 1.15rem;
  text-align: left;
}

.icon-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
}

.icon-text img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.social-link {
  color: white;
  text-decoration: underline;
  font-family: "Afacad", sans-serif;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.social-link:hover {
  color: #f1c232; 
}

.social-icon {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1); 
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Afacad", sans-serif;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  z-index: 10;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo img {
  height: 50px;
  width: 200px;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 600;
  font-family: "Inria Sans", sans-serif;
}

nav a:hover {
  color: #f1c232;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #c29b43;
  text-align: center;
  overflow: hidden;
}

/* Slideshow */
.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* === LANDING SLIDESHOW === */
.slide {
  opacity: 0;
  transition: opacity 1s ease-in-out; 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.714);
  z-index: 1;
}


.hero-text {
  position: relative;
  z-index: 2;
  color: #c29b43;
  text-align: center;
  line-height: 1.2;
}

.hero-text h1 {
  font-family: "Suez One", serif;
  font-size: 4rem;
  color: #c29b43;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
  font-weight: 400;
  line-height: 1.2;
}


.hero-text .for-text {
  display: block;
  font-family: "Smooch", cursive;
  font-size: 4rem;
  color: #c29b43;
  margin: 15px 0; 
}

/* ===== HOME SECTION ===== */
.home {
  position: relative;
  display: flex;
  align-items: center;
  padding: 100px 60px;
  background: white;
  overflow: hidden;
}



.home-left, .home-right {
  position: relative;
  z-index: 1;
}

.home-left {
  width: 80%;
  padding-right: 50px;
}

.home-left h2 {
  font-family: "Carattere", cursive;
  font-size: 5rem;
  color: #a47c2f;
}

.home-left p {
  margin-top: 20px;
  color: #5a440a;
  line-height: 1.8;
  font-family: "Afacad", sans-serif;
  font-size: 1.3rem;
  text-align: justify;
}

.home-right {
  width: 50%;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.image-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
}

/* ===== SERVICES SECTION ===== */
.services {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 120px 0 80px;
  overflow: hidden;
}



.services > * {
  position: relative;
  z-index: 1;
}

.service-header {
  position: relative;
  text-align: center;
  z-index: 2;
  margin-top: -100px;
}

.service-header img {
  width: 200px;
  height: 200px;
  margin-bottom: 10px;
}

.service-header h2 {
  color: #9d7a2e;
  font-size: 3.0rem;
  font-weight: bold;
  font-family: "Afacad", sans-serif;
}

.service-box {
  display: flex;
  justify-content: space-between;
  background: #9d7a2e;
  color: white;
  width: 60%;
  border-radius: 10px;
  margin-top: 40px;
  padding: 40px 60px;
  font-family: "Afacad", sans-serif;
}

.service-box .left, .service-box .right {
  width: 45%;
  line-height: 1.8;
  font-size: 1.3rem;
}

.divider {
  width: 2px;
  background-color: white;
  opacity: 0.8;
}

/* ===== ABOUT SECTION ===== */
.about {
  background: white;
  color: #5a440a;
  text-align: center;
  padding: 100px 120px;
  background-image: url('images/bg-logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 300px;
}

.about h2 {
  font-size: 4rem;
  color: #b2852d;
  font-weight: bold;
  font-family: "Vollkorn SC", serif;
}

.about .highlight {
  font-weight: bold;
  margin: 30px auto;
  max-width: 900px;
  font-family: "Afacad", sans-serif;
}

.about hr {
  width: 80%;
  margin: 30px auto;
  border: 1px solid #b2852d;
}

.about p {
  font-size: 1.3rem;
  line-height: 1.8;
  text-align: justify;
}

.about p:not(.highlight) {
  font-family: "Afacad", sans-serif;
  margin: 30px auto;
  max-width: 900px;
}

/* ===== IMAGE SECTION ===== */
.image-section {
  height: 100vh;
  background: #777;
  position: relative;
}

.background-image {
  background: url('images/slideshow2.jpg') center/cover no-repeat;
  width: 100%;
  height: 100%;
}

/* ===== RANCHSCAPE SECTION ===== */
.ranchscape {
  text-align: center;
  background: white;
  padding: 100px 0;
}

.ranchscape h2 {
  font-family: "Vollkorn SC", serif;
  font-size: 4rem;
  color: #9d7a2e;
  margin-bottom: 40px;
}

.ranch-grid {
  display: grid;
  grid-template-columns: repeat(3, auto); 
  gap: 30px 150px; 
  background: #efe1a8;
  padding: 60px 80px;
  justify-content: center; 
  align-items: center;
  justify-items: center;
}

.ranch-item {
  text-align: center;
  color: #5a440a;
  line-height: 1.1; 
}

.ranch-item img {
  width: 80px;
  height: 80px;
  display: block; 
  margin: 0 auto 0 auto; 
}

.ranch-item p {
  font-family: "Afacad", sans-serif;
  font-size: 1.2rem;
  margin: 0; 
  padding: 0; 
}


/* Inquiry Button */
.inquiry-btn {
  background: #6a0f0f;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  border: none;
  border-radius: 25px;
  padding: 10px 30px;
  margin-top: 40px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.inquiry-btn:hover {
  background: #941919;
}

/* ===== VIRTUAL TOUR SECTION ===== */
.virtual-tour {
  text-align: center;
  background: #fff;
  padding: 100px 0;
  color: #5a440a;
}

.virtual-tour h2 {
  font-family: "Vollkorn SC", serif;
  font-size: 4rem;
  color: #9d7a2e;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
}

.virtual-tour .virtual-desc {
  font-family: "Afacad", sans-serif;
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 15px;
  margin-top: -20px;
  line-height: 1.5;
  color: #5a440a;
}


.tour-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}


.tour-container {
  background-color: #efe1a8;
  padding: 20px 50px;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.626);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.tour-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.388);
}


.tour-container iframe {
  width: 1000px;
  height: 500px;
  border: none;
  border-radius: 12px;
}


@media (max-width: 1024px) {
  .tour-container iframe {
    width: 90%;
    height: 350px;
  }

  .tour-container {
    padding: 25px;
  }
}

/* ===== BOOK NOW SECTION ===== */
.book-now {
  text-align: center;
  background: white;
  padding: 0;
  min-height: 100vh; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.book-now h2 {
  position: relative;
  z-index: 5; 
  font-family: "Vollkorn SC", serif;
  font-size: 4rem;
  color: #9d7a2e;
  margin-bottom: 40px;
}

/* Carousel container */
.book-carousel {
  position: relative;
  width: 80%;
  height: 450px;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.book-card {
  position: absolute;
  transition: all 0.8s ease;
  opacity: 0;
  transform: scale(0.8);
  z-index: 0;
}

.book-card img {
  width: 100%;
  max-width: 500px;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.book-card.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.book-card.next {
  opacity: 0.8;
  transform: translateX(250px) scale(0.9);
  z-index: 1;
}

.book-card.prev {
  opacity: 0.8;
  transform: translateX(-250px) scale(0.9);
  z-index: 1;
}

.book-dots {
  margin-top: 40px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
  background-color: #9d7a2e;
}

@media (max-width: 768px) {
  .book-card img {
    max-width: 320px;
  }
  .book-card.next {
    transform: translateX(150px) scale(0.9);
  }
  .book-card.prev {
    transform: translateX(-150px) scale(0.9);
  }
}

/* ===== FEEDBACK SECTION ===== */
.feedback {
  background: #efe1a8;
  padding: 30px 20px;
  text-align: center;
}

.feedback h2 {
  font-family: "Vollkorn SC", serif;
  font-size: 3.5rem;
  color: #9d7a2e;
  margin-bottom: 10px;
}

.feedback-desc {
  font-family: "Afacad", sans-serif;
  font-size: 1.2rem;
  color: #5a440a;
  margin-bottom: 40px;
}

.feedback-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #5a440a;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: "Afacad", sans-serif;
  font-size: 1rem;
}

.rating input {
  margin-right: 5px;
}

.feedback-btn {
  background: #6a0f0f;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  padding: 12px 35px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.feedback-btn:hover {
  background: #941919;
}

@media (max-width: 600px) {
  .feedback h2 {
    font-size: 2.5rem;
  }

  .feedback-form {
    padding: 25px;
  }
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: #222;
  color: white;
  padding: 80px 100px;
  text-align: center;
}

.contact-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-item h3 {
  font-family: "Vollkorn SC", serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.contact-item p {
  font-family: "Afacad", sans-serif;
  line-height: 1.8;
  font-size: 1.15rem;
  text-align: left;
}

.icon-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
}

.icon-text img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.social-link {
  color: white;
  text-decoration: underline;
  font-family: "Afacad", sans-serif;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.social-link:hover {
  color: #f1c232; 
}

.social-icon {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1); 
}

.hamburger {
  display: none; 
}

nav ul {
  display: flex;
  gap: 30px;
}


@media (max-width: 992px) {
  *{
    max-width: 100%;
   }

  header {
    padding: 15px 25px;
  }
  
  header nav {
    position: absolute;
    top: 70px;        
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    width: 220px;
    padding: 15px 20px;
    display: none;     
    flex-direction: column;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    border-radius: 0 0 10px 10px;
    z-index: 100;
  }
  
  header nav a {
    padding: 10px 0;
    width: 100%;
    display: block;
    text-align: left;
  }

  header nav.active {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: 70px; 
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8); 
    display: none;
    flex-direction: column;
    padding: 20px 0;
    text-align: left;
    z-index: 999;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list li {
    margin: 15px 0;
  }

  .nav-list a {
    color: white;
    font-size: 20px;
    text-decoration: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  /* Hamburger icon */
  .hamburger {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 999;
  }

  .hamburger span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    left: 0;
    transition: 0.4s;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }

  .hamburger span:nth-child(2) {
    top: 9px;
  }

  .hamburger span:nth-child(3) {
    top: 18px;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
  }

  .logo img {
    width: 150px;
    height: auto;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .hero-text .for-text {
    font-size: 2.5rem;
  }

  /* HOME SECTION */
  .home-section,
  .home {
    flex-direction: column;
    padding: 70px 30px;
    text-align: center;
  }

  .home-left, 
  .home-right {
    width: 100%;
    padding: 0;
  }

  .home-heading {
    font-size: 50px;
  }

  .home-heading span {
    font-size: 44px;
  }

  .home-left p {
    text-align: center;
  }

  .home-image-grid,
  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-grid img,
  .home-image-grid img {
    height: 200px;
  }

  /* SERVICES */
  .service-box {
    flex-direction: column;
    width: 90%;
    padding: 30px;
    text-align: center;
    gap: 20px;
  }

  .service-box .left,
  .service-box .right {
    width: 100%;
  }

  .divider {
    height: 2px;
    width: 80%;
    margin: 15px auto;
  }

  /* ABOUT */
  .about {
    padding: 60px 30px;
    background-size: 200px;
  }

  .about h2 {
    font-size: 2.7rem;
  }

  /* RANCHSCAPE */
  .ranch-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 40px 20px;
  }

  .ranch-item img {
    width: 60px;
    height: 60px;
  }

  .ranch-item p {
    font-size: 14px;
  }

  /* VIRTUAL TOUR */
  .tour-container iframe {
    width: 100%;
    height: 250px;
  }

  .tour-container {
    padding: 15px;
  }

  /* BOOK NOW */
  .book-carousel {
    padding-top: 10px;
    width: 100%;
    height: auto;
  }

  .book-card img {
    max-width: 280px;
    height: auto;
  }

  .book-card.next {
    transform: translateX(120px) scale(0.9);
  }

  .book-card.prev {
    transform: translateX(-120px) scale(0.9);
  }

  /* CONTACT */
  .contact {
    padding: 50px 20px;
  }

  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-item p {
    text-align: center;
  }
}


/* ===========================================================
   SMALL MOBILE
   =========================================================== */
@media (max-width: 600px) {

  /* HERO */
  .hero-text h1 {
    font-size: 2.3rem;
  }

  .hero-text .for-text {
    font-size: 2rem;
  }

  /* HOME */
  .home-heading {
    font-size: 38px;
  }

  .home-heading span {
    font-size: 34px;
  }

  .home-left p {
    font-size: 1rem;
  }

  /* RANCHSCAPE */
  .ranch-grid {
    grid-template-columns: 1fr;
  }

  /* BOOK NOW */
  .book-card img {
    max-width: 230px;
  }

  .book-card.next {
    transform: translateX(80px) scale(0.9);
  }

  .book-card.prev {
    transform: translateX(-80px) scale(0.9);
  }

  /* VIRTUAL TOUR */
  .tour-container iframe {
    height: 200px;
  }
}

/* ===== STAR RATING ===== */
.star-rating {
  direction: rtl;
  display: inline-flex;
  font-size: 2.8rem;
  cursor: pointer;
}

.star-rating input {
  display: none;
}

.star-rating label {
  color: #ccc; 
  transition: color 0.2s ease;
  padding: 0 5px;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #f1c232;
}

.star-rating input:checked ~ label {
  color: #f1c232;
}

/* =========================================================
   MOBILE FIXES – Rancho Blanco
   ========================================================= */

@media (max-width: 768px) {

  /* ================= HEADER & HAMBURGER ================= */
  header {
    padding: 12px 20px;
  }

  .hamburger {
    position: relative;
    right: 0;
  }

  header nav {
    top: 65px;
    right: 0;
    width: 100%;
    border-radius: 0;
  }

  /* ================= HOME SECTION ================= */
  .home {
    flex-direction: column;
    padding: 60px 25px;
    gap: 35px;
  }

  .home-left,
  .home-right {
    width: 100%;
    padding: 0;
  }

  .home-left h2 {
    font-size: 3.2rem;
    text-align: center;
  }

  /* ✔ paragraph justified */
  .home-left p {
    text-align: justify;
    font-size: 1.1rem;
  }

  /* ✔ images more visually appealing */
  .image-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .image-grid img {
    height: 180px;
  }

  /* ================= SERVICES SECTION ================= */
  .services {
    padding: 80px 20px;
  }

  .service-box {
    flex-direction: row;
    width: 100%;
    padding: 25px;
    gap: 20px;
  }

  .service-box .left,
  .service-box .right {
    width: 48%;
    font-size: 1rem;
  }

  .divider {
    width: 2px;
    height: auto;
  }

  /* ================= RANCHSCAPE ================= */
  .ranch-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 35px 20px;
  }

  .ranch-item img {
    width: 55px;
    height: 55px;
  }

  .ranch-item p {
    font-size: 0.95rem;
  }

  /* ================= BOOK NOW ================= */
  .book-now {
    padding: 80px 20px;
    min-height: auto;
  }

  .book-now h2 {
    margin-bottom: 20px;
  }

  .book-carousel {
    height: 320px;
  }

  .book-card img {
    max-width: 260px;
    height: auto;
  }

  .book-card.next {
    transform: translateX(120px) scale(0.9);
  }

  .book-card.prev {
    transform: translateX(-120px) scale(0.9);
  }
}


/* =========================================================
   EXTRA SMALL PHONES
   ========================================================= */
@media (max-width: 480px) {

  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-grid img {
    height: 200px;
  }

  .service-box {
    flex-direction: column;
  }

  .service-box .left,
  .service-box .right {
    width: 100%;
    text-align: center;
  }

  .divider {
    width: 80%;
    height: 2px;
    margin: 15px auto;
  }

  .ranch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .book-card.next,
  .book-card.prev {
    display: none;
  }
}

/* =========================================================
   TABLET & MINIMIZED SCREEN FIX (HOME IMAGES)
   ========================================================= */

@media (max-width: 1200px) {

  /* Home section layout breathing room */
  .home {
    gap: 30px;
    padding: 70px 40px;
  }

  /* Image grid adjustment */
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* IMPORTANT FIX: prevent image cropping */
  .image-grid img {
    height: auto;              /* remove forced crop */
    aspect-ratio: 4 / 3;       /* consistent ratio */
    object-fit: contain;       /* SHOW full image */
    background-color: #f5f5f5; /* subtle fill if needed */
    border-radius: 8px;
  }
}


/* =========================================================
   SLIGHTLY SMALLER SCREENS (TABLET PORTRAIT)
   ========================================================= */
@media (max-width: 992px) {

  .image-grid {
    grid-template-columns: 1fr 1fr;
  }

  .image-grid img {
    aspect-ratio: 3 / 2;
  }
}

/* =====================================================
   SERVICE & FACILITIES – FIX LOGO, SIZE & LAYOUT
   ===================================================== */

@media (max-width: 768px) {

  /* --- Logo: prevent cropping, scale properly --- */
  .services-logo img,
  .services img {
    max-width: 120px;       /* smaller, screen-fit */
    width: 100%;
    height: auto;
    object-fit: contain;    /* IMPORTANT: no crop */
    display: block;
    margin: 0 auto 20px;
  }

  /* --- Keep SAME layout as desktop --- */
  .service-box {
    flex-direction: row;    /* NOT column */
    align-items: stretch;
    width: 100%;
    padding: 25px 20px;
    gap: 20px;
  }

  .service-box .left,
  .service-box .right {
    width: 48%;
    text-align: left;
    font-size: 0.95rem;
  }

  /* --- Vertical divider stays vertical --- */
  .divider {
    width: 2px;
    height: auto;
    background-color: #fff;
  }
}


/* =====================================================
   EXTRA SMALL DEVICES – JUST SCALE DOWN (NO REDESIGN)
   ===================================================== */

@media (max-width: 480px) {

  .services-logo img,
  .services img {
    max-width: 100px;   /* slightly smaller */
  }

  .service-box {
    padding: 20px 15px;
  }

  .service-box .left,
  .service-box .right {
    font-size: 0.9rem;
  }
}


/* =====================================================
   BOOK NOW – FIX OVERLAP ONLY (NO CAROUSEL CHANGES)
   ===================================================== */

@media (max-width: 768px) {

  .book-now h2 {
    margin-bottom: 40px;   /* spacing fix ONLY */
  }

  .book-carousel {
    margin-top: 0;         /* no transform changes */
    height: auto;
  }
}

/* =====================================================
   GLOBAL MOBILE SAFETY (PREVENT OVERFLOW)
   ===================================================== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}


/* =====================================================
   HEADER & HAMBURGER VISIBILITY
   ===================================================== */
@media (max-width: 768px) {
  header {
    width: 100%;
    padding: 12px 16px;
  }

  .hamburger {
    position: relative;
    right: 0;
    z-index: 999;
  }
}


/* =====================================================
   RANCHSCAPE – STOP IT FROM STRETCHING SCREEN
   ===================================================== */
@media (max-width: 768px) {

  .ranchscape h2,
  .ranchscape h1 {
    font-size: 2.2rem;
    word-break: break-word;
    text-align: center;
  }

  .ranch-grid {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px 16px;
    box-sizing: border-box;
  }
}


/* =====================================================
   SERVICE & FACILITIES – FIX CROPPED LOGO + LAYOUT
   ===================================================== */
@media (max-width: 768px) {

  /* Fix parent container (REAL cause of cropping) */
  .services,
  .services * {
    overflow: visible;
  }

  /* Logo sizing */
  .services-logo,
  .services-logo img {
    width: 100%;
    max-width: 110px;
    height: auto;
    margin: 0 auto 20px;
    object-fit: contain;
    display: block;
  }

  /* Keep DESKTOP layout */
  .service-box {
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    padding: 24px 16px;
    box-sizing: border-box;
  }

  .service-box .left,
  .service-box .right {
    width: 48%;
    font-size: 0.95rem;
  }

  /* Vertical divider stays vertical */
  .divider {
    width: 2px;
    height: auto;
    flex-shrink: 0;
  }
}


/* =====================================================
   BOOK NOW – STOP OVERLAP (NO CAROUSEL REDESIGN)
   ===================================================== */
@media (max-width: 768px) {

  /* Force normal document flow */
  .book-now,
  .book-carousel {
    position: relative !important;
    transform: none !important;
  }

  .book-now {
    padding-top: 80px;
  }

  .book-now h2 {
    margin-bottom: 50px;
  }
}


/* =====================================================
   CAROUSEL – RESTORE 3-CARD VIEW ON MOBILE
   ===================================================== */
@media (max-width: 768px) {

  .book-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
  }

  .book-card {
    display: block;
    position: absolute;
    opacity: 1;
  }

  .book-card.active {
    transform: translateX(0) scale(1);
    z-index: 3;
  }

  .book-card.prev {
    transform: translateX(-120px) scale(0.9);
    z-index: 2;
  }

  .book-card.next {
    transform: translateX(120px) scale(0.9);
    z-index: 2;
  }
}
