/* ============================================
   Queens Creators — Luxury Dark & calm Theme
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #0a0a0a;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; transition: background 0.3s; }
::-webkit-scrollbar-thumb:hover { background: #7c3aed; }

/* --- Background Grain Texture --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.025;
  pointer-events: none;
  z-index: 9998;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #f5f5f5;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.1rem;
  color: #888;
  font-weight: 300;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8b5cf6, #c4b5fd);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

.btn-primary.pulse {
  animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(124, 58, 237, 0); }
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f5f5f5;
  letter-spacing: 1px;
}

.logo-accent {
  color: #a78bfa;
}

.nav-links {
  display: flex;
  gap: 3.5rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #a78bfa;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #f5f5f5;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f5f5f5;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #0a0a0a 0%,
    #1a0a2e 30%,
    #0d0d0d 60%,
    #0a0a0a 100%
  );
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
}

/* --- Floating Orbs --- */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb:nth-child(1) {
  width: 500px;
  height: 500px;
  background: #7c3aed;
  top: -15%;
  left: -10%;
  animation-delay: 0s;
}

.hero-orb:nth-child(2) {
  width: 350px;
  height: 350px;
  background: #a78bfa;
  bottom: -10%;
  right: -5%;
  animation-delay: -7s;
}

.hero-orb:nth-child(3) {
  width: 250px;
  height: 250px;
  background: #5b21b6;
  top: 40%;
  left: 55%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -60px) scale(1.1); }
  50% { transform: translate(-40px, 40px) scale(0.9); }
  75% { transform: translate(50px, 50px) scale(1.05); }
}

/* --- Scroll Indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.6rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-arrow {
  width: 16px;
  height: 16px;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 700;
  color: #f5f5f5;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #a78bfa;
  margin-bottom: 0.5rem;
  min-height: 2.2rem;
}

.hero-subtitle .cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: #a78bfa;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-tagline {
  font-size: 1.1rem;
  color: #aaa;
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-contact-item {
  color: #ccc;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.hero-contact-item:hover {
  color: #a78bfa;
}

.hero-contact-sep {
  color: #555;
}

/* --- About --- */
.about {
  background: #0a0a0a;
}

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

.about-card {
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.about-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(124, 58, 237, 0.2), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-card:hover {
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.15);
}

.about-card:hover::after {
  opacity: 1;
}

.about-icon {
  color: #a78bfa;
  margin-bottom: 1.5rem;
}

.about-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #f5f5f5;
}

.about-card p {
  color: #888;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Services --- */
.services {
  background: #0d0d0d;
}

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

.service-card {
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #7c3aed, #c4b5fd);
  transition: height 0.5s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, rgba(124, 58, 237, 0.25), rgba(167, 139, 250, 0.15), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover {
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.12);
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover::after {
  opacity: 1;
}

.service-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(124, 58, 237, 0.2);
  margin-bottom: 1rem;
  line-height: 1;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #f5f5f5;
}

.service-card p {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Gallery --- */
.gallery {
  background: #0a0a0a;
  padding-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.8) 0%,
    rgba(10, 10, 10, 0.1) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.gallery-overlay span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a78bfa;
}

/* --- Contact --- */
.contact {
  background: #0d0d0d;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
}

.contact-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.1);
}

.contact-card-icon {
  color: #a78bfa;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #f5f5f5;
}

.contact-card a {
  color: #aaa;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: #a78bfa;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #f5f5f5;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(124, 58, 237, 0.2);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #7c3aed;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #555;
}

.contact-form .btn {
  align-self: flex-start;
}

/* --- Footer --- */
.footer {
  background: #070707;
  border-top: 1px solid #111;
  padding: 2.5rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f5f5f5;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #888;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #a78bfa;
}

.footer-text {
  font-size: 0.85rem;
  color: #555;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

/* Slide-up staggered variants */
.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */

/* Tablet */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

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

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

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

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transition: right 0.35s ease;
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.15rem;
    padding: 0.5rem 1rem;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
    padding: 8px;
  }

  .hamburger span {
    width: 26px;
    height: 2.5px;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-content {
    padding-top: 4rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .hero-tagline {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
  }

  .scroll-indicator { display: none; }

  .hero-contact {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-contact-sep {
    display: none;
  }

  .hero-contact-item {
    font-size: 0.9rem;
  }

  .hero-content .btn {
    padding: 0.85rem 2rem;
    font-size: 0.8rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-card {
    padding: 2rem 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    aspect-ratio: 16 / 9;
  }

  .gallery-overlay {
    opacity: 1;
    padding: 1.5rem;
  }

  .contact-grid {
    gap: 2rem;
  }

  .contact-card {
    padding: 1.75rem 1.25rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.9rem 1rem;
    font-size: 16px;
  }

  .contact-form .btn {
    width: 100%;
    text-align: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-desc {
    font-size: 0.95rem;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .hero-contact {
    gap: 0.4rem;
  }

  .hero-contact-item {
    font-size: 0.85rem;
  }

  .btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.8rem;
  }

  .about-card {
    padding: 1.75rem 1.25rem;
  }

  .service-card {
    padding: 1.75rem 1.25rem;
  }

  .contact-card {
    padding: 1.5rem 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.85rem 1rem;
    font-size: 16px;
  }

  .contact-form .btn {
    width: 100%;
    text-align: center;
  }

  .gallery-grid {
    gap: 0;
  }

  .gallery-item {
    aspect-ratio: 4 / 3;
  }

  .gallery-overlay {
    padding: 1rem;
  }

  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 380px) {
  html {
    font-size: 14px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}
