/* Ana Değişkenler ve Reset */
:root {
    /* Ana Renkler */
    --primary: #7C439A;     /* Mor ana renk */
    --primary-light: #9b67b9;
    --primary-dark: #5b2b79;
    --secondary: #C3D940;   /* Yeşil-sarı ana renk */
    --secondary-light: #d4e56e;
    --secondary-dark: #a3b929;
    --gray: #707070;        /* Gri ana renk */
    --gray-light: #a0a0a0;
    --gray-dark: #505050;
    --text-dark: #333333;
    --text-light: #6e7a8a;
    --bg-white: #ffffff;
    --bg-light: #f9fafc;
    
    /* Gölge ve Efektler */
    --shadow-sm: 0 2px 8px rgba(124, 67, 154, 0.1);
    --shadow-md: 0 6px 18px rgba(124, 67, 154, 0.15);
    --shadow-lg: 0 12px 30px rgba(124, 67, 154, 0.2);
    --shadow-xl: 0 20px 40px rgba(124, 67, 154, 0.25);
    
    /* Geçişler */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Kenarlık */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
  }
  

  /* Planetaryum Slider Stili */
  .planetaryum-slider {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    background-color: transparent;
  }
  
  .planetaryum-slider__title {
    font-family: "VistolSans-Bold", sans-serif;
    font-weight: 800;
    color: var(--text-dark);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .planetaryum-slider__title span {
    color: var(--secondary);
  }
  
  .planetaryum-slider__description {
    font-family: "VistolSans-Regular", sans-serif;
    font-weight: 500;
    color: var(--gray);
    max-width: 900px;
    font-size: 1.125rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
  }
  
  /* Butonlar */
  .randevual-btn {
    font-family: "VistolSans-Bold", sans-serif;
    font-weight: 800;
    font-size: 1.125rem;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 10px 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .randevual-btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(195, 217, 64, 0.3);
  }
  
  /* Banner Stili */
  .planetarium-banner {
    background-image: url("../images/planetaryum/planetaryum-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    min-height: 1080px; /* Minimum yüksekliği 1080px olarak ayarla */
    height: 100vh; /* Ekran yüksekliğine göre esnek ayarla */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 100;
    margin-bottom: -5.8%;
  }
 
  
  .main-text {
    font-family: "VistolSans-Regular", sans-serif;
    font-weight: 400;
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .sub-text {
    font-family: "VistolSans-Regular", sans-serif;
    font-weight: 400;
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .main-text span,
  .sub-text span {
    font-family: "VistolSans-Bold", sans-serif;
    font-weight: 800;
  }
  
  /* Yıldız Canvas Stili */
  #starCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--bg-white);
  }
  
  /* Film Galerisi Alanı */
  .planetaryum-container {
    position: relative;
    z-index: 1;
  }
  
  .planetaryum-container .container {
    padding: 2rem 1.5rem;
  }
  
  /* Galaxy Container (Film Galerisi) */
  .galaxy-container {
    position: relative;
    margin: 0 auto 4rem;
    width: 100%;
    max-width: 1000px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    z-index: 1;
  }
  
  .galaxy {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Galaxy Item - Gelişmiş 3D Efekt */
  .galaxy-item {
    position: absolute;
    width: 320px;
    height: 450px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    visibility: hidden;
    transform-origin: center;
    pointer-events: none;
    perspective: 2000px; /* Gelişmiş 3D perspektif */
    z-index: 1;
  }
  
  .galaxy-item.visible {
    visibility: visible;
    pointer-events: auto;
  }
  
  /* Film Card - Gelişmiş 3D */
  .film-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(124, 67, 154, 0.2);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background-color: var(--bg-white);
    transform-style: preserve-3d;
    transform: scale(0.95) rotateX(2deg) rotateY(0deg);
    will-change: transform;
    z-index: 1;
  }
  
  .film-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
  }
  
  .film-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 0 7px rgba(0, 0, 0, 0);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    z-index: 2;
  }
  
  .film-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    transform-origin: center;
  }
  
  /* Film Card Başlık */
  .film-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    color: white;
    font-family: "VistolSans-Bold", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  }
  

  
  /* Kart Konumları - Gelişmiş 3D */
  .galaxy-item.prev {
    transform: translateX(-105%) scale(0.8) translateZ(-150px) rotateY(20deg);
    z-index: 1;
    opacity: 0.75;
    filter: brightness(0.7);
  }
  
  .galaxy-item.active {
    transform: translateX(0) scale(1) translateZ(0) rotateY(0deg);
    z-index: 3;
    opacity: 1;
  }
  
  .galaxy-item.next {
    transform: translateX(105%) scale(0.8) translateZ(-150px) rotateY(-20deg);
    z-index: 1;
    opacity: 0.75;
    filter: brightness(0.7);
  }
  
  /* Aktif Kart */
  .galaxy-item.active .film-card {
    transform: scale(1) rotateX(0deg) rotateY(0deg);
    box-shadow: 0 20px 40px rgba(124, 67, 154, 0.3);
  }
  
  /* 3D Eğim Sınıfları - Daha Güçlü */
  .tilt-left {
    transform: scale(1) rotateY(-15deg) rotateX(5deg) translateZ(50px) !important;
  }
  
  .tilt-right {
    transform: scale(1) rotateY(15deg) rotateX(5deg) translateZ(50px) !important;
  }
  
  .tilt-top {
    transform: scale(1) rotateX(-10deg) rotateY(5deg) translateZ(50px) !important;
  }
  
  .tilt-bottom {
    transform: scale(1) rotateX(10deg) rotateY(-5deg) translateZ(50px) !important;
  }
  
  /* Hover Efektleri */
  .galaxy-item:hover .film-card {
    box-shadow: 0 25px 50px rgba(124, 67, 154, 0.4);
  }
  
  .galaxy-item:hover .film-card::before {
    box-shadow: inset 0 0 0 7px rgba(195, 217, 64, 0.7);
  }
  
  .galaxy-item.active:hover .film-card::before {
    box-shadow: inset 0 0 0 7px rgba(124, 67, 154, 0.7);
  }
  
  .galaxy-item:hover .film-card-title {
    opacity: 1;
    transform: translateY(0);
  }
  
  .galaxy-item:hover .film-card img {
    transform: scale(1.08);
  }
  
  /* Önceki/Sonraki Kart Hover */
  .galaxy-item.prev:hover,
  .galaxy-item.next:hover {
    transform: translateX(-105%, 0, -100px) scale(0.85) rotateY(10deg);
    filter: brightness(0.9);
  }
  
  .galaxy-item.next:hover {
    transform: translateX(105%, 0, -100px) scale(0.85) rotateY(-10deg);
  }
  
  /* Galaxy Kontrolleri */
  .galaxy-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
  }
  
  .galaxy-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #C3D940;
    border: none;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
  }
  
  .galaxy-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(124, 67, 154, 0.3);
  }
  
  .galaxy-btn:active {
    transform: scale(0.95);
  }
  
  .galaxy-btn svg {
    width: 24px;
    height: 24px;
  }
  
  /* Film Details */
  .film-detail {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    padding: 0;
    border-radius: var(--radius-xl);
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(124, 67, 154, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    position: relative;
  }
  
  /* Animated background gradient */
  .film-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
      rgba(195, 217, 64, 0.1), 
      rgba(124, 67, 154, 0.1), 
      rgba(195, 217, 64, 0.1), 
      rgba(124, 67, 154, 0.1));
    animation: bgShift 15s linear infinite;
    z-index: 0;
  }
  
  @keyframes bgShift {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  /* Film Detail Content */
  .film-detail-content {
    position: relative;
    display: grid;
    grid-template-columns: 0.8fr 2.2fr;
    z-index: 1;
  }
  
  /* Left Side - Poster */
  .film-poster-area {
    padding: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #7C439A, #393053);
    min-height: 100%;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }
  
  .film-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
  }
  
  .poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px 20px 20px;
    color: white;
    text-align: center;
    z-index: 1;
  }
  
  .poster-date {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
  }
  
  .poster-genre {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    background-color: rgba(195, 217, 64, 0.8);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  .poster-duration {
    font-size: 0.9rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
  
  .duration-icon {
    width: 16px;
    height: 16px;
  }
  
  /* Film Info Box */
  .film-info-box {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
  }
  
  .info-tag {
    background-color: rgba(124, 67, 154, 0.7);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
  }
  
  .age-limit {
    background-color: rgba(244, 67, 54, 0.7);
  }
  
  /* Right Side - Details */
  .film-details-area {
    padding: 40px;
    position: relative;
  }
  
  .film-title {
    font-size: 2.25rem;
    font-family: "VistolSans-Bold", sans-serif;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #393053;
    line-height: 1.2;
    position: relative;
    display: inline-block;
  }
  
  /* Title underline effect */
  .film-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 4px;
    background: linear-gradient(to right, #C3D940, #7C439A);
    border-radius: 2px;
  }
  
  .film-subtitle {
    font-size: 1.25rem;
    font-family: "VistolSans-Medium", sans-serif;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #7C439A;
  }
  
  .film-description {
    margin-bottom: 2rem;
    color: #21293C;
    line-height: 1.8;
    position: relative;
    padding-left: 15px;
    border-left: 3px solid rgba(195, 217, 64, 0.5);
  }
  
  /* Film Details Box */
  .film-details-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 2rem;
    background-color: rgba(124, 67, 154, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(124, 67, 154, 0.1);
  }
  
  .detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .detail-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    color: #7C439A;
  }
  
  .detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6E7A8A;
    margin-bottom: 4px;
  }
  
  .detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: #21293C;
  }
  
  /* Buttons */
  .film-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
  }
  
  .film-btn {
    position: relative;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    min-width: 150px;
    border: none;
  }
  
  .btn-trailer {
    background: transparent;
    border: 2px solid #7C439A;
    color: #7C439A;
  }
  
  .btn-trailer:hover {
    background: #7C439A;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(124, 67, 154, 0.3);
  }
  
  .btn-reservation {
    background: linear-gradient(45deg, #7C439A, #C3D940);
    border: none;
    color: white;
    box-shadow: 0 5px 15px rgba(195, 217, 64, 0.3);
    text-decoration: none;
  }
  
  .btn-reservation:hover {
    background: linear-gradient(45deg, #C3D940, #7C439A);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(124, 67, 154, 0.3);
  }
  
  /* Ripple effect */
  .ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
  }
  
  @keyframes ripple {
    0% {
      transform: scale(0);
      opacity: 0.5;
    }
    100% {
      transform: scale(4);
      opacity: 0;
    }
  }
  /* Video Modal */
  .video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 41, 60, 0.9);
    z-index: 100;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .video-modal.show {
    opacity: 1;
  }
  
  .modal-content {
    width: 90%;
    max-width: 900px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.3s ease;
  }
  
  .video-modal.show .modal-content {
    transform: scale(1);
  }
  
  .close-modal {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
  
  .close-modal:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
  }
  
  .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: black;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  
  /* Medya Sorguları */
  @media (max-width: 992px) {
    .planetaryum-slider__title {
      font-size: 2.5rem;
    }
    
    .film-detail-content {
      grid-template-columns: 1fr;
    }
    
    .film-poster-area {
      min-height: 250px;
    }
    
    .film-details-area {
      padding: 20px;
    }
    
    .galaxy-container {
      height: 400px;
    }
    
    .galaxy-item {
      width: 260px;
      height: 380px;
    }
  }
  
  @media (max-width: 768px) {
    .planetaryum-slider__title {
      font-size: 2rem;
    }
    
    .planetaryum-slider__description {
      font-size: 1rem;
    }
    
    .film-title {
      font-size: 1.5rem;
    }
    
    .film-subtitle {
      font-size: 1rem;
    }
    
    .film-actions {
      flex-direction: column;
    }
    
    .film-btn {
      width: 100%;
    }
    
    .galaxy-container {
      height: 350px;
    }
    
    .galaxy-item {
      width: 220px;
      height: 320px;
    }
    
    .galaxy-controls {
      padding: 0 0.5rem;
    }
    
    .galaxy-btn {
      width: 40px;
      height: 40px;
    }
    
    .main-text, .sub-text {
      font-size: 1.5rem;
    }
    
    .randevual-btn {
      width: 60% !important;
      font-size: 1rem;
    }
  }
  
  @media (max-width: 576px) {
    .planetaryum-slider__title {
      font-size: 1.8rem;
    }
    
    .galaxy-container {
      height: 300px;
    }
    
    .galaxy-item {
      width: 180px;
      height: 260px;
    }
    
    .main-text, .sub-text {
      font-size: 2rem !important;
    }
    
    .randevual-btn {
      width: 80% !important;
      font-size: 0.9rem;
    }
  }
 /* Film Bilgi İkonları Stillemesi */
