/* ==========================================================================
   PORTFOLIO PAGE STYLES — SABAYA TRAVELS INTERNATIONAL TRAVEL AGENCY
   Bespoke Expeditions Showcase, Meet Our Founder, Metrics & Services
   ========================================================================== */

/* --- Portfolio Hero Banner --- */
.portfolio-hero {
  position: relative;
  min-height: 54vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4.5rem;
  padding-top: 140px;
  background: radial-gradient(circle at 50% 30%, rgba(197, 155, 39, 0.25), rgba(18, 21, 26, 0.75)),
              url('https://images.unsplash.com/photo-1599661046289-e31897846e41?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  border-bottom: 1px solid var(--color-gold-border);
}

.portfolio-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 17, 22, 0.88) 0%, rgba(14, 17, 22, 0.3) 60%, rgba(14, 17, 22, 0.55) 100%);
  pointer-events: none;
}

.portfolio-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.portfolio-hero-content h1,
.portfolio-hero-content .heading-hero {
  font-family: var(--font-serif-royal);
  color: #FFFFFF !important;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.75);
}

.portfolio-hero-content .lead-text {
  color: #F1F5F9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* --- Agency Key Metrics Strip --- */
.agency-metrics-bar {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 2.25rem 0;
  box-shadow: var(--shadow-subtle);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.metric-item {
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--color-border);
}

.metric-item:last-child {
  border-right: none;
}

.metric-number {
  font-family: var(--font-serif-royal);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: var(--color-gold-dark);
  line-height: 1;
  margin-bottom: 0.35rem;
  display: block;
}

.metric-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   MEET OUR FOUNDER SECTION — LUXURIOUS EDITORIAL AESTHETIC
   Gungun Shrivastav — Founder & Tourism Specialist
   ========================================================================== */
.founder-section {
  position: relative;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-champagne) 100%);
  padding: clamp(5.5rem, 8vw, 8rem) 0;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.founder-editorial-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(3rem, 5.5vw, 5.5rem);
  align-items: center;
}

/* --- Left Column: Founder Visual Composition & Floating Elements --- */
.founder-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
}

.founder-frame-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.founder-backdrop-glow {
  position: absolute;
  top: -8%;
  left: -8%;
  width: 116%;
  height: 116%;
  background: radial-gradient(circle, rgba(197, 155, 39, 0.18) 0%, rgba(12, 59, 46, 0.08) 50%, transparent 75%);
  z-index: 0;
  pointer-events: none;
  filter: blur(28px);
}

.founder-flight-path {
  position: absolute;
  top: -25px;
  right: -30px;
  width: 220px;
  height: 220px;
  pointer-events: none;
  z-index: 1;
}

.founder-photo-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: clamp(480px, 62vh, 580px);
  border-radius: 36px 16px 36px 16px;
  overflow: hidden;
  border: 1.5px solid var(--color-gold-border);
  box-shadow: 0 24px 60px -12px rgba(20, 23, 28, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  background-color: #0E1116;
}

.founder-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  transition: transform 1.2s var(--ease-luxury), filter 0.6s ease;
}

.founder-photo-frame:hover .founder-portrait-img {
  transform: scale(1.05);
}

.founder-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 17, 22, 0.45) 0%, rgba(14, 17, 22, 0.05) 50%, transparent 100%);
  pointer-events: none;
}

/* Floating Travel Decorative Elements */
.founder-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-luxury);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.1rem;
  color: var(--color-text-primary);
  transition: transform 0.35s var(--ease-luxury), box-shadow 0.35s ease;
}

.founder-float-badge:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--color-gold);
}

.float-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  flex-shrink: 0;
}

.float-badge-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.float-badge-text {
  display: flex;
  flex-direction: column;
}

.float-badge-text .badge-title {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.15;
}

.float-badge-text .badge-sub {
  font-size: 0.68rem;
  color: var(--color-gold-dark);
  font-weight: 600;
}

/* Specific Placements & Animations */
.float-badge-location {
  top: 1.5rem;
  left: -2rem;
  animation: floatLocation 5.5s ease-in-out infinite;
}

.float-badge-plane {
  bottom: 5.5rem;
  right: -1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  justify-content: center;
  padding: 0;
  background: linear-gradient(135deg, #C59B27 0%, #D8B44A 50%, #B8860B 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-gold);
  animation: floatPlane 4.8s ease-in-out infinite 0.6s;
}

.float-badge-plane svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transform: rotate(-35deg);
}

.float-badge-camera {
  top: 36%;
  right: -1.75rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  animation: floatCamera 5.2s ease-in-out infinite 1.2s;
}

.founder-float-postcard {
  position: absolute;
  bottom: -1.6rem;
  left: 1.25rem;
  z-index: 6;
  background: #FFFFFF;
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-luxury);
  max-width: 255px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: floatPostcard 6.2s ease-in-out infinite 1.8s;
}

.postcard-stamp {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, rgba(197, 155, 39, 0.18) 0%, rgba(12, 59, 46, 0.12) 100%);
  border: 1px dashed var(--color-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  flex-shrink: 0;
}

.postcard-stamp svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.postcard-content {
  display: flex;
  flex-direction: column;
}

.postcard-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-gold-dark);
  text-transform: uppercase;
}

.postcard-msg {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.35;
}

/* Keyframe Float Animations */
@keyframes floatLocation {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes floatPlane {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.06); }
}

@keyframes floatCamera {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(1.2deg); }
}

@keyframes floatPostcard {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-8px) rotate(-0.5deg); }
}

/* --- Right Column: Founder Information & Strengths --- */
.founder-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-header-block {
  margin-bottom: 1.25rem;
}

.founder-name {
  font-family: var(--font-serif-royal);
  font-size: clamp(2.35rem, 3.8vw, 3.4rem);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.1;
  margin: 0.35rem 0 0.85rem;
  letter-spacing: 0.02em;
}

