/* --- GLOBAL RESET & VARIABLES --- */
:root {
  --bg-color: #08090d;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --accent: #d4af37; /* Premium Gold */
  --accent-rgb: 212, 175, 55;
  --accent-glow: rgba(212, 175, 55, 0.35);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(255, 255, 255, 0.25);
  --glass-shadow: rgba(0, 0, 0, 0.4);
  --aurora-1: rgba(212, 175, 55, 0.12); /* Warm gold aura */
  --aurora-2: rgba(56, 189, 248, 0.08);  /* Cyan slate aura */
  --aurora-3: rgba(15, 23, 42, 0.95);
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', Helvetica, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: transparent;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: transparent;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* Layout Routing and Scroll Flow Control */
body {
  overflow-y: auto;
}

.footer {
  position: relative;
  margin-top: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  font-family: inherit;
}

/* --- PRELOADER --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #06070a;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.preloader-logo {
  max-width: 150px;
  height: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: logo-fade-in 1s forwards ease-out 0.2s;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: progress-load 2.5s infinite cubic-bezier(0.1, 0.8, 0.2, 1);
}

@keyframes logo-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progress-load {
  0% { width: 0%; left: 0; }
  50% { width: 100%; left: 0; }
  100% { width: 100%; left: 100%; }
}

/* --- AMBIENT BACKGROUND & AURORA --- */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 10% 20%, var(--aurora-1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, var(--aurora-2) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
  background-size: 200% 200%;
  filter: blur(60px);
  animation: aurora-flow 30s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes aurora-flow {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 50% 100%;
  }
  100% {
    background-position: 100% 0%;
  }
}

/* Tightly Packed Art Tools Collage Watermark Wallpaper */
.collage-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('Görseller/art_collage.jpg');
  background-repeat: repeat;
  background-size: 420px 420px;
  opacity: 0.13;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: normal;
  will-change: opacity;
}

/* Vignette: darken page edges so collage doesn't bleed bright */
.vignette-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 50%,
    transparent 40%,
    rgba(8, 9, 13, 0.72) 75%,
    rgba(8, 9, 13, 0.95) 100%
  );
}

/* --- GLASSMORPHISM CARD DESIGN STYLES --- */
.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 10px 30px 0 var(--glass-shadow);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  will-change: backdrop-filter, transform;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.6), 0 0 15px rgba(var(--accent-rgb), 0.1);
}

.card-inner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Glass Buttons */
.glass-btn {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.25);
  transform: translateY(-2px);
}

/* --- FIXED GLASSMORPHIC NAVBAR --- */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  max-width: 100%;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 180px; /* Controlled distance from the center logo - widened for spacing */
  padding: 0 4%;
  z-index: 1000;
  
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  
  /* GPU optimization */
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.nav-left,
.nav-right,
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  padding: 10px 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
  transform: translateY(40px); /* Align vertically with the center of the logo on desktop */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  transform: translateY(37px); /* Slight lift on hover from base offset */
}

.nav-link.active {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
}

.nav-icon {
  width: 18px;
  height: 18px;
}

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.nav-brand:hover {
  transform: scale(1.05);
}

.nav-logo {
  height: 160px;
  width: auto;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
  transform: translateY(50px); /* Pushed down proportionally for 160px height */
  transition: all 0.4s ease;
}

/* --- SECTIONS (TAB SYSTEM LAYOUT) --- */
.section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  padding-top: 130px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              visibility 0.8s;
  z-index: 1;
  overflow: hidden;
}

.section.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  z-index: 10;
  position: relative;
  flex: 1;
  height: auto;
  overflow: visible;
}

.section-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  z-index: 5;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  letter-spacing: 4px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 1.5px;
}

/* --- SECTION SPECIAL FLOwS (HOME, GALLERY, CONTACT) --- */
#home,
#gallery,
#contact {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(8, 9, 13, 0.4) 0%,
    rgba(8, 9, 13, 0.8) 100%
  );
  z-index: 1;
}

.hero-content {
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-wrapper {
  margin-bottom: 40px;
  animation: hero-logo-float 6s infinite alternate ease-in-out;
}

.hero-logo-main {
  max-width: 280px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.35));
}

@keyframes hero-logo-float {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-15px) rotate(0.5deg); }
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 18px;
  letter-spacing: 2px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
  max-width: 750px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  will-change: transform;
}

