/* Ultra Minimal Design - EMC Reklam */

:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #000000;
  background-color: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #ffffff;
  color: #000000;
}

#app {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
}

/* Animated backgrounds removed - not needed */

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  /* Prevent layout shift */
  contain: layout style;
}

/* Ultra Minimal Logo Section */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.5rem;
  text-align: center;
}

.logo-container {
  width: 180px;
  height: 180px;
  contain: layout;
  will-change: auto;
}

/* Logo glow removed - not needed */

.company-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  content-visibility: auto;
  contain: layout style paint;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.company-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: -3rem;
}

.company-name {
  font-family: 'Crimson Text', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
  letter-spacing: 1px;
  line-height: 1.1;
  font-display: swap;
}

.company-tagline-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0;
}

.tagline-decoration {
  font-size: 1rem;
  color: #666666;
}

.company-tagline {
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  color: #666666;
  margin: 0;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.5px;
  font-display: swap;
}

/* Hide subtitle completely for ultra minimal look */
.company-subtitle {
  display: none;
}

/* Ultra Minimal Buttons */
.advanced-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 800px;
  width: 100%;
  margin-bottom: 3rem;
  /* Prevent layout shift */
  min-height: 80px;
  contain: layout;
}

.advanced-btn {
  width: 100%;
  height: 80px;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  border-left: none;
  border-right: none;
  border-radius: 0;
  cursor: pointer;
  background: #ffffff;
  transition: border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
}

.advanced-btn:hover {
  border-top-color: #000000;
  border-bottom-color: #000000;
}

/* Hide all button decorations */
.btn-background,
.btn-glow {
  display: none;
}

.btn-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #000000;
  text-align: center;
}

/* Minimal button icons */
.btn-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  width: 20px;
  height: 20px;
  color: #000000;
}

.btn-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: #000000;
  text-align: center;
  letter-spacing: 0;
}

/* Ultra Minimal Instagram Feed */
.instagram-feed-modern {
  max-width: 900px;
  width: 100%;
  margin: 0 auto 2rem;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.instagram-feed-modern:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Hide all glow effects */
.subtle-glow {
  display: none;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
}

.profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

/* Hide avatar ring */
.avatar-ring {
  display: none;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.online-indicator {
  display: none;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.profile-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #000000;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.verified-badge {
  background: #1976d2;
  color: #ffffff;
  font-size: 0.75rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.profile-handle {
  font-size: 0.75rem;
  color: #666666;
  margin: 0;
  text-align: left;
  align-self: flex-start;
}

.follower-count {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.count-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: #000000;
}

.count-label {
  font-size: 0.75rem;
  color: #666666;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.follow-btn {
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.follow-btn:hover {
  background: #333333;
}

.message-btn {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  color: #666666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
  font-size: 0.8rem;
}

.message-btn:hover {
  border-color: #000000;
}

.posts-showcase {
  padding: 1rem;
}

.posts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.posts-header h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #000000;
}

.posts-counter {
  font-size: 0.7rem;
  color: #666666;
  background: #f5f5f5;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.post-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-color: #000000;
}

/* Hide post borders and effects */
.post-border {
  display: none;
}

.post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(102%) contrast(125%);
  transition: filter 0.3s ease;
}

.post-card:hover img {
  filter: grayscale(100%) brightness(105%) contrast(120%);
}

.post-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.7) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 1; /* Daima görünür */
  transition: all 0.3s ease;
}

.post-card:hover .post-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.overlay-bg {
  display: none;
}

.post-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.3rem 0.6rem;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.stat-item:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: scale(1.05);
}

