@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0a0a0f;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.7;
}

::selection {
  background: #d4a373;
  color: #0a0a0f;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #111118;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d4a373, #8b5a2b);
  border-radius: 5px;
}

.navbar {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.75);
  padding: 1.4rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 163, 115, 0.1);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  padding: 1rem 3rem;
  background: rgba(10, 10, 15, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

#adminPage .container {
  padding-top: 7rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #d4a373 0%, #faedcd 50%, #d4a373 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
  overflow: visible;
}

.nav-links > li {
  display: flex;
  align-items: center;
}

.nav-links a:not(.btn) {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links .btn,
.nav-links button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4a373, #faedcd);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover {
  color: #d4a373;
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.btn {
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: inline-block;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, #d4a373 0%, #8b5a2b 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(212, 163, 115, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(212, 163, 115, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(212, 163, 115, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(212, 163, 115, 0.1);
  border-color: #d4a373;
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, #00b894, #00cec9);
  color: white;
}

.btn-danger {
  background: linear-gradient(135deg, #d63031, #e17055);
  color: white;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, #0a0a0f 0%, #1a1522 50%, #0a0a0f 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/main.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: grayscale(30%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(212, 163, 115, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 90, 43, 0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(212, 163, 115, 0.1);
  border: 1px solid rgba(212, 163, 115, 0.3);
  border-radius: 50px;
  color: #d4a373;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #c9c9c9 50%, #d4a373 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #d4a373, #faedcd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  color: #888;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.3rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  display: inline-block;
  color: #d4a373;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #fff 0%, #c9c9c9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: #888;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.feature-card {
  background: linear-gradient(145deg, rgba(26, 22, 34, 0.8), rgba(15, 13, 20, 0.9));
  border: 1px solid rgba(212, 163, 115, 0.1);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a373, #8b5a2b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 163, 115, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
              0 0 30px rgba(212, 163, 115, 0.05);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, rgba(212, 163, 115, 0.15), rgba(139, 90, 43, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.3rem;
  border: 1px solid rgba(212, 163, 115, 0.2);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #fff;
}

.feature-card p {
  color: #888;
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-section {
  background: linear-gradient(180deg, transparent 0%, rgba(26, 22, 34, 0.5) 50%, transparent 100%);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 15, 0.6) 100%);
  border-radius: 24px;
}

.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-content .subtitle {
  color: #d4a373;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.about-content > p {
  color: #aaa;
  font-size: 1rem;
  margin-bottom: 1.8rem;
  line-height: 1.9;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-highlight-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(212, 163, 115, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a373;
  font-weight: bold;
}

.about-highlight-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.about-highlight-text p {
  color: #888;
  font-size: 0.9rem;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.studio-card {
  background: linear-gradient(145deg, #1a1622, #120f18);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.studio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(212, 163, 115, 0.08);
  border-color: rgba(212, 163, 115, 0.2);
}

.studio-image {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #2a2a4a, #3a3a6a);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.studio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.studio-card:hover .studio-image img {
  transform: scale(1.1);
}

.studio-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 15, 24, 0.95) 100%);
}

.studio-content {
  padding: 2.2rem;
  position: relative;
  z-index: 2;
  margin-top: -80px;
}

.studio-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: #fff;
}

.studio-desc {
  color: #aaa;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.studio-content h4 {
  margin: 1.5rem 0 0.8rem;
  color: #d4a373;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.studio-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.facility-tag {
  background: rgba(212, 163, 115, 0.08);
  color: #d4a373;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(212, 163, 115, 0.15);
}

.studio-price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: #d4a373;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.studio-price span {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #888;
  font-weight: 400;
}

.studio-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.studio-buttons .btn {
  width: 100%;
  text-align: center;
  padding: 1rem;
}

