@import url('styles.css');

/* Hero Slider */
.hero-slider {
  position: relative;
  height: calc(100vh - var(--header-height));
  max-height: 650px;
  margin-top: calc(var(--header-height) + 10px);
  overflow: hidden;
}

.slider-container {
  height: 100%;
  width: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  will-change: transform;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 4s ease-in-out;
  will-change: transform;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.slide.active img {
  transform: scale(1);
}

.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.slide-content {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -30%);
  text-align: center;
  color: var(--light-color);
  width: 900px;
  padding: 25px;
  z-index: 2;
}

.slide-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.5px;
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
}

.slide-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  background: rgba(0, 0, 0, 0.4);
  color: #f2f2f2;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 16px;
  line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
}

.slider-controls button {
  background: rgba(249, 249, 249, 0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--dark-color);
  transition: var(--transition);
}

.slider-controls button:hover,
.slider-controls button:focus {
  background: var(--light-color);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(249, 249, 249, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--light-color);
}

/* Section Transition Quote */
.section-transition-quote {
  padding: 50px 20px;
  background: linear-gradient(120deg, var(--light-color) 80%, var(--primary-color) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 25px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  border: 2px solid var(--primary-color);
  backdrop-filter: blur(4px);
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-style: italic;
  background: linear-gradient(90deg, var(--primary-color), #4a7ba3);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Magazine Sections */
.magazine-section {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically if there's extra height */
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
  }
  
  .magazine-content {
    flex: 0 0 100%; /* Take full width in center */
    max-width: 800px; /* Optional: limit text width */
    padding: 20px;
    text-align: center;
  }
.magazine-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.magazine-content p {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.magazine-carousel .carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  transform: translateY(-50%);
}

.magazine-carousel .carousel-controls button {
  background: rgba(249, 249, 249, 0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--dark-color);
  transition: var(--transition);
}

.magazine-carousel .carousel-controls button:hover,
.magazine-carousel .carousel-controls button:focus {
  background: var(--light-color);
}

.magazine-carousel .carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.magazine-carousel .carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(249, 249, 249, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.magazine-carousel .carousel-dot.active {
  background: var(--light-color);
}

/* Pet Policy Section */
.pet-policy-section {
  padding: 60px 20px;
  background: var(--light-color);
  text-align: center;
}

.pet-policy-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.pet-policy-section p {
  font-family: 'Lora', serif;
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 20px;
}

/* Transportation Section */


/* Map Section */
.map-container {
  margin: 20px auto;
  max-width: 800px;
  height: 350px;
}

.map-container iframe {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .magazine-section {
    flex-direction: column;
    align-items: center;
  }

  .magazine-section.reverse {
    flex-direction: column;
  }

  .magazine-carousel {
    flex: 0 0 100%;
    max-width: 600px;
  }

  .magazine-content {
    flex: 0 0 100%;
    padding: 15px;
  }

  .magazine-content h2 {
    font-size: clamp(1.6rem, 2.8vw, 2rem);
  }

  .magazine-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .slide-content {
    padding: 15px;
    background: rgba(0, 0, 0, 0.55);
    width: 90vw;
  }

  .slide-content h1 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.3);
  }

  .slide-content p {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    padding: 10px 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.6);
  }
}

@media (max-width: 600px) {
  .magazine-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  }

  .slide-content h1 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    -webkit-text-stroke: 0.3px rgba(0, 0, 0, 0.3);
  }

  .slide-content p {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    padding: 10px 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.6);
  }
}