.heart-icon {
  color: #ffffff;
  font-size: 0.9rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.post-time {
  font-size: 0.7rem;
  color: #ffffff;
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* ===============================================
   MODERN MODAL DESIGN
   =============================================== */

.modal {
  display: none !important;
  position: fixed !important;
  z-index: 999999 !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(8px);
  overflow-y: auto;
  padding: 2rem;
  animation: modalFadeIn 0.3s ease-out;
}

.modal.show {
  display: block !important;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}

.modal-content {
  background: #ffffff;
  margin: 0 auto;
  padding: 0;
  border-radius: 8px;
  width: 100%;
  max-width: 800px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  animation: modalSlideIn 0.3s ease-out forwards;
  overflow: hidden;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333333;
  text-align: center;
  letter-spacing: -0.3px;
}

.close {
  color: #999999;
  font-size: 1.2rem;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.close:hover {
  background: #f5f5f5;
  color: #333333;
}

.modal-body {
  padding: 1.5rem;
  max-height: 70vh;
  overflow-y: auto;
  background: #ffffff;
}

/* Minimal scrollbar for services modal */
.modal-body::-webkit-scrollbar {
  width: 4px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f8f8f8;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 2px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #b0b0b0;
}

/* ===============================================
   MINIMAL WHITE SERVICES GRID - ANASAYFA STİLİ
   =============================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
}

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

.service-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 1px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: #d0d0d0;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 24px;
  height: 24px;

}

.service-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333333;
  margin: 0 0 0.5rem;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.service-card p {
  color: #666666;
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0;
  font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-content {
    padding: 1.5rem 1rem;
  }
  
  .company-info {
    margin-top: -2.2rem;
  }
  
  /* Mobile modal adjustments */
  .modal-content {
    max-width: 95vw;
    margin: 1rem auto;
    border-radius: 6px;
  }
  
  .modal-header {
    padding: 1rem 1.25rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .service-card {
    padding: 1.25rem;
  }
  
  .company-name {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2rem;
  }
  
  .company-tagline {
    font-family: 'Crimson Text', serif;
    font-size: 0.9rem;
  }
  
  .advanced-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  
  .advanced-btn {
    height: 70px;
  }
  
  .btn-text {
    font-size: 0.7rem;
  }
  
  .logo-container {
    width: 140px;
    height: 140px;
  }
  
  .instagram-feed-modern {
    margin: 0 1rem;
  }
  
  .feed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-link {
    margin-left: 10px;
    font-size: 10px;
    padding: 5px 10px;
  }
}

@media (max-width: 480px) {
  .company-info {
    margin-top: -2.2rem;
  }
  
  .advanced-buttons {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
  
  .company-name {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
  }
  
  .logo-container {
    width: 120px;
    height: 120px;
  }
  
  .modal {
    padding: 10px;
  }
  
  .feed-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
  }
  
  .blog-link {
    margin-left: 0;
    margin-top: 8px;
    display: block;
    text-align: center;
  }
}

/* ===============================================
   INSTAGRAM FOOTER & COPYRIGHT
   =============================================== */

.instagram-footer {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid #e0e0e0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.view-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f5f5f5;
  color: #333333;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
}

.view-instagram-btn:hover {
  background: #e8e8e8;
  color: #222222;
}

.view-instagram-btn svg {
  width: 16px;
  height: 16px;
}

.copyright-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e8e8e8;
  text-align: center;
}

.copyright-text {
  font-size: 0.75rem;
  color: #666666;
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
}

.copyright-year {
  font-weight: 500;
  color: #333333;
}

.copyright-brand {
  font-weight: 500;
  color: #333333;
}

.blog-link {
  margin-left: 20px;
  padding: 6px 12px;
  font-size: 12px;
  color: #333;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  transition: all 0.2s ease;
  text-transform: capitalize;
  font-weight: 400;
}

.blog-link:hover {
  color: #000;
  border-color: #ccc;
  background: #f9f9f9;
}

/* ===============================================
   REELS MODAL & VIEWPORT (Tasarım Korunması)
   =============================================== */

/* ===============================================
   INSTAGRAM REELS STYLE MODAL
   =============================================== */

/* Instagram Reels Style - With Phone Mockup for Desktop */

/* Reels Header - Updated for Phone Mockup */
.reels-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 70%,
    transparent 100%
  );
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  z-index: 10000;
}