.gallery-section {
  background: linear-gradient(180deg, transparent 0%, rgba(26, 22, 34, 0.3) 50%, transparent 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(4) {
  grid-column: span 2;
}

.gallery-item:hover {
  border-color: rgba(212, 163, 115, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
              0 0 30px rgba(212, 163, 115, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.12);
}

.gallery-item::after {
  content: '🔍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 2.5rem;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 3;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(212, 163, 115, 0.3) 100%);
  transition: all 0.3s ease;
  z-index: 1;
  opacity: 0;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(10px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: -55px;
  right: 0;
  background: linear-gradient(135deg, #d4a373, #8b5a2b);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  transform: scale(1.1) rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212, 163, 115, 0.85);
  backdrop-filter: blur(10px);
  color: white;
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-nav:hover {
  background: #d4a373;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: -80px; }
.lightbox-next { right: -80px; }

.lightbox-caption {
  text-align: center;
  color: #ccc;
  margin-top: 1.2rem;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.form-section {
  background: linear-gradient(180deg, transparent, rgba(26, 22, 34, 0.4));
}

.form-wrapper {
  background: linear-gradient(145deg, #1a1622, #120f18);
  border: 1px solid rgba(212, 163, 115, 0.1);
  border-radius: 28px;
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a373, #8b5a2b, #d4a373);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: 0 0; }
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 500;
  color: #ddd;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.95rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4a373;
  background: rgba(212, 163, 115, 0.03);
  box-shadow: 0 0 0 4px rgba(212, 163, 115, 0.1);
}

.form-group input[type="date"],
.form-group input[type="time"] {
  color-scheme: dark;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.form-actions .btn {
  flex: 1;
  padding: 1rem;
  font-size: 1rem;
}

.alert {
  padding: 1.1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  animation: slideIn 0.3s ease;
  backdrop-filter: blur(10px);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.alert-success {
  background: rgba(0, 184, 148, 0.1);
  border: 1px solid rgba(0, 184, 148, 0.3);
  color: #00b894;
}

.alert-error {
  background: rgba(214, 48, 49, 0.1);
  border: 1px solid rgba(214, 48, 49, 0.3);
  color: #d63031;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: linear-gradient(145deg, #1a1622, #120f18);
  padding: 1.8rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #d4a373, #8b5a2b);
  border-radius: 4px;
}

.stat-card:nth-child(2)::after { background: linear-gradient(180deg, #00b894, #00cec9); }
.stat-card:nth-child(3)::after { background: linear-gradient(180deg, #fdcb6e, #f39c12); }
.stat-card:nth-child(4)::after { background: linear-gradient(180deg, #6c5ce7, #a29bfe); }

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-label {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
}

.stat-value.green { color: #00b894; }
.stat-value.yellow { color: #fdcb6e; }
.stat-value.purple { color: #6c5ce7; }

.filters {
  background: linear-gradient(145deg, #1a1622, #120f18);
  padding: 1.5rem;
  border-radius: 18px;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.filters .form-group {
  margin-bottom: 0;
  flex: 1;
  min-width: 180px;
}

.filters .btn {
  padding: 0.8rem 1.5rem;
}

.table-container {
  background: linear-gradient(145deg, #1a1622, #120f18);
  border-radius: 18px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 1.1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

th {
  background: rgba(212, 163, 115, 0.05);
  font-weight: 600;
  color: #d4a373;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

tr {
  transition: background 0.2s ease;
}

tr:hover {
  background: rgba(255, 255, 255, 0.015);
}

.badge {
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.badge-pending {
  background: rgba(253, 203, 110, 0.1);
  border: 1px solid rgba(253, 203, 110, 0.2);
  color: #fdcb6e;
}

.badge-confirmed {
  background: rgba(0, 184, 148, 0.1);
  border: 1px solid rgba(0, 184, 148, 0.2);
  color: #00b894;
}

.badge-cancelled {
  background: rgba(214, 48, 49, 0.1);
  border: 1px solid rgba(214, 48, 49, 0.2);
  color: #d63031;
}

.badge-completed {
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  color: #6c5ce7;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
}

.action-buttons .btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  border-radius: 8px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: linear-gradient(145deg, #1a1622, #120f18);
  border: 1px solid rgba(212, 163, 115, 0.1);
  border-radius: 22px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.2rem;
  position: relative;
  animation: zoomIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #d4a373;
  border-color: #d4a373;
  transform: rotate(90deg);
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #d4a373;
}

.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  background: linear-gradient(135deg, #0a0a0f, #1a1522, #0a0a0f);
}

.login-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(212, 163, 115, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(139, 90, 43, 0.06) 0%, transparent 50%);
}

.login-box {
  background: linear-gradient(145deg, rgba(26, 22, 34, 0.95), rgba(18, 15, 24, 0.95));
  backdrop-filter: blur(20px);
  padding: 3rem 2.5rem;
  border-radius: 28px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(212, 163, 115, 0.1);
}

.login-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a373, #8b5a2b, #d4a373);
  border-radius: 28px 28px 0 0;
}

.login-box h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #d4a373, #faedcd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-box > p {
  text-align: center;
  color: #888;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.form-card {
  background: linear-gradient(145deg, #1a1622, #120f18);
  border: 1px solid rgba(212, 163, 115, 0.1);
  border-radius: 24px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a373, #8b5a2b, #d4a373);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}

.form-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #d4a373;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(212, 163, 115, 0.1);
}

.booking-list {
  margin-top: 2rem;
}

.booking-item {
  background: linear-gradient(145deg, #1a1622, #120f18);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 1rem;
  border-left: 4px solid #d4a373;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-left: 4px solid #d4a373;
}

.booking-item:hover {
  transform: translateX(5px);
  box-shadow: -10px 0 30px rgba(212, 163, 115, 0.05);
}

.booking-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.booking-item-studio {
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
}

.booking-item-details {
  color: #aaa;
  font-size: 0.92rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.7rem;
}

.footer {
  text-align: center;
  padding: 3rem 2rem;
  color: #666;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 3rem;
  font-size: 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 15, 0.8));
}

.footer strong {
  color: #d4a373;
}

@media (max-width: 900px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 0.8rem 0.9rem;
    flex-direction: column;
    gap: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  }

  .navbar.scrolled {
    padding: 0.9rem 0.8rem 0.8rem;
  }

  .logo {
    font-size: 1.4rem;
    text-align: center;
    padding-top: 0.2rem;
  }

  .nav-links {
    gap: 0.45rem 0.55rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    row-gap: 0.55rem;
    column-gap: 0.35rem;
  }

  .nav-links li {
    display: flex;
    align-items: center;
  }

  .nav-links a:not(.btn) {
    font-size: 0.8rem;
    padding: 0.38rem 0.7rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212,163,115,0.15);
    border-radius: 999px;
    color: #e8e4dc;
    transition: all .2s ease;
    display: inline-block;
    white-space: nowrap;
  }

  .nav-links a:not(.btn):hover {
    background: rgba(212,163,115,0.15);
    border-color: rgba(212,163,115,0.35);
    color: #d4a373;
  }

  .nav-links a:not(.btn)::after {
    display: none !important;
  }

  .nav-links .btn {
    padding: 0.48rem 0.9rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .hero {
    padding: 11.5rem 1rem 3rem;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    overflow: visible;
  }

  .hero-content {
    padding-top: 0.5rem;
    width: 100%;
  }

  .hero h1 {
    font-size: 1.95rem;
    line-height: 1.2;
    margin-bottom: 1.1rem;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: manual;
  }

  .hero-subtitle {
    font-size: 0.93rem;
    margin-bottom: 1.8rem;
    line-height: 1.75;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    gap: 0.8rem;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 1rem 0.8rem;
    font-size: 0.98rem;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 2.5rem;
    padding: 1rem 0.8rem;
    background: rgba(26, 22, 34, 0.55);
    border-radius: 16px;
    border: 1px solid rgba(212, 163, 115, 0.12);
  }

  .hero-stat:nth-child(3) {
    grid-column: span 2;
  }

  .hero-stat-number {
    font-size: 1.65rem;
  }

  .hero-stat-label {
    font-size: 0.68rem;
    letter-spacing: 0.3px;
    line-height: 1.35;
    margin-top: 0.25rem;
  }

  .container {
    padding: 1rem;
  }

  #adminPage .container {
    padding-top: 13rem;
  }

  section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2.2rem;
  }

  .section-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
  }

  .section-title {
    font-size: 1.6rem;
    line-height: 1.25;
    margin-bottom: 0.6rem;
  }

  .section-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 0 0.3rem;
  }

  .features-grid {
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.5rem 1.3rem;
    border-radius: 16px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
    border-radius: 12px;
    margin-bottom: 1rem;
  }

  .feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }

  .feature-card p {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .about-image {
    aspect-ratio: 16/12;
    border-radius: 18px;
  }

  .about-content .subtitle {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }

  .about-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .about-content > p {
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 1.3rem;
  }

  .about-highlights {
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .about-highlight-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .about-highlight-text h4 {
    font-size: 0.92rem;
  }

  .about-highlight-text p {
    font-size: 0.85rem;
  }

  .about-content .btn {
    width: 100%;
    text-align: center;
    padding: 0.9rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group label {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .form-actions {
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.5rem;
  }

  .form-actions .btn {
    padding: 0.95rem;
    font-size: 0.95rem;
  }

  .filters {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.2rem;
    border-radius: 14px;
  }

  .filters .form-group,
  .filters .btn {
    width: 100%;
  }

  .filters .btn {
    padding: 0.85rem;
  }

  .lightbox {
    padding: 0.8rem;
  }

  .lightbox-prev { left: 5px; }
  .lightbox-next { right: 5px; }
  .lightbox-close {
    top: -48px;
    right: 0;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .lightbox-caption {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 0.8rem;
    padding: 0 0.5rem;
  }

  .studio-grid {
    gap: 1.2rem;
  }

  .studio-card {
    border-radius: 18px;
  }

  .studio-content {
    margin-top: -50px;
    padding: 1.3rem;
  }

  .studio-image {
    height: 230px;
  }

  .studio-name {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
  }

  .studio-desc {
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
    margin-bottom: 1rem !important;
  }

  .studio-price {
    font-size: 1.6rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .studio-price span {
    font-size: 0.8rem !important;
  }

  .studio-buttons {
    gap: 0.55rem !important;
  }

  .studio-buttons .btn {
    padding: 0.85rem !important;
    font-size: 0.9rem !important;
  }

  .form-wrapper {
    padding: 1.5rem 1.1rem;
    border-radius: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: 0.7rem;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }

  .stats-grid {
    gap: 0.8rem;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 1.5rem;
  }

  .stat-card {
    padding: 1.2rem 1rem;
    border-radius: 14px;
  }

  .stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.3px;
    margin-bottom: 0.4rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .admin-header h2 {
    font-size: 1.3rem;
  }

  .admin-header > div:last-child {
    width: 100%;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .admin-header .btn {
    flex: 1;
    min-width: max-content;
    padding: 0.6rem 0.9rem;
    font-size: 0.82rem;
  }

  .table-container {
    border-radius: 14px;
  }

  th, td {
    padding: 0.7rem 0.7rem;
    font-size: 0.78rem;
  }

  .action-buttons {
    gap: 0.3rem;
    flex-wrap: wrap;
  }

  .action-buttons .btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.72rem;
  }

  .badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }

  .booking-item {
    padding: 1.1rem;
    border-radius: 14px;
    margin-bottom: 0.8rem;
  }

  .booking-item-header {
    gap: 0.5rem;
    margin-bottom: 0.7rem;
  }

  .booking-item-studio {
    font-size: 1rem;
  }

  .booking-item-details {
    gap: 0.5rem;
    font-size: 0.85rem;
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 1.5rem 1.2rem;
    border-radius: 18px;
  }

  .modal-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .modal-close {
    top: 0.9rem;
    right: 0.9rem;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .login-box {
    padding: 2rem 1.3rem;
    border-radius: 22px;
  }

  .login-box h2 {
    font-size: 1.5rem;
  }

  .footer {
    padding: 2rem 1rem;
    font-size: 0.78rem;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.8rem 0.6rem 0.75rem;
    gap: 0.75rem;
  }

  .logo {
    font-size: 1.15rem;
    padding-top: 0.1rem;
  }

  .nav-links {
    gap: 0.38rem 0.45rem;
  }

  .nav-links a:not(.btn) {
    font-size: 0.72rem;
    padding: 0.32rem 0.58rem;
  }

  .nav-links .btn {
    padding: 0.44rem 0.78rem;
    font-size: 0.72rem;
  }

  .hero {
    padding: 10.8rem 0.7rem 2.2rem;
    min-height: 100vh;
  }

  .hero h1 {
    font-size: 1.62rem;
    line-height: 1.18;
    margin-bottom: 0.9rem;
  }

  .hero-subtitle {
    font-size: 0.86rem;
    line-height: 1.72;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    max-width: 100%;
    gap: 0.7rem;
  }

  .hero-buttons .btn {
    padding: 0.95rem 0.7rem;
    font-size: 0.92rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 0.85rem 0.7rem;
    margin-top: 2.2rem;
  }

  .hero-stat:nth-child(3) {
    grid-column: span 2;
  }

  .hero-stat-number {
    font-size: 1.45rem;
  }

  .hero-stat-label {
    font-size: 0.66rem;
    line-height: 1.3;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .studio-price {
    font-size: 1.4rem !important;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  th, td {
    padding: 0.6rem 0.5rem;
    font-size: 0.72rem;
  }

  .form-wrapper {
    padding: 1.3rem 1rem;
  }
}
