/* 
  ALTAY V3 - Cinematic Modern Design
  Author: Utku Okutan
  Date: 2026
*/

:root {
  --primary: #d4af37;
  /* Metallic Gold */
  --primary-hover: #f9d856;
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --card-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: #a0a0a0;

  --font-display: 'Cinzel', serif;
  --font-body: 'Manrope', sans-serif;

  --spacing-container: 1200px;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg-darker);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
  text-align: center;
}

.loader-title {
  font-size: 3rem;
  letter-spacing: 10px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 2s infinite linear;
}

.loader-line {
  width: 0;
  height: 2px;
  background: var(--primary);
  margin: 0 auto;
  animation: expandLine 1.5s ease-out forwards;
}

body:not(.loading) #loader {
  opacity: 0;
  visibility: hidden;
}

@keyframes shine {
  0% {
    background-position: -150% 0;
  }

  100% {
    background-position: 150% 0;
  }
}

@keyframes expandLine {
  to {
    width: 100px;
  }
}

/* Utilities */
.container {
  max-width: var(--spacing-container);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(to bottom, #fff, #999);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 1000;
  transition: all 0.4s ease;
  mix-blend-mode: difference;
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  mix-blend-mode: normal;
  border-bottom: 1px solid var(--glass-border);
}

.nav-wrapper {
  max-width: var(--spacing-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links li a {
  position: relative;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  display: inline-block;
}

.nav-links li a::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--primary);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.nav-links li a:hover {
  color: transparent;
}

.nav-links li a:hover::before {
  transform: translateY(0);
}

.menu-btn {
  display: none;
  cursor: pointer;
}

/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 50px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('../gallery/altay-1.jpg') center/cover no-repeat;
  filter: brightness(0.7);
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 1) 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: floatOrb 10s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: var(--primary);
  top: 20%;
  left: 10%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: #4a0e4e;
  bottom: 10%;
  right: 10%;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-subtitle {
  display: block;
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInDown 1s 0.5s forwards;
}

.hero-title {
  display: flex;
  justify-content: center;
  font-size: clamp(4rem, 15vw, 10rem);
  line-height: 0.9;
  letter-spacing: -5px;
  margin-bottom: 40px;
  overflow: hidden;
}

.hero-title .letter {
  display: inline-block;
  transform: translateY(100%);
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 1s 1.5s forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s 2s forwards;
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.mouse {
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 2px;
  height: 6px;
  background: #fff;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

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

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

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

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

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Videos Section */
#videos {
  padding: 100px 0;
  position: relative;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.video-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}

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

.video-meta {
  padding: 20px;
}

.video-meta h3 {
  font-size: 1.2rem;
  color: #fff;
  font-family: var(--font-body);
}



.center-btn {
  text-align: center;
}

.text-link {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  border-bottom-color: var(--primary);
  gap: 12px;
}

/* Albums Section (3D Flip) */
#albums {
  padding: 100px 0;
  background: radial-gradient(circle at top right, #1a1a1a 0%, #0a0a0a 40%);
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.album-item {
  perspective: 1000px;
  height: 350px;
}

.album-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  cursor: pointer;
}

.album-item:hover .album-inner {
  transform: rotateY(180deg);
}

.album-front,
.album-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.album-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-back {
  background: var(--bg-darker);
  border: 1px solid var(--primary);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.album-back h3 {
  font-size: 1.5rem;
  text-align: center;
}

.listen-btn {
  background: #fff;
  color: #000;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.listen-btn:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

/* Marquee */
.marquee-container {
  padding: 40px 0;
  background: var(--primary);
  color: #000;
  overflow: hidden;
  white-space: nowrap;
  transform: rotate(-2deg) scale(1.1);
  margin: 80px 0;
}

.marquee-content {
  display: inline-block;
  animation: marquee 50s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

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

/* Gallery Section */
#gallery {
  padding: 100px 0;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  grid-auto-flow: dense;
}

/* Make some items span larger */
.gallery-item:nth-child(3n+1) {
  grid-column: span 1;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1/1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 2rem;
  color: #fff;
}

.mt-large {
  margin-top: 60px;
}

/* Contact Section */
#contact {
  padding: 150px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15vw;
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  z-index: 0;
}

.contact-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
}

.contact-card {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 60px;
  border-radius: 20px;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.contact-card h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.manager-name {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.phone-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 40px;
  font-weight: 700;
}

.phone-number:hover {
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.social-links-large {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.social-links-large a {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.social-links-large a:hover {
  background: #fff;
  color: #000;
}

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid #1a1a1a;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.credits {
  margin-top: 10px;
  font-size: 0.8rem;
}

.credits a {
  color: #fff;
  text-decoration: underline;
}

/* Go to Top Button */
.to-top {
  background: var(--primary);
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #000;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.to-top.active {
  bottom: 32px;
  pointer-events: auto;
  opacity: 1;
}

.to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.5);
}


/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

#lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.lightbox-close:hover {
  transform: rotate(90deg);
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 15vw;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background: #0a0a0a;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .nav-active .nav-links {
    transform: translateX(0);
  }

  .menu-btn {
    display: block;
    z-index: 1001;
  }

  .menu-btn__burger {
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    position: relative;
    transition: all 0.5s ease-in-out;
  }

  .menu-btn__burger::before,
  .menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
  }

  .menu-btn__burger::before {
    transform: translateY(-10px);
  }

  .menu-btn__burger::after {
    transform: translateY(10px);
  }

  .menu-btn.open .menu-btn__burger {
    background: transparent;
  }

  .menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg);
  }

  .menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg);
  }

  .phone-number {
    font-size: 1.8rem;
  }

  .video-card {
    flex: 0 0 300px;
  }
}