.reels-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reels-close:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.reels-close svg {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

.reels-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  letter-spacing: 0.5px;
}

.reels-camera {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reels-camera:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.reels-camera svg {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

/* Reels viewport and slides are now handled by the media queries below */

/* Reel Media Background */
.reel-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.reel-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.reel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.02) 30%,
    rgba(0,0,0,0.02) 70%,
    rgba(0,0,0,0.15) 100%
  );
  pointer-events: none; /* Allow clicks to pass through to video */
}



/* Reel Caption */
.reel-caption {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 90px;
  z-index: 100;
  color: #ffffff;
  pointer-events: none;
  padding: 20px;

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.reel-caption p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  font-weight: 500;
}

.reel-music {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
}

.reel-music svg {
  animation: rotate 2s linear infinite;
}

.reel-music span {
  font-size: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  font-weight: 500;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Action Buttons - More Instagram Style */
.reel-actions {
  position: absolute;
  bottom: 120px;
  right: 16px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 12px 6px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
  transition: all 0.2s ease;
}

.action-btn span {
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  line-height: 1;
}

.action-btn:hover {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.action-btn:active {
  transform: scale(0.9);
}

/* Like Animation - Instagram Style */
.like-btn.liked svg {
  fill: #ff3040;
  animation: heartBeat 0.4s ease-in-out;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  30% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* Music Disc - Instagram Style */
.music-disc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  overflow: hidden;
  animation: rotate 3s linear infinite;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.disc-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  padding: 8px 4px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-dots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dot {
  width: 4px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot.active {
  background: #ffffff;
  height: 30px;
}

/* Reels Navigation - Remove old styles */

/* Portfolio items (if present) */
.portfolio-modal {
  display: none !important;
  position: fixed;
  z-index: 999999 !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  animation: modalFadeIn 0.3s ease-out;
}

.portfolio-modal.show {
  display: block !important;
}

.portfolio-modal .modal-content {
  background: #ffffff;
  margin: 2rem auto;
  padding: 0;
  border-radius: 8px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

.portfolio-content {
  background: #ffffff;
  margin: 2rem auto;
  padding: 0;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.portfolio-grid.ads-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.portfolio-grid.stories-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.portfolio-tabs {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
  background: #f8f9fa;
}

.tab-btn {
  flex: 1;
  padding: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #666666;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
}

.tab-btn.active,
.tab-btn:hover {
  color: #333333;
  background: #ffffff;
  border-bottom-color: #333333;
}

.tab-btn svg {
  flex-shrink: 0;
}

.portfolio-item {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 1;
}

.portfolio-item:hover {
  transform: scale(1.02);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-overlay {
  display: none !important; /* Completely hide portfolio stats */
}

.portfolio-item:hover .portfolio-overlay {
  display: none !important; /* Keep hidden even on hover */
}

.ad-item {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 16/9;
}

.ad-item:hover {
  transform: scale(1.02);
}

.ad-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ad-overlay {
  display: none !important; /* Completely hide ad stats */
}

.ad-item:hover .ad-overlay {
  display: none !important; /* Keep hidden even on hover */
}

.ad-platform {
  display: none !important; /* Hide ad platform text */
}

.ad-stats {
  display: none !important; /* Completely hide ad statistics */
}

.story-item {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 9/16;
}

.story-item:hover {
  transform: scale(1.02);
}

.story-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-overlay {
  display: none !important; /* Completely hide story stats */
}

.story-item:hover .story-overlay {
  display: none !important; /* Keep hidden even on hover */
}

.portfolio-stats {
  display: none !important; /* Completely hide all portfolio stats */
}

/* ===============================================
   3D CAROUSEL FULLSCREEN VIEWER
   =============================================== */

.fullscreen-viewer {
  display: none !important;
  position: fixed;
  z-index: 9999999 !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
  animation: carouselFadeIn 0.4s ease-out;
  overflow: hidden;
}

.fullscreen-viewer.show {
  display: block !important;
}

@keyframes carouselFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(10px);
  }
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

/* 3D Carousel Main Container */
.carousel-3d {
  position: relative;
  width: 600px;
  height: 400px;
  max-width: 80vw;
  max-height: 70vh;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-item {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  background: #222;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.carousel-item:hover img {
  transform: scale(1.05);
}

.carousel-item.active {
  z-index: 100;
  transform: translateZ(0px) rotateY(0deg) scale(1);
  filter: brightness(1) blur(0px);
}

.carousel-item.next {
  z-index: 50;
  transform: translateZ(-150px) translateX(200px) rotateY(-25deg) scale(0.8);
  filter: brightness(0.7) blur(1px);
}

.carousel-item.prev {
  z-index: 50;
  transform: translateZ(-150px) translateX(-200px) rotateY(25deg) scale(0.8);
  filter: brightness(0.7) blur(1px);
}

.carousel-item.far-next {
  z-index: 25;
  transform: translateZ(-300px) translateX(350px) rotateY(-45deg) scale(0.6);
  filter: brightness(0.4) blur(2px);
  opacity: 0.6;
}

.carousel-item.far-prev {
  z-index: 25;
  transform: translateZ(-300px) translateX(-350px) rotateY(45deg) scale(0.6);
  filter: brightness(0.4) blur(2px);
  opacity: 0.6;
}

.carousel-item.hidden {
  z-index: 1;
  transform: translateZ(-500px) scale(0.3);
  filter: brightness(0.2) blur(4px);
  opacity: 0;
}

/* Navigation Buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.carousel-prev {
  left: 50px;
}

.carousel-next {
  right: 50px;
}

/* Info Panel */
.carousel-info {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 30px;
  color: #ffffff;
  z-index: 1000;
  min-width: 300px;
  text-align: center;
  animation: infoSlideUp 0.5s ease-out 0.3s both;
}

@keyframes infoSlideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0px);
  }
}

.info-content h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
}

.info-stats {
  display: none; /* Hide likes and comments in carousel */
}

.stat-item {
  display: none; /* Hide individual stat items */
}

.stat-item svg {
  display: none;
}

.carousel-counter {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Close Button */
.carousel-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-close:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.5);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

/* Mobile Exit Button */
.carousel-mobile-exit {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: none; /* Hidden by default, shown on mobile */
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  color: #ffffff;
  cursor: pointer;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 1001;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  font-weight: 500;
}

.carousel-mobile-exit:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.5);
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}



/* Mobile Responsive */
@media (max-width: 768px) {
  .carousel-3d {
    width: 350px;
    height: 250px;
    max-width: 90vw;
    max-height: 60vh;
  }
  
  .carousel-nav {
    width: 50px;
    height: 50px;
  }
  
  .carousel-prev {
    left: 20px;
  }
  
  .carousel-next {
    right: 20px;
  }
  
  .carousel-close {
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .carousel-info {
    bottom: 80px; /* Space for mobile exit button */
    padding: 15px 20px;
    min-width: 250px;
  }
  
  /* Show mobile exit button on mobile */
  .carousel-mobile-exit {
    display: flex !important;
  }
}

/* Mobile responsive reels */
@media (max-width: 480px) {
  .reels-viewport {
    width: 100%;
    height: 100%;
  }
  
  .reels-close {
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
  .reels-nav-btn {
    width: 50px;
    height: 50px;
  }
  
  .fullscreen-info {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 0.8rem;
  }
  
  .fullscreen-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* ===============================================
   CONTACT CARDS & QUOTE FORM STYLING
   =============================================== */

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0;
}

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

@media (max-width: 640px) {
  .quick-contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 1px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #000000;
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 48px;
  height: 48px;
  fill: #333333;
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #333333;
}

.contact-card p {
  color: #666666;
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.contact-btn {
  display: inline-block;
  background: #ffffff;
  color: #333333;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border: 1px solid #e8e8e8;
  border-radius: 1px;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.contact-btn:hover {
  background: #333333;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Form Card Specific Styling */
.contact-card.form {
  width: 100%;
  text-align: left;
}

.contact-card.form .contact-icon {
  text-align: center;
}

.contact-card.form h3,
.contact-card.form p {
  text-align: center;
}

/* ===============================================
   QUOTE FORM MODAL - MODERN DESIGN
   =============================================== */

.quote-form {
  max-width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333333;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 1px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #ffffff;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: #000000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  position: relative;
}

.checkbox-item input[type="checkbox"] {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  font-size: 0.9rem;
}

.checkbox-label:hover {
  border-color: #000000;
  background: #f9f9f9;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-label {
  border-color: #000000;
  background: #f0f0f0;
  color: #333333;
  font-weight: 500;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 1px solid #333333;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-label .checkbox-custom {
  background: #333333;
  border-color: #333333;
  color: #ffffff;
}

.checkbox-custom::after {
  content: '✓';
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-label .checkbox-custom::after {
  opacity: 1;
}

.selected-services {
  margin-top: 1rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 1px;
  border: 1px solid #e8e8e8;
}

.selected-services h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #666666;
}

.selected-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  background: #333333;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 16px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #333333;
  animation: tagSlideIn 0.3s ease-out;
}

@keyframes tagSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.service-tag .remove-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}

.service-tag .remove-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: #ffffff;
  color: #333333;
  border: 1px solid #333333;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: #333333;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-btn:active {
  transform: translateY(0);
}

/* ===============================================
   REFERENCES MODAL - MINIMAL BLACK & WHITE
   =============================================== */

.references-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.reference-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 1px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  min-width: 300px;
}

.reference-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #000000;
}

.card-background {
  display: none;
}

.reference-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.reference-logo {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333333;
}

.reference-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  margin: 0;
  letter-spacing: -0.3px;
}