.hero-tag:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  transform: translateY(-1px);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 1.5px;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-cta-btn {
  padding: 16px 36px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.3);
}

.cta-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.4s ease;
}

.hero-cta-btn:hover .cta-arrow {
  transform: translateX(5px);
}

/* --- GALLERY SECTION SPECIFIC --- */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 10px 25px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px;
  height: 2px;
  background: var(--accent);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 0 6px var(--accent-glow);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--accent);
}

.tab-btn.active::after {
  transform: translateX(-50%) scaleX(1);
}

.gallery-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-panel.active {
  display: block;
  opacity: 1;
}

/* Bento Grid Layout (Strict 3-Column Instagram Style) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* Bento Item Styling */
.bento-item {
  aspect-ratio: 1 / 1; /* Perfectly square grid items */
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.bento-item img {
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-item:hover img {
  transform: scale(1.08);
}

/* Bento Card Hover Glass Info Overlay */
.bento-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(8, 9, 13, 0.8) 0%,
    rgba(8, 9, 13, 0.2) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

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

.bento-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-primary);
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin-bottom: 4px;
}

.bento-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 300;
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) 0.1s;
  letter-spacing: 1px;
}

.bento-item:hover .bento-title,
.bento-item:hover .bento-desc {
  transform: translateY(0);
}

/* Light Screen Filter Shine on Card Hover */
.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
  z-index: 3;
  pointer-events: none;
}

.bento-item:hover::before {
  left: 125%;
  transition: left 0.8s ease-in-out;
}

/* Video Grid Layout */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  grid-gap: 30px;
  margin-bottom: 40px;
}

.video-card {
  height: 250px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 9, 13, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
  z-index: 2;
}

.video-card:hover .video-card-overlay {
  background: rgba(8, 9, 13, 0.2);
}

.video-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.video-play-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--text-primary);
  transform: translateX(2px);
  transition: fill 0.3s ease;
}

.video-card:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.5);
}

.video-card:hover .video-play-btn svg {
  fill: #000;
}

/* --- CONTACT SECTION SPECIFIC --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  grid-gap: 40px;
  margin-top: 20px;
}

.contact-info-card, .contact-form-card {
  padding: 45px;
}

.contact-card-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 2px;
  font-weight: 400;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.contact-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 35px;
  position: relative;
  z-index: 1;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.info-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.info-icon-box svg {
  width: 22px;
  height: 22px;
}

.info-text {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 400;
}

.hover-link:hover {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}

/* Social links */
.social-links {
  display: flex;
  gap: 15px;
  position: relative;
  z-index: 1;
}

.social-icon-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
}

/* Forms styling */
.glass-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  position: relative;
  width: 100%;
}

.glass-form input,
.glass-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.glass-form textarea {
  resize: none;
}

/* Float labels */
.form-group label {
  position: absolute;
  left: 20px;
  top: 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 300;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-form textarea ~ label {
  top: 16px;
}

/* Float animation triggers */
.glass-form input:focus ~ label,
.glass-form input:not(:placeholder-shown) ~ label,
.glass-form textarea:focus ~ label,
.glass-form textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 15px;
  font-size: 0.75rem;
  background: #111319;
  padding: 0 10px;
  border-radius: 4px;
  color: var(--accent);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.focus-border {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.4s ease;
  z-index: 10;
}

.glass-form input:focus ~ .focus-border,
.glass-form textarea:focus ~ .focus-border {
  width: 100%;
  left: 0;
}

.glass-form input:focus,
.glass-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.form-submit-btn {
  padding: 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.3);
}

.submit-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.4s ease;
}

.form-submit-btn:hover .submit-arrow {
  transform: translate(3px, -3px);
}

/* --- THIN STYLISH FOOTER --- */
.footer {
  width: 100%;
  margin-top: auto;
  padding-bottom: 25px;
  position: relative;
  z-index: 10;
}

.footer-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 30px; /* Very thin vertical padding */
  border-radius: 50px; /* Pill-shaped like navbar */
  background: rgba(8, 9, 13, 0.45);
  backdrop-filter: blur(15px) saturate(160%);
  -webkit-backdrop-filter: blur(15px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  will-change: backdrop-filter;
}

.footer-logo-small {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
  transition: transform 0.3s ease;
  display: block;
}

.footer-logo-small:hover {
  transform: scale(1.08);
}