.film-info-icons {
    display: flex;
    justify-content: space-between;
    margin: 20px 0 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(124, 67, 154, 0.1);
    gap: 10px; /* İkonlar arasında boşluk */
  }
  
  .info-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0; /* Yazıların taşmasını önler */
  }
  
  .icon-circle {
    width: 50px; /* İkon boyutunu küçülttük */
    height: 50px;
    background: linear-gradient(135deg, rgba(195, 217, 64, 0.1), rgba(124, 67, 154, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: #7C439A;
    box-shadow: 0 5px 15px rgba(124, 67, 154, 0.1);
    border: 1px solid rgba(124, 67, 154, 0.08);
    transition: all 0.3s ease;
  }
  
  .icon-circle svg {
    width: 25px; /* SVG boyutunu küçülttük */
    height: 25px;
  }
  
  .info-icon-text .label {
    font-family: "VistolSans-Regular", sans-serif;
    font-size: 0.65rem; /* Yazı boyutunu küçülttük */
    text-transform: uppercase;
    color: #707070;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
  }
  
  .info-icon-text .value {
    font-family: "VistolSans-Bold", sans-serif;
    font-size: 0.9rem; /* Yazı boyutunu küçülttük */
    font-weight: 700;
    color: #333;
    word-wrap: break-word; /* Uzun tür isimlerinin taşmasını önler */
  }
  
  /* Poster Overlay - Bilgiler kaldırıldığı için sadeleştirildi */
  .film-poster-area {
    padding: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #7C439A, #393053);
    min-height: 100%;
    max-height: 400px;
  }
  
  /* Medya Sorguları */
  @media (max-width: 768px) {
    .film-info-icons {
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
    }
    
    .info-icon-item {
      flex: 0 0 45%; /* İki sütun düzeni */
    }
    
    .icon-circle {
      width: 45px;
      height: 45px;
    }
    
    .icon-circle svg {
      width: 20px;
      height: 20px;
    }
    
    .info-icon-text .value {
      font-size: 0.85rem;
    }
  }
  
  @media (max-width: 576px) {
    .info-icon-item {
      flex: 0 0 45%;
    }
    
    .icon-circle {
      width: 40px;
      height: 40px;
    }
    
    .icon-circle svg {
      width: 18px;
      height: 18px;
    }
    
    .info-icon-text .label {
      font-size: 0.6rem;
    }
    
    .info-icon-text .value {
      font-size: 0.8rem;
    }
  }
  .film-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff4500;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    transform: rotate(5deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
}