/* Global Variables */
:root {
  --brand-primary: #ff3c00;
  --brand-accent: #EA580C;
}

@keyframes loading {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

html {
  scroll-behavior: smooth;
}

/* Scroll Reveal Animations */
.reveal {
  position: relative;
  opacity: 0;
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
}

.fade-bottom {
  transform: translateY(50px);
}

.fade-bottom.active {
  transform: translateY(0);
}

.fade-left {
  transform: translateX(-100px);
}

.fade-left.active {
  transform: translateX(0);
}

.fade-right {
  transform: translateX(100px);
}

.fade-right.active {
  transform: translateX(0);
}

/* Global Styles and Typography */
body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  /* Prevent horizontal scroll on small screens */
}

/* Custom styles for hero section background */
.hero-background {
  background-image: url('https://t4.ftcdn.net/jpg/04/65/59/17/360_F_465591784_hHuNuZbaxDmE9yiAxvalifOnxXAz2GXO.jpg');
  /* Placeholder image of a palace/event venue */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Gradient for buttons - Orange branding */
.btn-primary {
  background: linear-gradient(to right, var(--brand-primary), var(--brand-accent));
  transition: transform 0.2s ease-in-out;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  /* Slightly brighter on hover */
}

/* Card hover effect */
.service-card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

/* Pricing card - featured state */
.price-card {
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s ease, background-color 0.35s ease;
  border-radius: 0.75rem;
  border: 1px solid rgba(16, 24, 40, 0.04);
  background-color: white;
}

.price-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(234, 88, 12, 0.12), 0 6px 12px rgba(0, 0, 0, 0.04);
  border-top: 4px solid #ff3c00;
}

.price-card.featured {
  background: linear-gradient(180deg, var(--brand-accent) 0%, var(--brand-primary) 100%);
  color: white;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 30px 60px rgba(255, 92, 16, 0.18);
  border: none;
}

.price-card.featured .text-gray-900 {
  color: white;
}

.price-card.featured .text-gray-600 {
  color: rgba(255, 255, 255, 0.9);
}

.price-card.featured .text-orange-500 {
  color: rgba(255, 255, 255, 0.95);
}

/* Portfolio card specific styles */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  /* rounded-xl */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 0, 0, 0.25);
}

.portfolio-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  /* Changed to column for better vertical alignment */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  text-align: center;
  /* Center text within overlay */
  padding: 1rem;
  /* Added padding */
}

.portfolio-card:hover .overlay {
  opacity: 1;
}

.portfolio-card img {
  transition: transform 0.3s ease-in-out;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

/* 3D Creamy Circle styles */
.creamy-circle-container {
  width: 390px;
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 20;
}

.creamy-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e4e6e9 0%, #b1b7d3 100%);
  border-radius: 50%;
  box-shadow:
    20px 20px 60px #d1c3af,
    -20px -20px 60px #ffffff,
    inset 10px 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.creamy-circle::after {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(10px);
}

.hero-text-glass {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-image {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.1);
}

.creamy-circle-container:hover .creamy-circle {
  transform: scale(1.02) rotate(2deg);
  box-shadow:
    25px 25px 70px #c5b8a5,
    -25px -25px 70px #ffffff;
}

.creamy-circle-container:hover .hero-image {
  transform: scale(1.15) translateY(-15px);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.25));
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-30px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-down {
  animation: fadeInDown 1.2s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 1.2s ease-out 0.3s forwards;
  opacity: 0;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-zoom-in {
  animation: zoomIn 1s ease-out 0.6s forwards;
  opacity: 0;
}

@media (max-width: 1024px) {
  .creamy-circle-container {
    width: 300px;
    height: 300px;
  }

  .hero-image {
    width: 250px;
    height: 250px;
  }
}

/* Video CV Page Specific Styles */
:root {
  --video-bg-light: #ffffff;
  --video-text-main: #1a1a1a;
  --video-text-muted: #666666;
  --video-radius: 16px;
  --video-max-width: 1200px;
}

.section-heading {
  display: inline-block;
  border-bottom: 4px solid var(--brand-primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: #000;
}

/* Video slider styles - Optimized height and 3D spacing */
.video-slider-container {
  position: relative;
  width: 100%;
  max-width: var(--video-max-width);
  height: 65vh;
  margin: 1rem auto 3rem;
  perspective: 1200px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-slider {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: grab;
}

.slider-item {
  position: absolute;
  height: 35vh;
  aspect-ratio: 9 / 16;
  left: 50%;
  top: 50%;
  transform-origin: 50% 50% -260px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: var(--video-radius);
  opacity: 0;
  background: #000;
}

.slider-item.active {
  height: 60vh;
  transform: translate(-50%, -50%) translateZ(400px) rotateY(0deg);
  opacity: 1;
  z-index: 10;
  box-shadow: 0 20px 50px rgba(255, 60, 0, 0.2);
  border: 2px solid var(--brand-primary);
}

.slider-item iframe {
  width: 100%;
  height: 100%;
  background: #000;
  display: block;
  pointer-events: none;
}

.slider-item.active iframe {
  pointer-events: auto;
}

.slider-controls {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.5rem;
  z-index: 20;
}

.slider-controls button {
  background: var(--brand-primary);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 60, 0, 0.3);
}

.slider-controls button:hover {
  transform: scale(1.1);
  background: var(--brand-accent);
}

/* Page Components */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--video-radius);
  background: #000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.nav-logo {
  height: 48px;
  transition: transform 0.3s ease;
}

.btn-orange {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(255, 60, 0, 0.2);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 60, 0, 0.3);
}

/* Responsiveness enhancements for 3D Slider */
@media (max-width: 1200px) {
  .video-slider-container {
    height: 60vh;
  }

  .slider-item.active {
    height: 55vh;
  }
}

@media (max-width: 1024px) {
  .video-slider-container {
    height: 55vh;
  }

  .slider-item.active {
    height: 50vh;
  }

  aside.sticky {
    position: static;
  }
}

@media (max-width: 768px) {
  .video-slider-container {
    height: 50vh;
    /* Significantly shorter to prevent overlap */
    margin: 1rem auto 4rem;
  }

  .slider-item.active {
    height: 45vh;
    /* Proportional height */
    width: 80vw;
  }

  /* In JS we handle hiding non-active ones or reducing spread */
  .slider-controls {
    bottom: -60px;
  }
}

@media (max-width: 480px) {
  .video-slider-container {
    height: 45vh;
    margin-top: 0;
  }

  .slider-item.active {
    height: 40vh;
    width: 85vw;
  }
}