/* 
   Quad Waves - Georgia Luxury Package Page Stylesheet
   Extends index.css and adds 3D/Hover micro-interactions
*/

/* --- Page Structure & Hero Parallax --- */
.georgia-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #031428;
  color: var(--text-white);
  padding: 8rem 2rem 4rem 2rem;
}

/* Background Parallax Layers */
.parallax-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-image: url("img/georgia_bg.png");
  background-size: cover;
  background-position: center;
  transform: translate3d(0, 0, 0);
  transition: transform 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(6, 38, 76, 0.45) 0%,
    rgba(6, 38, 76, 0.2) 50%,
    rgba(3, 20, 40, 0.92) 100%
  );
  z-index: 2;
}

/* --- Navigation Header Adjustment --- */
.georgia-header {
  background-color: rgba(6, 38, 76, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.georgia-header.scrolled {
  background-color: rgba(6, 38, 76, 0.95);
}

/* --- Content Wrapper & Centered Layout --- */
.georgia-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  gap: 2.5rem;
}

.title-container-centered {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards 0.2s;
}

/* --- Layout Grid --- */
.georgia-content-container {
  width: 100%;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr; /* Right is 0.9fr (info), Left is 1.1fr (scenic empty) */
  gap: 4rem;
  align-items: center;
  flex-grow: 1;
}

/* Right Content Area (Cards stack) */
.georgia-info-side {
  grid-column: 1; /* First column in RTL (Right side) */
  display: flex;
  flex-direction: column;
  gap: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.3s;
}

.georgia-logo-center {
  display: none;
  justify-content: center;
  margin-bottom: 1rem;
}

.georgia-logo-center img {
  height: 70px;
  width: auto;
}

/* Glowing Soft Background for Title */
.title-container {
  position: relative;
  display: inline-block;
  padding: 0.75rem 2.5rem;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.15) 0%, rgba(218, 165, 32, 0.05) 100%);
  border: 1px solid rgba(218, 165, 32, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.georgia-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.5px;
}

/* --- Glassmorphic Golden Detail Cards --- */
.georgia-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  perspective: 1000px; /* Enable 3D space */
}

.gold-detail-card {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(202, 163, 85, 0.18) 0%,
    rgba(202, 163, 85, 0.08) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(202, 163, 85, 0.28);
  border-radius: 20px 40px 40px 20px; /* Elegant custom asymmetry */
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: 
    border-color 0.4s ease, 
    box-shadow 0.4s ease, 
    background-color 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: default;
}

/* Left-to-Right layout on LTR/English mode */
html[dir="ltr"] .georgia-content-container {
  grid-template-columns: 1.1fr 0.9fr; /* Left is 1.1fr (scenic), Right is 0.9fr (info) */
}
html[dir="ltr"] .georgia-info-side {
  grid-column: 2; /* Second column in LTR (Right side) */
}
html[dir="ltr"] .georgia-scenic-side {
  grid-column: 1; /* First column in LTR (Left side) */
}
html[dir="ltr"] .gold-detail-card {
  border-radius: 40px 20px 20px 40px;
  flex-direction: row;
}

.gold-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    800px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(255, 255, 255, 0.08),
    transparent 40%
  );
  z-index: 1;
  pointer-events: none;
}

/* Gold Icon Wrapper with 3D Depth */
.card-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #caa355 0%, #a4813f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 4px 15px rgba(202, 163, 85, 0.35);
  flex-shrink: 0;
  transform: translateZ(20px); /* Lift in 3D */
  transition: transform 0.3s ease;
}

.card-text-box {
  flex-grow: 1;
  transform: translateZ(15px); /* Lift text slightly */
}

.card-title-highlight {
  font-size: 1.45rem;
  font-weight: 700;
  color: #f7e3ba;
  line-height: 1.2;
  margin-bottom: 0.25rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.card-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Card Hover States */
.gold-detail-card:hover {
  background-color: rgba(202, 163, 85, 0.24);
  border-color: rgba(202, 163, 85, 0.6);
  box-shadow: 
    0 15px 45px rgba(202, 163, 85, 0.15),
    0 5px 15px rgba(0, 0, 0, 0.2);
}

.gold-detail-card:hover .card-icon-box {
  transform: translateZ(35px) scale(1.1);
  box-shadow: 0 6px 20px rgba(202, 163, 85, 0.55);
}

/* --- Call To Action Section --- */
.georgia-cta-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  text-align: center;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards 0.4s;
}

