/* ============================================
   POWERFUL MODERN DESIGN - PHOTOGRAPHER PORTFOLIO
   ============================================ */

/* CSS Variables for theming */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --dark-gradient: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* Body background with animated gradient */
body {
  background: linear-gradient(-45deg, #0f0c29, #302b63, #24243e, #1a1a2e);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Animated particles background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(245, 87, 108, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Hero header with powerful gradient */
.hero-header {
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-header .container {
  position: relative;
  z-index: 1;
}

.hero-header h1 {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-header .lead {
  animation: fadeInUp 1s ease-out 0.2s both;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar with glass-morphism */
.navbar {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #a8b9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link:hover {
  color: #fff !important;
}

/* Slider container with powerful design */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  background: #000;
  border: 2px solid var(--glass-border);
  transform: translateZ(0);
}

.slider::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--primary-gradient);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.5;
  filter: blur(20px);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.slider__track {
  display: flex;
  transition: transform 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.slide img {
  display: block;
  width: 100%;
  height: 65vh;
  max-height: 700px;
  object-fit: cover;
  object-position: center;
  transition: transform 8s ease-out;
  flex-shrink: 0;
  background: #1a1a2e;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Loading placeholder */
.slide img[loading="lazy"]:not([src]) {
  background: linear-gradient(90deg, #1a1a2e 25%, #2a2a3e 50%, #1a1a2e 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.slide.active img {
  transform: scale(1.05);
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.slide__caption {
  position: absolute;
  left: 30px;
  bottom: 30px;
  font-size: 1.2rem;
  padding: 14px 24px !important;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  z-index: 2;
  animation: slideInLeft 0.8s ease-out;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slider navigation buttons with powerful effects */
.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 10;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  opacity: 0;
}

.slider:hover .slider__nav {
  opacity: 1;
}

.slider__nav:hover {
  background: rgba(102, 126, 234, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.slider__nav--prev {
  left: 20px;
}

.slider__nav--next {
  right: 20px;
}

/* Slider dots with gradient effect */
.dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  display: flex;
  gap: 12px;
  z-index: 10;
  padding: 10px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid var(--glass-border);
}

.dots button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 0;
  position: relative;
}

.dots button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--secondary-gradient);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.dots button:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.dots button[aria-selected="true"] {
  background: var(--primary-gradient);
  border-color: #fff;
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
}

/* About section with card enhancement */
.about {
  position: relative;
}

.about .card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  transition: all 0.4s ease;
  animation: fadeInUp 1s ease-out;
}

.about .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 90px rgba(102, 126, 234, 0.3);
  border-color: rgba(102, 126, 234, 0.3);
}

.about .card-title {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.about .btn-primary {
  background: var(--primary-gradient);
  border: none;
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.about .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.about .btn-primary:hover::before {
  left: 100%;
}

.about .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

/* Contact section with gradient buttons */
.contact h2 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.contact .btn {
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.contact .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.contact .btn:hover::before {
  width: 300px;
  height: 300px;
}

.contact .btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.contact .btn-success {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact .btn-danger {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.contact .btn-primary {
  background: linear-gradient(135deg, #1877F2 0%, #0e4dbf 100%);
}

/* Floating social icons with powerful design */
.socials {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1000;
}

.social {
  width: 64px;
  height: 64px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.social::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.social:hover::before {
  width: 100px;
  height: 100px;
}

.social:hover {
  transform: translateY(-8px) scale(1.15) rotate(5deg);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
}

.social i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.social:hover i {
  transform: scale(1.2) rotate(-5deg);
}

/* Add glow effect to social buttons */
#whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

#whatsapp:hover {
  box-shadow: 0 15px 50px rgba(37, 211, 102, 0.7);
}

#instagram {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  box-shadow: 0 8px 30px rgba(245, 87, 108, 0.4);
}

#instagram:hover {
  box-shadow: 0 15px 50px rgba(245, 87, 108, 0.7);
}

#facebook {
  background: linear-gradient(135deg, #1877F2 0%, #0e4dbf 100%);
  box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

#facebook:hover {
  box-shadow: 0 15px 50px rgba(24, 119, 242, 0.7);
}

/* Footer with glass effect */
footer {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  margin-top: 60px;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */

/* Large tablets and small desktops */
@media (max-width: 992px) {
  .hero-header h1 {
    font-size: 2.5rem;
  }
  
  .hero-header .lead {
    font-size: 1.2rem;
  }
  
  .slider {
    border-radius: 16px;
  }
  
  .about .card-body {
    padding: 2.5rem !important;
  }
}

/* Tablets and large phones */
@media (max-width: 768px) {
  .slide img {
    height: 50vh;
    max-height: 500px;
  }

  .slider__nav {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .slider__nav--prev {
    left: 12px;
  }

  .slider__nav--next {
    right: 12px;
  }

  .slide__caption {
    font-size: 0.95rem;
    padding: 10px 18px !important;
    left: 20px;
    bottom: 20px;
  }

  .social {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .socials {
    right: 20px;
    bottom: 20px;
    gap: 12px;
  }

  .contact .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    min-width: 140px;
  }
  
  .contact .d-flex {
    gap: 0.75rem !important;
  }

  .dots {
    padding: 8px 16px;
  }

  .dots button {
    width: 12px;
    height: 12px;
  }
  
  .hero-header h1 {
    font-size: 2rem;
  }
  
  .hero-header .lead {
    font-size: 1.1rem;
  }
  
  .hero-header .btn {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
  }
  
  .about .card-body {
    padding: 2rem !important;
  }
  
  .about .card-text {
    font-size: 1rem !important;
  }
}

/* Small phones */
@media (max-width: 576px) {
  .hero-header h1 {
    font-size: 1.75rem;
  }
  
  .hero-header .lead {
    font-size: 1rem;
  }
  
  .hero-header .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .slider {
    border-radius: 12px;
  }
  
  .contact h2 {
    font-size: 1.75rem;
  }
  
  .contact .btn {
    width: 100%;
    max-width: 280px;
    margin: 0.25rem 0;
  }
  
  .about .card-body {
    padding: 1.5rem !important;
  }
  
  .about h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 420px) {
  .slide img {
    height: 45vh;
    max-height: 400px;
  }

  .slider__nav {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .slider__nav--prev {
    left: 8px;
  }

  .slider__nav--next {
    right: 8px;
  }

  .social {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }

  .socials {
    right: 15px;
    bottom: 15px;
    gap: 10px;
  }

  .slide__caption {
    font-size: 0.85rem;
    padding: 8px 14px !important;
    left: 15px;
    bottom: 15px;
  }

  .contact .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .dots {
    padding: 6px 12px;
    gap: 8px;
  }

  .dots button {
    width: 10px;
    height: 10px;
  }

  .navbar-brand {
    font-size: 1rem;
  }
  
  .navbar-brand i {
    font-size: 1.1rem;
  }
  
  .hero-header h1 {
    font-size: 1.5rem;
  }
  
  .hero-header h1 i {
    font-size: 1.3rem;
    margin-right: 0.5rem !important;
  }
  
  .hero-header .lead {
    font-size: 0.95rem;
  }
}

/* Loading animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-gradient);
}

/* Selection color */
::selection {
  background: rgba(102, 126, 234, 0.5);
  color: #fff;
}

/* Smooth transitions for all interactive elements */
* {
  transition-property: none;
}

a, button, .btn, .nav-link, .card, .social {
  transition-property: all;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}
