/* ========================================================================
   CONTACT PAGE SPECIFIC STYLES
   Dependencies: common.css, variables.css
======================================================================== */

/* Hero Background - Page Specific */
.hero-contact {
  background-image: url('/imgs/hero/contact-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
}

/* ========================================================================
   CONTACT PAGE LAYOUT
======================================================================== */

.contact-page {
  padding: var(--space-3xl) 0;
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-bg-light) 50%,
    var(--color-bg) 100%
  );
  position: relative;
  overflow: hidden;
}

/* Grid Layout - 3fr (text) : 2fr (calendar) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
  position: relative;
  z-index: 2;
}

/* ========================================================================
   LEFT SIDE: CONTACT INFO
======================================================================== */

.contact-info {
  padding: var(--space-xl);
  background: rgba(var(--bg-light-rgb), 0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--primary-light-rgb), 0.2);
  box-shadow: var(--shadow-md);
}

.info-header {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(var(--primary-light-rgb), 0.2);
}

.contact-info h3 {
  font-size: var(--font-size-lg); 
  font-family: var(--font-header);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  margin: 0;
}

.intro-text {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

/* Benefits List */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
}

.benefits-list li {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  font-weight: var(--font-weight-bold);
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.3);
}

/* Note Box */
.note-box {
  background: rgba(var(--accent-rgb), 0.1);
  border-left: 3px solid var(--color-accent);
  padding: var(--space-md);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
}

.note-box strong {
  color: var(--color-accent);
  font-weight: var(--font-weight-semibold);
}

/* ========================================================================
   RIGHT SIDE: BOOKING WIDGET
======================================================================== */

.booking-section {
  position: relative;
  padding: var(--space-md);
  background: rgba(var(--bg-light-rgb), 0.4);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--primary-light-rgb), 0.2);
  box-shadow: var(--shadow-lg);
}

.booking-widget {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Calendly widget styling */
.calendly-inline-widget {
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Floating background elements */
.floating-element {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: 0.08;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.booking-section .floating-element:nth-child(1) {
  top: 5%;
  right: 5%;
  width: 120px;
  height: 120px;
  background: var(--color-primary-light);
  animation: float-slow 18s infinite ease-in-out;
}

.booking-section .floating-element:nth-child(2) {
  bottom: 10%;
  left: 5%;
  width: 140px;
  height: 140px;
  background: var(--color-accent);
  animation: float-slow 22s infinite ease-in-out reverse;
}

/* Floating animation */
@keyframes float-slow {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(15px, -15px) scale(1.05);
  }
}

/* ========================================================================
   RESPONSIVE DESIGN
======================================================================== */

/* Tablet & Desktop: Side by side - 3fr (text) : 2fr (calendar) */
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 3fr 2fr;
    gap: var(--space-2xl);
  }
  
  .contact-info {
    padding: var(--space-2xl);
  }
  
  .contact-info h3 {
    font-size: var(--font-size-xl); 
  }
  
  .intro-text {
    font-size: var(--font-size-md);
  }
  
  .benefits-list li {
    font-size: var(--font-size-md);
  }
  
  .note-box {
    font-size: var(--font-size-base);
  }
  
  .booking-section {
    padding: var(--space-lg);
  }
}

/* Large Desktop: Slightly bigger */
@media (min-width: 1280px) {
  .contact-info h3 {
    font-size: var(--font-size-2xl);
  }
  
  .intro-text {
    font-size: var(--font-size-lg);
  }
}

/* Mobile: Stack vertically */
@media (max-width: 1023px) {
  .contact-page {
    padding: var(--space-2xl) 0;
  }
  
  .contact-grid {
    gap: var(--space-xl);
  }
  
  .contact-info {
    padding: var(--space-lg);
  }
  
  .booking-section {
    padding: var(--space-sm);
  }
  
  .calendly-inline-widget {
    height: 600px !important;
  }
}