/* Party Rentals & Entertainment - Main Stylesheet */
:root {
  --primary: #667eea;
  --primary-dark: #5a6fd8;
  --secondary: #764ba2;
  --accent: #f093fb;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;
  --light: #f8f9fa;
  --dark: #343a40;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  background: var(--gradient-primary);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-logo {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.3));
}

.text-gradient {
  background: linear-gradient(45deg, #FF6B9D, #C06C84, #6C5B7B, #355C7D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section Animated Text */
.hero-animated-title {
  text-shadow: 4px 4px 12px rgba(0,0,0,0.9), 0 0 30px rgba(0,0,0,0.7);
  animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-highlight-1 {
  background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 50%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite, textPulse 2s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(0, 210, 255, 0.8);
  display: inline-block;
  font-weight: 900;
  filter: brightness(1.3) drop-shadow(2px 2px 4px rgba(0,0,0,0.8));
}

.hero-highlight-2 {
  background: linear-gradient(135deg, #ff006e 0%, #ffbe0b 50%, #ff006e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite 0.5s, textPulse 2s ease-in-out infinite 0.3s;
  text-shadow: 0 0 30px rgba(255, 0, 110, 0.8);
  display: inline-block;
  font-weight: 900;
  filter: brightness(1.3) drop-shadow(2px 2px 4px rgba(0,0,0,0.8));
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes textPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Fun Floating Bubbles */
.fun-bubble {
  position: absolute;
  font-size: 2.5rem;
  animation: bubbleFloat 6s ease-in-out infinite;
  opacity: 0.85;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transition: all 0.3s ease;
}

.fun-bubble:hover {
  transform: scale(1.3) rotate(15deg);
  opacity: 1;
}

@keyframes bubbleFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  25% {
    transform: translateY(-25px) rotate(5deg);
  }
  50% { 
    transform: translateY(-15px) rotate(-5deg); 
  }
  75% {
    transform: translateY(-30px) rotate(3deg);
  }
}

/* Hero Buttons */
.btn-hero-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
  animation: buttonPulse 2s ease-in-out infinite;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.6);
  color: white;
}

.btn-hero-secondary {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border: none;
  color: white;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(245, 87, 108, 0.4);
  transition: all 0.3s ease;
  animation: buttonPulse 2s ease-in-out infinite 0.5s;
}

.btn-hero-secondary:hover {
  background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(245, 87, 108, 0.6);
  color: white;
}

@keyframes buttonPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.floating-element {
  position: absolute;
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
  opacity: 0.7;
  z-index: 2;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.floating-element:nth-child(odd) {
  animation-delay: -3s;
}

/* Buttons */
.btn {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* Service Cards */
.service-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-icon .icon-circle {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto;
  color: white;
}

/* Why Choose Us - Modern Feature Cards */
.feature-card-modern {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  border: 2px solid transparent;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.feature-card-modern:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
}

.feature-card-modern:hover::before {
  opacity: 1;
}

.feature-card-modern > * {
  position: relative;
  z-index: 1;
}

.feature-icon-large {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.feature-icon-large::after {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 35px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.feature-card-modern:hover .feature-icon-large {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 25px 60px rgba(102, 126, 234, 0.5);
}

.feature-card-modern:hover .feature-icon-large::after {
  opacity: 0.3;
}

.feature-icon-large i {
  font-size: 3.5rem;
  color: white;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card-modern:hover .feature-icon-large i {
  transform: scale(1.1);
}

.feature-card-modern h3 {
  color: var(--dark);
  transition: color 0.3s ease;
}

.feature-card-modern:hover h3 {
  color: var(--primary);
}

.feature-card-modern p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Testimonial Cards */
.testimonial-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-rating {
  font-size: 1.2rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.4rem;
}

.navbar-brand img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-link {
  font-weight: 500;
  color: var(--dark) !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary) !important;
}

/* Background Gradients */
.bg-gradient-primary {
  background: var(--gradient-primary) !important;
}

.bg-gradient-secondary {
  background: var(--gradient-secondary) !important;
}

/* Footer */
.footer {
  background: var(--dark) !important;
  color: #fff;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-slider {
    height: 70vh !important;
  }
  
  .hero-title {
    font-size: 2.8rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.15rem !important;
  }
  
  .fun-bubble {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 100vh !important;
  }
  
  .hero-content {
    padding: 0 20px;
    width: 100% !important;
    max-width: 100%;
  }
  
  .hero-content .container {
    padding: 0 15px;
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.3 !important;
    padding: 0 10px;
    word-wrap: break-word;
  }
  
  .hero-highlight-1,
  .hero-highlight-2 {
    display: inline !important;
    font-size: 2rem !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
    padding: 0 10px;
  }
  
  .hero-subtitle span {
    font-size: 0.95rem !important;
    margin: 5px !important;
  }
  
  .hero-subtitle span:last-child {
    font-size: 1rem !important;
    margin-top: 15px !important;
  }
  
  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 20px !important;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 260px;
    margin: 0 !important;
    padding: 12px 25px !important;
    font-size: 0.9rem !important;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    font-size: 0.9rem !important;
    padding: 12px 25px !important;
  }
  
  .fun-bubble {
    font-size: 1.5rem;
    opacity: 0.6;
  }
  
  .fun-bubble:nth-child(5),
  .fun-bubble:nth-child(6) {
    display: none;
  }
  
  .service-card, .testimonial-card {
    margin-bottom: 2rem;
  }
  
  /* Fix section padding on mobile */
  section {
    overflow-x: hidden;
  }
  
  section .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Fix Finding Nemo section on mobile */
  .bg-gradient-primary .btn {
    font-size: 0.9rem !important;
    padding: 10px 20px !important;
  }
  
  .bg-gradient-primary h2 {
    font-size: 1.8rem !important;
  }
  
  .bg-gradient-primary .lead {
    font-size: 1rem !important;
  }
  
  .bg-gradient-primary .d-flex.gap-3 {
    flex-direction: column;
    gap: 10px !important;
  }
  
  .bg-gradient-primary .d-flex.gap-3 .btn {
    width: 100%;
  }
  
  /* Gallery images mobile */
  .carousel-item img {
    height: 180px !important;
  }
  
  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .floating-element {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    height: 100vh !important;
  }
  
  .hero-content {
    padding: 0 15px !important;
  }
  
  .hero-content .container {
    padding: 0 10px !important;
  }
  
  .hero-title {
    font-size: 1.6rem !important;
    margin-bottom: 1.2rem !important;
    padding: 0 5px;
  }
  
  .hero-highlight-1,
  .hero-highlight-2 {
    font-size: 1.6rem !important;
    display: block !important;
    margin: 5px 0;
  }
  
  .hero-subtitle {
    font-size: 0.9rem !important;
    padding: 0 5px;
    margin-bottom: 1.5rem !important;
  }
  
  .hero-subtitle span {
    font-size: 0.85rem !important;
    display: block !important;
    margin: 8px 0 !important;
  }
  
  .hero-subtitle br {
    display: none;
  }
  
  .hero-subtitle span:last-child {
    font-size: 0.95rem !important;
    margin-top: 12px !important;
  }
  
  .hero-cta {
    gap: 10px;
    padding: 0 15px;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 240px;
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    font-size: 0.85rem !important;
    padding: 10px 20px !important;
  }
  
  .btn-lg {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .service-icon .icon-circle {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .fun-bubble {
    font-size: 1.2rem;
    opacity: 0.5;
  }
  
  .fun-bubble:nth-child(3),
  .fun-bubble:nth-child(4) {
    display: none;
  }
  
  /* Disable floating animations on mobile for performance */
  .hero-animated-title {
    animation: none;
  }
  
  @keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 1.4rem !important;
    padding: 0 5px;
  }
  
  .hero-highlight-1,
  .hero-highlight-2 {
    font-size: 1.4rem !important;
  }
  
  .hero-subtitle {
    font-size: 0.85rem !important;
  }
  
  .hero-subtitle span {
    font-size: 0.8rem !important;
  }
  
  .hero-cta {
    padding: 0 10px;
  }
  
  .hero-cta .btn {
    font-size: 0.8rem !important;
    padding: 9px 18px !important;
    max-width: 220px;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    font-size: 0.8rem !important;
    padding: 9px 18px !important;
  }
  
  /* Fix Finding Nemo section */
  .bg-gradient-primary h2 {
    font-size: 1.5rem !important;
  }
  
  .bg-gradient-primary .lead {
    font-size: 0.9rem !important;
  }
  
  .bg-gradient-primary .btn {
    font-size: 0.85rem !important;
    padding: 8px 15px !important;
  }
  
  /* Gallery images extra small */
  .carousel-item img {
    height: 150px !important;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Contact Info Styling */
.contact-info {
  background: var(--light);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

/* Success/Error Messages */
.alert-custom {
  border: none;
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background: rgba(40, 167, 69, 0.1);
  border-left: 4px solid var(--success);
  color: var(--success);
}

.alert-error {
  background: rgba(220, 53, 69, 0.1);
  border-left: 4px solid var(--danger);
  color: var(--danger);
}

/* Hero Slider Styles */
.hero-slider {
  position: relative;
  z-index: 1;
}

.hero-slide {
  transition: all 0.6s ease-in-out;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-duration: 0.6s;
  transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active.carousel-item-start,
.carousel-fade .carousel-item.active.carousel-item-end {
  opacity: 0;
}

.hero-content {
  z-index: 10;
  pointer-events: none;
}

.hero-content .container,
.hero-content .btn,
.hero-content a {
  pointer-events: auto;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  background-color: rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
  opacity: 1;
}

.hero-slider .carousel-control-prev {
  left: 20px;
}

.hero-slider .carousel-control-next {
  right: 20px;
}

/* Photo Gallery Carousel Styles */
.carousel-control-prev,
.carousel-control-next {
  background-color: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev {
  left: -25px;
}

.carousel-control-next {
  right: -25px;
}

.carousel-indicators {
  bottom: -50px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: var(--primary);
  opacity: 0.5;
}

.carousel-indicators button.active {
  opacity: 1;
}

.carousel-item img {
  transition: transform 0.3s ease;
}

.carousel-item img:hover {
  transform: scale(1.05);
}

/* Responsive adjustments for photo gallery */
@media (max-width: 768px) {
  .carousel-item .row .col-md-4 {
    margin-bottom: 10px;
  }
  
  .carousel-item img {
    height: 200px !important;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  
  .carousel-control-prev {
    left: -20px;
  }
  
  .carousel-control-next {
    right: -20px;
  }
}