.reference-category {
  font-size: 0.85rem;
  color: #666666;
  margin: 0;
  font-weight: 400;
}

.reference-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
}

.ref-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: #ffffff;
  color: #333333;
  text-decoration: none;
  border: 1px solid #e8e8e8;
  border-radius: 1px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.ref-link:hover {
  background: #333333;
  color: #ffffff;
  transform: translateY(-1px);
}

.ref-link svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .portfolio-modal .modal-content {
    margin: 1rem;
    width: calc(100% - 2rem);
    max-height: calc(100vh - 2rem);
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    padding: 0.5rem;
  }
  
  .portfolio-grid.ads-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid.stories-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  
  .tab-btn {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
  }
}

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

  .reference-card {
    padding: 1.25rem;
  }

  .reference-logo {
    width: 60px;
    height: 60px;
  }

  .reference-links {
    grid-template-columns: 1fr;
  }

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

  .portfolio-grid.stories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .reels-header {
    height: 50px;
    padding: 0 12px;
  }
  
  .reels-close,
  .reels-camera {
    width: 28px;
    height: 28px;
  }
  
  .reels-close svg,
  .reels-camera svg {
    width: 20px;
    height: 20px;
  }
  
  .reels-title {
    font-size: 15px;
  }
  

  
  .reel-caption {
    bottom: 80px;
    left: 0;
    right: 75px;
    padding: 16px;
  }
  
  .reel-caption p {
    font-size: 13px;
  }
  
  .reel-music span {
    font-size: 10px;
  }
  
  .reel-actions {
    bottom: 110px;
    right: 12px;
    gap: 16px;
    padding: 10px 5px;
  }
  
  .action-btn svg {
    width: 22px;
    height: 22px;
  }
  
  .action-btn span {
    font-size: 10px;
  }
  
  .music-disc {
    width: 28px;
    height: 28px;
  }
  
  .swipe-indicator {
    bottom: 15px;
  }
  
  .swipe-arrow {
    width: 28px;
    height: 28px;
  }
  
  .swipe-arrow svg {
    width: 16px;
    height: 16px;
  }
  
  .swipe-text {
    font-size: 10px;
  }
  
  .scroll-indicator {
    right: 4px;
  }
  
  .dot {
    width: 2px;
    height: 14px;
  }
  
  .dot.active {
    height: 20px;
  }
}

