/* =============================================
   SPACE RENTAL PAGE — styles.css
   Depends on ../css/styles.css for header/footer/nav/btn-green
============================================= */

/* =============================================
   HERO
============================================= */
#sr-hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}

.sr-hero-bg {
  position: absolute;
  inset: 0;
}

.sr-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sr-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.sr-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 110px;
}

.sr-hero-content h1 {
  font-size: 64px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  margin: 0 0 16px;
}

.sr-hero-content p {
  font-size: 18px;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
  max-width: 540px;
}

@media (max-width: 1024px) {
  .sr-hero-content { padding: 0 60px; }
  .sr-hero-content h1 { font-size: 48px; }
}

@media (max-width: 767px) {
  #sr-hero { height: 340px; padding-bottom: 40px; }
  .sr-hero-content { padding: 0 20px; }
  .sr-hero-content h1 { font-size: 36px; }
  .sr-hero-content p { font-size: 15px; }
}


/* =============================================
   INTRO — "A space is more than just a space"
============================================= */
#sr-intro {
  background: #ffffff;
  padding: 100px 0 90px;
}

.sr-intro-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 110px;
  display: flex;
  align-items: center;
  gap: 90px;
}

.sr-intro-text {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sr-intro-text h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: #1a1a1a;
  margin: 0;
}

.sr-intro-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #2d2d2d;
  margin: 0;
}

.sr-intro-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sr-intro-image img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@media (max-width: 1024px) {
  .sr-intro-inner { flex-direction: column; padding: 0 60px; gap: 60px; }
  .sr-intro-text { flex: none; width: 100%; }
  .sr-intro-text h2 { font-size: 34px; }
  .sr-intro-image img { max-width: 320px; }
}

@media (max-width: 767px) {
  #sr-intro { padding: 70px 0; }
  .sr-intro-inner { padding: 0 20px; gap: 40px; }
  .sr-intro-text h2 { font-size: 28px; }
  .sr-intro-image img { max-width: 260px; }
}


/* =============================================
   PHOTO CAROUSEL
============================================= */
#sr-carousel {
  background: #ffffff;
  padding: 0 0 80px;
}

.sr-carousel-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 110px;
}

.sr-carousel-track-wrap {
  overflow: hidden;
  width: 100%;
}

.sr-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sr-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}

.sr-carousel-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.sr-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.sr-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.sr-photo:hover img {
  transform: scale(1.04);
}

/* Arrows */
.sr-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.sr-carousel-arrow:hover {
  background: #f5f5f5;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.sr-carousel-prev { left: 60px; }
.sr-carousel-next { right: 60px; }

/* Dots */
.sr-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.sr-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cccccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sr-dot.active {
  background: #1a1a1a;
  transform: scale(1.2);
}

@media (max-width: 1024px) {
  .sr-carousel-inner { padding: 0 60px; }
  .sr-carousel-prev { left: 10px; }
  .sr-carousel-next { right: 10px; }
  .sr-carousel-photos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 767px) {
  .sr-carousel-inner { padding: 0 20px; }
  .sr-carousel-prev { left: 0; }
  .sr-carousel-next { right: 0; }
  .sr-carousel-photos { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .sr-carousel-arrow { width: 36px; height: 36px; font-size: 22px; }
}


/* =============================================
   FIND YOUR PERFECT EVENT SPACE — features
============================================= */
#sr-features {
  background: #ffffff;
  padding: 90px 0 100px;
}

.sr-features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 110px;
}

.sr-features-title {
  margin-bottom: 64px;
}

.sr-features-title h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: #1a1a1a;
  margin: 0;
}

.sr-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 40px;
}

.sr-feature-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sr-feature-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.sr-feature-icon svg {
  width: 100%;
  height: 100%;
}

.sr-feature-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.25;
}

.sr-feature-item p {
  font-size: 15px;
  line-height: 1.7;
  color: #444444;
  margin: 0;
}

@media (max-width: 1024px) {
  .sr-features-inner { padding: 0 60px; }
  .sr-features-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 40px; }
}

@media (max-width: 767px) {
  #sr-features { padding: 70px 0; }
  .sr-features-inner { padding: 0 20px; }
  .sr-features-title h2 { font-size: 30px; }
  .sr-features-grid { grid-template-columns: 1fr; gap: 40px; }
}


/* =============================================
   LAYOUTS AND SETUP
============================================= */
#sr-layouts {
  background: #ffffff;
  padding: 80px 0 100px;
}

.sr-layouts-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 110px;
}