.founder-designation-badge {
  display: inline-block;
}

.founder-intro-lead {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 1.6rem;
}

/* Highlighted Quote Block */
.founder-quote-card {
  background: linear-gradient(135deg, rgba(197, 155, 39, 0.08) 0%, rgba(12, 59, 46, 0.04) 100%);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.15rem 1.6rem;
  margin-bottom: 2rem;
  position: relative;
}

.founder-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.quote-author-sign {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold-dark);
}

/* 4 Service/Strength Cards Grid */
.founder-strengths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}

.strength-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: transform 0.35s var(--ease-luxury), border-color 0.3s ease, box-shadow 0.35s var(--ease-luxury);
}

.strength-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-card);
}

.strength-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(197, 155, 39, 0.14) 0%, rgba(12, 59, 46, 0.08) 100%);
  border: 1px solid var(--color-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-luxury), background 0.3s ease;
}

.strength-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.strength-card:hover .strength-icon {
  transform: scale(1.08);
  background: var(--color-gold);
  color: #FFFFFF;
}

.strength-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.2rem;
}

.strength-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.founder-action-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   AGENCY SERVICES STRIP & TESTIMONIALS
   ========================================================================== */
.agency-services-strip {
  background-color: var(--color-bg-champagne);
  border-top: 1px solid var(--color-gold-border);
  border-bottom: 1px solid var(--color-gold-border);
  padding: clamp(4.5rem, 6vw, 6rem) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.service-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-luxury), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(197, 155, 39, 0.15) 0%, rgba(12, 59, 46, 0.12) 100%);
  border: 1px solid var(--color-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  margin-bottom: 1.25rem;
}

.service-icon-box svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-text-primary);
  margin-bottom: 0.65rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --- Verified Testimonials Showcase --- */
.testimonials-section {
  padding: clamp(5rem, 7vw, 7.5rem) 0;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.testimonial-stars {
  color: #D8B44A;
  font-size: 1rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  object-fit: cover;
}

.author-info h4 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.author-info span {
  font-size: 0.78rem;
  color: var(--color-gold-dark);
}

/* ==========================================================================
   RESPONSIVE RULES FOR PORTFOLIO & FOUNDER
   ========================================================================== */
@media (max-width: 992px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
  }

  .metric-item:nth-child(2) {
    border-right: none;
  }

  .founder-editorial-wrapper {
    grid-template-columns: 1fr;
    gap: 3.75rem;
  }

  .founder-photo-frame {
    max-width: 400px;
    height: 480px;
  }

  .float-badge-location {
    left: -0.5rem;
  }

  .float-badge-plane {
    right: -0.5rem;
  }

  .float-badge-camera {
    right: -0.5rem;
  }
}

@media (max-width: 576px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1.25rem;
  }

  .metric-item:last-child {
    border-bottom: none;
  }

  .founder-section {
    padding: 4rem 0;
  }

  .founder-editorial-wrapper {
    gap: 3rem;
    text-align: center;
  }

  .founder-header-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .founder-photo-frame {
    max-width: 310px;
    height: 390px;
    border-radius: 24px 12px 24px 12px;
  }

  .float-badge-location {
    left: -0.25rem;
    top: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .float-badge-location .badge-title {
    font-size: 0.7rem;
  }

  .float-badge-location .badge-sub {
    font-size: 0.62rem;
  }

  .float-badge-camera {
    display: none;
  }

  .founder-float-postcard {
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    animation: none;
    max-width: 240px;
    padding: 0.6rem 0.85rem;
  }

  .founder-strengths-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .founder-action-row {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-badge-location,
  .float-badge-plane,
  .float-badge-camera,
  .founder-float-postcard {
    animation: none !important;
  }
}

/* ==========================================================================
   ENHANCED PORTFOLIO PAGE RESPONSIVE SUITE (320px to 2560px)
   ========================================================================== */

@media (max-width: 1024px) {
  .portfolio-hero {
    min-height: clamp(340px, 44vh, 480px);
    padding-top: 120px;
  }

  .founder-editorial-wrapper {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .founder-frame-wrapper {
    margin: 0 auto;
  }

  .founder-photo-frame {
    margin: 0 auto;
    max-width: 380px;
    height: clamp(400px, 50vh, 500px);
  }

  .founder-header-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .founder-action-row {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .portfolio-hero {
    min-height: clamp(320px, 42vh, 440px);
    padding-top: 110px;
    padding-bottom: 3rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .metric-item {
    border-right: none !important;
    border-bottom: 1px solid var(--color-border);
    padding: 0.85rem 0.5rem;
  }

  .founder-photo-frame {
    max-width: min(300px, calc(100vw - 48px));
    height: 360px;
    border-radius: 24px 12px 24px 12px;
  }

  .float-badge-camera {
    display: none !important;
  }

  .float-badge-plane {
    top: -10px;
    right: -5px;
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
  }

  .float-badge-location {
    top: 10px;
    left: -5px;
    padding: 0.4rem 0.75rem;
  }

  .founder-float-postcard {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 1.25rem auto 0;
    max-width: 280px;
    animation: none;
  }

  .founder-strengths-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 0.85rem;
  }

  .founder-action-row {
    width: 100%;
  }

  .founder-action-row .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 0.84rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-card {
    border-radius: var(--radius-md);
  }

  .portfolio-card-media {
    height: 220px;
  }

  .portfolio-card-content {
    padding: 1.25rem 1.15rem;
  }
}

@media (max-width: 390px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .metric-number {
    font-size: 2rem;
  }

  .founder-name {
    font-size: 1.65rem;
  }

  .founder-quote-text {
    font-size: 1.15rem;
  }
}
