/* Advanced Components for Rumi Konağı Website */

/* Luxurious Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-glass-content {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(243, 217, 123, 0.3);
  border-radius: 10px;
  padding: 50px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto;
}

/* Enhanced Room Cards */
.room-card-luxury {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.room-card-luxury:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.room-card-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.room-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.room-card-luxury:hover .room-card-image img {
  transform: scale(1.1);
}

.room-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 26, 47, 0.8) 0%, rgba(10, 26, 47, 0) 60%);
  opacity: 0;
  transition: all 0.5s ease;
}

.room-card-luxury:hover .room-card-overlay {
  opacity: 1;
}

.room-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--gold);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.room-card-content {
  padding: 30px;
  position: relative;
}

.room-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.room-card-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: all 0.3s ease;
}

.room-card-luxury:hover .room-card-title::after {
  width: 100%;
}

.room-card-desc {
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.7;
}

.room-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.room-feature-item {
  display: flex;
  align-items: center;
  background-color: rgba(212, 175, 55, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.room-feature-item svg {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  fill: var(--gold);
}

.room-feature-item:hover {
  background-color: rgba(212, 175, 55, 0.2);
  transform: translateY(-3px);
}

.room-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 20px;
  margin-top: 20px;
}

.room-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
}

.room-card-price span {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

.room-card-btn {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 10px 20px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.room-card-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.2), transparent);
  transition: all 0.5s ease;
}

.room-card-btn:hover {
  background-color: var(--gold);
  color: var(--navy);
}

.room-card-btn:hover::before {
  left: 100%;
}

/* Animated features section */
.feature-box {
  padding: 30px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background-color: var(--gold);
  transition: all 0.4s ease;
  z-index: -1;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
}

.feature-box:hover::before {
  height: 100%;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s ease;
}

.feature-box:hover .feature-icon {
  background-color: var(--gold);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--gold);
  transition: all 0.4s ease;
}

.feature-box:hover .feature-icon svg {
  fill: var(--navy);
}

.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.feature-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: all 0.4s ease;
}

.feature-box:hover .feature-title::after {
  width: 100%;
}

/* Testimonial slider */
.testimonial-slider {
  position: relative;
  padding: 50px 0;
}

.testimonial-slide {
  background-color: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.1);
  margin: 20px;
  transition: all 0.4s ease;
}

.testimonial-slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 30px;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-family: 'Georgia', serif;
  font-size: 5rem;
  position: absolute;
  top: -30px;
  left: -15px;
  color: rgba(212, 175, 55, 0.1);
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 3px solid var(--gold);
}

.testimonial-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin: 0 0 5px;
  color: var(--navy);
}

.testimonial-author-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.testimonial-rating {
  display: flex;
  margin-top: 5px;
}

.testimonial-rating svg {
  width: 15px;
  height: 15px;
  fill: var(--gold);
  margin-right: 3px;
}

/* Gallery masonry */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.7s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-content {
  text-align: center;
  color: var(--navy-900);
  transform: translateY(20px);
  transition: all 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-content {
  transform: translateY(0);
}

.gallery-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.gallery-desc {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
}