.sr-layouts-inner h2 {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 24px;
  line-height: 1.15;
}

.sr-layouts-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #2d2d2d;
  max-width: 700px;
  margin: 0 0 60px;
}

.sr-layouts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.sr-layout-card {
  background: #F5F9F3;
  border-radius: 18px;
  padding: 30px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sr-layout-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}

.sr-layout-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
}

.sr-layout-icon svg {
  width: 100%;
  height: 100%;
}

.sr-layout-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.25;
}

.sr-layout-card p {
  font-size: 14px;
  color: #555555;
  margin: 0;
}

@media (max-width: 1024px) {
  .sr-layouts-inner { padding: 0 60px; }
  .sr-layouts-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  #sr-layouts { padding: 70px 0; }
  .sr-layouts-inner { padding: 0 20px; }
  .sr-layouts-inner h2 { font-size: 30px; }
  .sr-layouts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .sr-layouts-grid { grid-template-columns: 1fr; }
}


/* =============================================
   OTHER AMENITIES
============================================= */
#sr-amenities {
  background: #ffffff;
  padding: 0 0 100px;
}

.sr-amenities-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 110px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.sr-amenities-image {
  flex: 0 0 52%;
}

.sr-amenities-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.sr-amenities-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sr-amenities-text h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.2;
}

.sr-amenities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sr-amenities-list li {
  font-size: 16px;
  color: #2d2d2d;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}

.sr-amenities-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #7EBB55;
  font-size: 18px;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .sr-amenities-inner { flex-direction: column; padding: 0 60px; gap: 60px; }
  .sr-amenities-image { flex: none; width: 100%; }
}

@media (max-width: 767px) {
  .sr-amenities-inner { padding: 0 20px; }
  .sr-amenities-image img { height: 280px; }
  .sr-amenities-text h2 { font-size: 28px; }
}


/* =============================================
   CTA — "A space for you"
============================================= */
#sr-cta {
  background-color: #EDF3E9;
  padding: 100px 20px;
  text-align: center;
}

.sr-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.sr-cta-inner h2 {
  font-size: 52px;
  font-weight: 700;
  color: #7EBB55;
  margin: 0;
  line-height: 1.1;
}

.sr-cta-inner p {
  font-size: 17px;
  line-height: 1.75;
  color: #2d2d2d;
  margin: 0;
  text-align: center;
}

.sr-cta-btn {
  font-size: 20px;
  padding: 18px 52px;
}

@media (max-width: 767px) {
  #sr-cta { padding: 80px 20px; }
  .sr-cta-inner h2 { font-size: 36px; }
  .sr-cta-btn { font-size: 16px; padding: 16px 36px; }
}


/* =============================================
   OTHER INSPIRING SPACES — accordion
============================================= */
#sr-other-spaces {
  background: #F5F9F3;
  padding: 90px 0 100px;
}

.sr-other-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 110px;
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

/* Left: image */
.sr-other-image {
  flex: 0 0 48%;
}

.sr-other-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  display: block;
}

/* Right: content */
.sr-other-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 10px;
}

.sr-other-heading {
  font-size: 42px;
  font-weight: 700;
  color: #7EBB55;
  line-height: 1.15;
  margin: 0;
}

/* Accordion */
.sr-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sr-accordion-item {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.sr-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: #1C395C;
  text-align: left;
  gap: 16px;
  transition: background 0.15s ease;
}

.sr-accordion-btn:hover {
  background: #f9f9f9;
}

/* The +/- icon container */
.sr-acc-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #F78A3C;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.3s ease;
}

.sr-acc-icon svg {
  width: 16px;
  height: 16px;
  color: #ffffff;
  stroke: #ffffff;
  transition: transform 0.3s ease;
}

/* When open: rotate to show minus */
.sr-accordion-btn[aria-expanded="true"] .sr-acc-icon svg {
  transform: rotate(45deg);
}

.sr-accordion-body {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.75;
  color: #444444;
}

.sr-accordion-body p {
  margin: 0;
}

@media (max-width: 1024px) {
  .sr-other-inner { flex-direction: column; padding: 0 60px; gap: 60px; }
  .sr-other-image { flex: none; width: 100%; }
  .sr-other-image img { height: 360px; }
  .sr-other-heading { font-size: 34px; }
}

@media (max-width: 767px) {
  #sr-other-spaces { padding: 70px 0; }
  .sr-other-inner { padding: 0 20px; gap: 40px; }
  .sr-other-heading { font-size: 28px; }
  .sr-other-image img { height: 260px; }
}