.footer-quick-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-menu-link {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.footer-menu-link:hover {
  color: var(--accent);
  text-shadow: 0 0 6px var(--accent-glow);
}

.menu-divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.6rem;
}

.footer-copyright-part {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.15);
}

.designer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 400;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.designer-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--text-secondary) !important;
  transition: all 0.3s ease;
}

.footer-social-btn:hover {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.3);
  transform: translateY(-2px);
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
}

/* --- LIGHTBOX / MODAL SYSTEM --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 5, 8, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1;
}

/* Lightbox controls */
.lightbox-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  z-index: 10;
}

.lightbox-close-btn svg {
  width: 22px;
  height: 22px;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  z-index: 10;
}

.lightbox-nav-btn.prev {
  left: 30px;
}

.lightbox-nav-btn.next {
  right: 30px;
}

.lightbox-nav-btn svg {
  width: 24px;
  height: 24px;
}

.lightbox-content-wrapper {
  position: relative;
  z-index: 5;
  width: 90%;
  max-width: 950px;
  transform: scale(0.95);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox.open .lightbox-content-wrapper {
  transform: scale(1);
}

.lightbox-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  min-height: 480px;
  max-height: 80vh;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(8, 9, 13, 0.75);
}

.lightbox-image-box {
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.lightbox-info-box {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.01) 0%, rgba(0,0,0,0.3) 100%);
}

.lightbox-count {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.lightbox-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}

/* --- RESPONSIVE DESIGN RULES --- */
@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }
  .lightbox-card {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }
  .lightbox-image-box {
    height: 350px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .lightbox-info-box {
    padding: 30px;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* --- MACBOOK 13" & MEDIUM LAPTOPS (1024px - 1440px) --- */
@media (min-width: 1025px) and (max-width: 1440px) {
  .navbar {
    gap: 80px;
    padding: 0 3%;
  }

  .nav-logo {
    height: 110px;
    transform: translateY(30px);
  }

  .nav-link {
    font-size: 0.72rem;
    padding: 8px 16px;
    letter-spacing: 1.5px;
    transform: translateY(28px);
  }

  .nav-link:hover {
    transform: translateY(25px);
  }

  .vision-container {
    max-width: 960px;
    padding: 50px 50px;
  }

  .vision-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .hero-logo-main {
    max-width: 280px;
  }
}


/* --- HERO & VISION & SERVICES LAYOUT --- */
.hero-screen {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vision-screen,
.gallery-content-screen,
.contact-content-screen {
  padding: 100px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}

.vision-container {
  width: 100%;
  max-width: 1200px;
  padding: 60px 80px;
}

.vision-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: center;
}

.vision-text-col {
  display: flex;
  flex-direction: column;
}

.vision-pretitle {
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 3px;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.vision-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1.35;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.vision-divider {
  width: 80px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 30px;
  box-shadow: 0 0 8px var(--accent-glow);
}

.vision-paragraph {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.75;
  font-weight: 300;
}

.vision-paragraph.text-highlight {
  color: var(--text-primary);
  font-weight: 400;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

.vision-stats-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stat-card {
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  color: var(--accent);
  text-shadow: 0 0 15px var(--accent-glow);
  font-weight: 600;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.services-screen {
  padding: 100px 0;
  position: relative;
  z-index: 5;
}

.services-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.services-pretitle {
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 3px;
  font-weight: 600;
  display: block;
  text-align: center;
  margin-bottom: 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.service-card {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.08);
}

/* Service Card Background and Stacking Context */
.service-icon-box,
.service-card-title,
.service-card-desc {
  position: relative;
  z-index: 2;
}

.service-card .card-inner-overlay {
  z-index: 1;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.6) 0%, rgba(5, 5, 5, 0.92) 100%);
  transition: background 0.4s ease;
}

.service-card:hover .card-inner-overlay {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.5) 0%, rgba(5, 5, 5, 0.85) 100%);
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.15;
  filter: grayscale(40%) contrast(110%);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}

.service-card:hover .service-card-bg {
  transform: scale(1.08);
  opacity: 0.25;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.service-icon-box svg {
  width: 20px;
  height: 20px;
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
}

.service-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

.cta-banner-card {
  padding: 65px;
  text-align: center;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.04) 0%, rgba(8,9,13,0.85) 100%);
  border-color: rgba(var(--accent-rgb), 0.15);
}

.cta-banner-content {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.cta-banner-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.cta-banner-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 8px;
}