.cta-guideline-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Premium Orange Pill Button */
.btn-cta-orange {
  position: relative;
  background: linear-gradient(135deg, #e65c00 0%, #f9d423 150%);
  color: #fff;
  padding: 1.1rem 3.5rem;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1.25rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(230, 92, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  z-index: 1;
}

.btn-cta-orange::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s ease;
  z-index: -1;
  opacity: 0;
}

.btn-cta-orange:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(230, 92, 0, 0.6);
}

.btn-cta-orange:hover::after {
  left: 120%;
  opacity: 1;
}

.btn-cta-orange i {
  transition: transform 0.3s ease;
}

/* Reverse arrow for LTR */
html[dir="ltr"] .btn-cta-orange i {
  transform: rotate(180deg);
}

html[dir="ltr"] .btn-cta-orange:hover i {
  transform: rotate(180deg) translateX(5px);
}

.btn-cta-orange:hover i {
  transform: translateX(-5px);
}

/* Pulsing highlight effect */
.btn-cta-orange.pulse {
  animation: ctaPulse 2s infinite;
}

/* --- Left Scenic Side (Breathing Space) --- */
.georgia-scenic-side {
  grid-column: 2; /* Second column in RTL (Left side) */
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0;
  transform: scale(0.95);
  animation: zoomInReveal 1.2s ease forwards 0.5s;
}

/* Floating 3D Badge on Scenic Side */
.scenic-glass-badge {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  transform: translateZ(40px) rotateY(-10deg);
  transform-style: preserve-3d;
  animation: floatCard 4s ease-in-out infinite;
}

.scenic-glass-badge i {
  font-size: 2.5rem;
  color: #f7e3ba;
  text-shadow: 0 2px 10px rgba(202, 163, 85, 0.4);
}

.scenic-glass-badge h4 {
  font-size: 1.5rem;
  font-weight: 700;
}

.scenic-glass-badge p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* --- Booking Inquiry Modal (Sleek Blur) --- */
.booking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(3, 15, 30, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 1.5rem;
}