@media (max-width: 480px) {
  .reels-header {
    height: 45px;
    padding: 0 10px;
  }
  

  
  .reel-caption {
    bottom: 70px;
    left: 0;
    right: 70px;
    padding: 14px;
  }
  
  .reel-actions {
    bottom: 100px;
    right: 10px;
    gap: 14px;
    padding: 8px 4px;
  }
  
  .action-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .music-disc {
    width: 26px;
    height: 26px;
  }
  
  .swipe-indicator {
    bottom: 10px;
  }
  
  .swipe-arrow {
    width: 26px;
    height: 26px;
  }
}

/* Swipe Down Indicator */
.swipe-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.9);
  animation: swipePulse 2s ease-in-out infinite;
  pointer-events: none;
}

.swipe-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  animation: swipeArrow 1.5s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.swipe-arrow svg {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

.swipe-text {
  font-size: 11px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@keyframes swipePulse {
  0%, 100% {
    opacity: 0.6;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes swipeArrow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* Hide swipe indicator when scrolling */
.reels-viewport.scrolling .swipe-indicator {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Reels Modal - Base Styles */
.reels-modal {
  display: none !important;
  position: fixed !important;
  z-index: 9999 !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(8px);
  overflow-y: auto;
}

.reels-modal.show {
  display: block !important;
}

/* Desktop Phone Mockup - MODAL PATTERN */
@media (min-width: 769px) {
  .reels-modal {
    display: none !important;
    position: fixed !important;
    z-index: 9999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(8px);
    overflow-y: auto;
    padding: 2rem;
  }
  
  .reels-modal.show {
    display: block !important;
  }
  
  .reels-container {
    background: #000;
    margin: 0 auto;
    padding: 10px;
    border-radius: 40px;
    width: 450px;
    max-width: 90vw;
    height: 800px;
    max-height: 90vh;
    box-shadow: 
      0 0 0 3px #1a1a1a,
      0 0 0 6px #333,
      0 15px 50px rgba(0, 0, 0, 0.7),
      inset 0 2px 4px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-top: 10vh;
    margin-bottom: 3vh;
    position: relative;
  }
  
  .reels-container::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: #333;
    border-radius: 3px;
    z-index: 10001;
  }
  
  .reels-container::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 5px;
    background: #333;
    border-radius: 3px;
    z-index: 10001;
  }
  
  .reels-viewport {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  .reel-slide {
    width: 100%;
    height: 100%;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
  }
  
  /* Desktop Phone Mockup Header Adjustments */
  .reels-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.3) 70%,
      transparent 100%
    );
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10002;
    border-radius: 30px 30px 0 0;
    padding-top: 30px;
  }
  
  .reels-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
    margin-top: -5px;
  }
  
  .reels-close,
  .reels-camera {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: -5px;
  }
  
  .reels-close:hover,
  .reels-camera:hover {
    opacity: 0.7;
    transform: scale(1.1);
  }
  
  .reels-close svg,
  .reels-camera svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
  }
}

/* Mobile - Fullscreen */
@media (max-width: 768px) {
  .reels-modal {
    display: none !important;
    position: fixed !important;
    z-index: 9999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95) !important;
    overflow: hidden;
    padding: 0;
  }
  
  .reels-modal.show {
    display: block !important;
  }
  
  .reels-container {
    width: 100vw;
    height: 100vh;
    background: #000;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin: 0;
    position: relative;
  }
  
  .reels-viewport {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  .reel-slide {
    width: 100%;
    height: 100vh;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
  }
}