.cta-banner-btn {
  padding: 16px 36px;
  border-radius: 50px;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.cta-banner-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s ease;
}

.cta-banner-btn:hover svg {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  /* Performance optimization: reduce blur on mobile */
  :root {
    --glass-bg: rgba(8, 9, 13, 0.85); /* Slightly darker/more solid fallback */
  }
  
  .glass-card, .lightbox-backdrop, .lightbox-nav-btn, .video-play-btn {
    backdrop-filter: blur(8px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(140%) !important;
  }

  .navbar {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    height: 70px;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Reduced gap to bring buttons closer to the logo */
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
  }
  .nav-link span {
    display: none;
  }
  .nav-link {
    padding: 12px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(25px); /* Align vertically with the center of the logo */
    transition: all 0.3s ease;
    color: var(--text-primary) !important;
  }
  .nav-link.active {
    background: rgba(212, 175, 55, 0.15) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3) !important;
    color: var(--accent) !important;
  }
  .nav-icon {
    width: 22px !important;
    height: 22px !important;
  }
  .nav-logo {
    height: 115px;
    transform: translateY(30px); /* Pushed down proportionally on mobile */
  }
  
  .section {
    padding-top: 100px;
    padding-bottom: 90px;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-tagline {
    font-size: 1.7rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  /* Bento 3 columns on mobile matching Instagram style */
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 8px;
  }
  
  .contact-info-card, .contact-form-card {
    padding: 30px;
  }
  
  .footer-container {
    flex-direction: column;
    padding: 20px;
    border-radius: 24px;
    gap: 15px;
    text-align: center;
  }
  .footer-quick-menu {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-copyright-part {
    flex-direction: column;
    gap: 5px;
  }
  .footer-divider {
    display: none;
  }

  .lightbox-nav-btn.prev {
    left: 15px;
  }
  .lightbox-nav-btn.next {
    right: 15px;
  }
  .lightbox-close-btn {
    top: 15px;
    right: 15px;
  }

  /* Mobile Vision & Services Overrides */
  .hero-screen {
    height: 100vh;
    padding-bottom: 80px;
  }
  .vision-screen, .services-screen, .gallery-content-screen, .contact-content-screen {
    padding: 60px 0;
  }
  .vision-container {
    padding: 30px 20px;
  }
  .vision-grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .vision-title {
    font-size: 1.8rem;
  }
  .vision-paragraph.text-highlight {
    padding-left: 15px;
  }
  .vision-stats-col {
    flex-direction: row;
    gap: 15px;
    justify-content: center;
  }
  .stat-card {
    padding: 25px 15px;
    flex: 1;
  }
  .stat-num {
    font-size: 2.2rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    padding: 30px;
  }
  .cta-banner-card {
    padding: 40px 20px;
  }
  .cta-banner-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .cta-banner-desc {
    font-size: 0.85rem;
  }
}

/* --- PERSISTENT LIKE BUTTONS --- */
.card-like-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px !important;
  border-radius: 20px !important;
  font-size: 0.75rem !important;
  font-weight: 500;
  background: rgba(8, 9, 13, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-like-btn:hover {
  background: rgba(8, 9, 13, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-1px) scale(1.05);
}

.card-like-btn.liked {
  color: #ff3b30 !important; /* Premium Red */
  border-color: rgba(255, 59, 48, 0.4) !important;
  background: rgba(255, 59, 48, 0.08) !important;
  box-shadow: 0 0 15px rgba(255, 59, 48, 0.25) !important;
}

.card-like-btn.liked .heart-icon {
  animation: heart-pulse 0.4s ease-out;
  fill: #ff3b30;
}

.heart-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease, fill 0.2s ease;
}

/* Lightbox Like Button */
.lightbox-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
}

.lightbox-like-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  font-size: 0.8rem !important;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--text-secondary) !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-like-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text-primary) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: scale(1.03);
}

.lightbox-like-btn.liked {
  color: #ff3b30 !important;
  border-color: rgba(255, 59, 48, 0.4) !important;
  background: rgba(255, 59, 48, 0.08) !important;
  box-shadow: 0 0 15px rgba(255, 59, 48, 0.2) !important;
}

.lightbox-like-btn.liked .heart-icon {
  animation: heart-pulse 0.4s ease-out;
  fill: #ff3b30;
}

.lightbox-like-btn .heart-icon {
  width: 16px;
  height: 16px;
}

@keyframes heart-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1);
  }
}