.booking-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.booking-modal-card {
  background: linear-gradient(
    135deg,
    rgba(15, 43, 79, 0.95) 0%,
    rgba(6, 38, 76, 0.98) 100%
  );
  border: 1.5px solid rgba(202, 163, 85, 0.35);
  border-radius: 24px;
  width: 100%;
  max-width: 650px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: translateY(50px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}

.booking-modal-overlay.active .booking-modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem; /* Standard for RTL close */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

html[dir="ltr"] .modal-close-btn {
  left: auto;
  right: 1.5rem;
}

.modal-close-btn:hover {
  background: #fff;
  color: var(--primary-color);
  transform: rotate(90deg);
}

.modal-header-gradient {
  background: linear-gradient(to left, rgba(202, 163, 85, 0.2), transparent);
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[dir="ltr"] .modal-header-gradient {
  background: linear-gradient(to right, rgba(202, 163, 85, 0.2), transparent);
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Modal Form Styles */
.modal-form-body {
  padding: 2.5rem;
}

.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.modal-form-group.full-width {
  grid-column: 1 / -1;
}

.modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-form-group label {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.modal-form-group input,
.modal-form-group textarea,
.modal-form-group select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* Style autofills and dropdown arrows */
.modal-form-group select option {
  background-color: var(--primary-dark);
  color: #fff;
}

.modal-form-group input:focus,
.modal-form-group textarea:focus,
.modal-form-group select:focus {
  border-color: #caa355;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(202, 163, 85, 0.25);
}

.modal-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #e65c00 0%, #caa355 100%);
  color: #fff;
  padding: 1.1rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.15rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(230, 92, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.modal-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 92, 0, 0.4);
  background: linear-gradient(135deg, #f26a1b 0%, #d8b065 100%);
}

.modal-submit-btn:disabled {
  background: #5a687c;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* --- Dark Blue Footer --- */
.georgia-footer {
  background: rgba(6, 38, 76, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 2rem;
  margin-top: auto;
  z-index: 3;
}

.georgia-footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-license-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-license-badge i {
  font-size: 1.6rem;
  color: #2ecc71;
}

.license-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.footer-contacts {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.footer-contact-link:hover {
  color: #caa355;
}

.footer-contact-link i {
  font-size: 1.25rem;
}

.footer-contact-link.whatsapp-link i {
  color: #2ecc71;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomInReveal {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floatCard {
  0% {
    transform: translateZ(40px) rotateY(-10deg) translateY(0px);
  }
  50% {
    transform: translateZ(40px) rotateY(-10deg) translateY(-10px);
  }
  100% {
    transform: translateZ(40px) rotateY(-10deg) translateY(0px);
  }
}

@keyframes ctaPulse {
  0% {
    box-shadow: 0 10px 30px rgba(230, 92, 0, 0.4);
  }
  50% {
    box-shadow: 0 10px 35px rgba(230, 92, 0, 0.7), 0 0 0 8px rgba(230, 92, 0, 0.15);
  }
  100% {
    box-shadow: 0 10px 30px rgba(230, 92, 0, 0.4);
  }
}


/* --- RESPONSIVE DESIGN --- */

@media (max-width: 1200px) {
  .georgia-content-container {
    gap: 2rem;
  }
  .georgia-title {
    font-size: 2.7rem;
  }
}

@media (max-width: 992px) {
  .georgia-content-container {
    grid-template-columns: 1.2fr 0.8fr; /* Keeps cards on the right (60%), empty scenic on the left (40%) */
    gap: 2rem;
  }
  
  html[dir="ltr"] .georgia-content-container {
    grid-template-columns: 0.8fr 1.2fr; /* LTR: scenic left (40%), cards right (60%) */
  }
  
  .georgia-scenic-side {
    display: flex;
    grid-column: 2;
  }
  
  html[dir="ltr"] .georgia-scenic-side {
    grid-column: 1;
  }
  
  .georgia-info-side {
    grid-column: 1;
  }
  
  html[dir="ltr"] .georgia-info-side {
    grid-column: 2;
  }
  
  .georgia-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 768px) {
  .parallax-bg {
    background-position: 20% center !important;
  }
  
  html[dir="ltr"] .parallax-bg {
    transform: scaleX(-1) translate3d(0, 0, 0) !important;
    background-position: 20% center !important;
  }

  .georgia-hero {
    padding-top: 6rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .georgia-content-container {
    grid-template-columns: 1.35fr 0.65fr; /* Mobile: cards take 67% width, empty scenic takes 33% */
    gap: 1rem;
  }
  
  html[dir="ltr"] .georgia-content-container {
    grid-template-columns: 0.65fr 1.35fr;
  }
  
  .georgia-scenic-side {
    display: flex;
    grid-column: 2;
  }
  
  html[dir="ltr"] .georgia-scenic-side {
    grid-column: 1;
  }
  
  .georgia-info-side {
    grid-column: 1;
  }
  
  html[dir="ltr"] .georgia-info-side {
    grid-column: 2;
  }
  
  .georgia-title {
    font-size: 1.6rem;
  }
  
  .title-container {
    padding: 0.4rem 1.5rem;
  }
  
  .georgia-cards-stack {
    gap: 0.6rem;
  }
  
  .gold-detail-card {
    border-radius: 12px 24px 24px 12px;
    padding: 0.5rem 0.8rem;
    gap: 0.65rem;
  }
  
  html[dir="ltr"] .gold-detail-card {
    border-radius: 24px 12px 12px 24px;
  }
  
  .card-icon-box {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(202, 163, 85, 0.25);
  }
  
  .card-title-highlight {
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
  }
  
  .card-desc {
    font-size: 0.76rem;
    line-height: 1.35;
  }
  
  .btn-cta-orange {
    width: 90%;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
  }
  
  .cta-guideline-text {
    font-size: 0.95rem;
    text-align: center;
    max-width: 90%;
  }
  
  .modal-form-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  
  .booking-modal-card {
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .modal-form-body {
    padding: 1.5rem;
  }
  
  .georgia-footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }
  
  .footer-contacts {
    flex-direction: column;
    gap: 1rem;
  }
}
