/* ===== VARIABLES & RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #D4AF37;
  --gold-light: #f5d742;
  --gold-dark: #b4941f;
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow-hover: 0 20px 30px -15px rgba(212, 175, 55, 0.3);
  --shadow-card: 0 10px 20px -10px rgba(0, 0, 0, 0.5);
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #000000;
  color: #ffffff;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.3s ease;
}

/* Light mode styles */
body.light-mode {
  background-color: #f8f8f8;
  color: #222222;
}

body.light-mode .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

body.light-mode .nav-link {
  color: #222222;
}

body.light-mode .card {
  background: #ffffff;
  border: 1px solid #dddddd;
}

body.light-mode .card p {
  color: #444444;
}

body.light-mode .footer {
  background: #f0f0f0;
  border-top: 1px solid #dddddd;
}

body.light-mode .footer-col p,
body.light-mode .footer-col a {
  color: #444444;
}

body.light-mode .footer-title {
  color: #222222;
}

body.light-mode .newsletter-input {
  background: #ffffff;
  border: 1px solid #dddddd;
  color: #222222;
}

body.light-mode .hero p {
  color: #333333;
}

body.light-mode .hero-overlay {
  background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 70%);
}

body.light-mode h1 {
  color: #222222;
  text-shadow: 0 2px 10px rgba(255,255,255,0.5);
}

body.light-mode .service-option {
  background: #ffffff;
  border: 1px solid #dddddd;
  color: #222222;
}

body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea {
  background: #ffffff;
  border: 1px solid #dddddd;
  color: #222222;
}

body.light-mode .blog-meta {
  color: #555555;
}

body.light-mode .author-bio {
  background: #f0f0f0;
  color: #222222;
}

body.light-mode .popup-content {
  background: #ffffff;
  color: #222222;
}

body.light-mode .logo {
  color: #222222;
}

body.light-mode .hamburger span {
  background: #222222;
}

body.light-mode .btn-outline {
  color: #222222;
}

body.light-mode .testimonial-card {
  background: #ffffff;
}

body.light-mode .testimonial-text {
  color: #444444;
}

body.light-mode .toc {
  background: #f8f8f8;
}

body.light-mode .blog-content {
  color: #444444;
}

body.light-mode .form-container {
  background: #ffffff;
  border: 1px solid #dddddd;
}

/* subtle static grain */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJmIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjc0IiBudW1PY3RhdmVzPSIzIiAvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNmKSIgb3BhY2l0eT0iMC4wNCIgLz48L3N2Zz4=');
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
  animation: subtleGrain 8s steps(10) infinite;
}

@keyframes subtleGrain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-1%, -1%); }
  20% { transform: translate(1%, 1%); }
  30% { transform: translate(-2%, 0); }
  40% { transform: translate(2%, 1%); }
  50% { transform: translate(-1%, 2%); }
  60% { transform: translate(1%, -1%); }
  70% { transform: translate(-1%, -2%); }
  80% { transform: translate(2%, 0); }
  90% { transform: translate(1%, 1%); }
}

.app {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  animation: fadeInUp 0.8s ease-out;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1.1;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  animation: fadeIn 1s ease-out;
}

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

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
  border-left: 6px solid var(--gold);
  padding-left: 1.2rem;
  transition: border-left-width 0.3s ease;
}

h2:hover {
  border-left-width: 10px;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

h3:hover {
  color: var(--gold);
}

/* Typewriter effect */
.typewriter {
  overflow: hidden;
  border-right: 3px solid var(--gold);
  white-space: nowrap;
  margin: 0 auto;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--gold); }
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: background-color 0.3s, transform 0.3s ease;
  transform: translateY(0);
}

.navbar.scroll-down {
  transform: translateY(-100%);
}

.navbar.scroll-up {
  transform: translateY(0);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
  display: inline-block;
}
.logo span {
  color: var(--gold);
  transition: color 0.3s ease;
}
.logo:hover {
  transform: scale(1.05);
}
.logo:hover span {
  color: var(--gold-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  transition: transform 0.3s ease;
}
.hamburger:hover {
  transform: scale(1.1);
}
.hamburger span {
  width: 28px;
  height: 2px;
  background: white;
  transition: 0.3s ease-in-out;
}
.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);
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

/* ===== HERO CAROUSEL ===== */
.hero {
  position: relative;
  height: 85vh;
  min-height: 550px;
  overflow: hidden;
  margin-top: 0;
}
.hero-slides {
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%);
  z-index: 1;
  transition: background 0.3s;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding: 0 5%;
  margin-top: 3rem;
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  letter-spacing: 2px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero p {
  font-size: 1.2rem;
  color: #e0e0e0;
  margin: 1.5rem 0;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-cta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}
.hero-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot:hover {
  background: var(--gold-light);
  transform: scale(1.2);
}
.dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: none;
  font-size: 0.95rem;
  letter-spacing: 1px;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}
.btn-primary {
  background: var(--gold);
  color: black;
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
  background: #e5c34b;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.5);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: white;
}
.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-3px);
}
.btn-small {
  padding: 0.7rem 1.8rem;
  background: var(--gold);
  color: black;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.btn-small:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px -8px rgba(212, 175, 55, 0.6);
  background: var(--gold-light);
}

/* ===== CARDS & GRIDS ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.card {
  background: #111;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 55, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.card-content {
  flex: 1;
  position: relative;
  z-index: 2;
}
.card-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  position: relative;
  z-index: 2;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 35px -15px rgba(212,175,55,0.3);
}
.card:hover::before {
  opacity: 1;
}
.card:hover::after {
  opacity: 1;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.card-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}
.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  color: var(--gold-light);
}
.card p {
  color: #aaa;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.card:hover p {
  color: #ccc;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  transition: transform 0.5s ease;
}
.card:hover img {
  transform: scale(1.03);
}

/* Related posts cards */
.related-posts .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.related-posts .card {
  padding: 0.6rem;
}

.related-posts .card img {
  height: 100px;
  margin-bottom: 0.4rem;
}

.related-posts .card h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.related-posts .card p {
  font-size: 0.75rem;
  color: #aaa;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.related-posts .btn-small {
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
}

/* ===== SCROLLING GALLERY ===== */
.scroll-container {
  width: 100%;
  overflow: hidden;
  margin: 2.5rem 0;
  position: relative;
}

.scroll-track {
  display: flex;
  gap: 1.2rem;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.scroll-track:hover {
  animation-play-state: paused;
}

.scroll-item {
  flex: 0 0 260px;
  height: 180px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  border: 1px solid #333;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}
.scroll-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(212, 175, 55, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.scroll-item:hover {
  transform: scale(1.05);
  border-color: var(--gold);
  box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.3);
}
.scroll-item:hover::before {
  opacity: 1;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== TRAINING TAGS ===== */
.training-tag {
  display: inline-block;
  background: rgba(212,175,55,0.15);
  color: var(--gold);
  font-size: 0.75rem;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
  border: 1px solid rgba(212,175,55,0.3);
  transition: all 0.3s ease;
}
.training-tag:hover {
  background: rgba(212,175,55,0.3);
  transform: translateY(-2px);
}

/* ===== IMAGE PLACEHOLDERS ===== */
.studio-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  border: 1px solid #333;
  transition: all 0.4s ease;
}
.studio-img:hover {
  transform: scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.2);
}

.image-strip {
  display: flex;
  gap: 1.2rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}
.image-strip .studio-img {
  flex: 1 1 180px;
  height: 180px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: #111;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 1.8rem;
  position: relative;
  transition: all 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 15px 30px -10px rgba(212,175,55,0.2);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--gold);
  transition: transform 0.3s ease;
}
.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.05);
}
.testimonial-info h4 {
  margin-bottom: 0.1rem;
  font-size: 1.1rem;
}
.testimonial-info p {
  color: var(--gold);
  font-size: 0.85rem;
}
.stars {
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}
.testimonial-text {
  color: #aaa;
  font-style: italic;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== BLOG POST PAGE ===== */
.blog-post {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.blog-banner {
  position: relative;
  width: 100%;
  height: 450px;
  background-size: cover;
  background-position: center;
  margin-top: 80px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  animation: zoomIn 1s ease-out;
}

@keyframes zoomIn {
  from {
    transform: scale(1.05);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 5%;
  color: white;
}

.banner-content h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  margin-bottom: 0.8rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  max-width: 800px;
}

.banner-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #e0e0e0;
}

.banner-meta span i {
  color: var(--gold);
  margin-right: 0.4rem;
}

.blog-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 5%;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.blog-header {
  text-align: center;
  margin-bottom: 1.5rem;
  display: none;
}

.blog-meta {
  color: #aaa;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.blog-meta span i {
  color: var(--gold);
  margin-right: 0.4rem;
}

.blog-featured-image {
  display: none;
}

.toc {
  background: #111;
  border-radius: 20px;
  padding: 1.8rem;
  margin: 1.8rem 0;
  transition: all 0.3s ease;
}
.toc:hover {
  box-shadow: 0 10px 25px -5px rgba(212,175,55,0.1);
  border-left: 3px solid var(--gold);
}
.toc h3 {
  margin-bottom: 0.8rem;
  color: var(--gold);
}
.toc ul {
  list-style: none;
}
.toc li {
  margin-bottom: 0.4rem;
}
.toc a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
}
.toc a:hover {
  color: var(--gold);
  transform: translateX(5px);
}

.blog-content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #aaa;
}
.blog-content h2 {
  margin: 1.8rem 0 0.9rem;
  border-left: none;
  padding-left: 0;
  font-size: 1.6rem;
}
.blog-content p {
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}
.blog-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 0.9rem 1.8rem;
  margin: 1.8rem 0;
  font-style: italic;
  background: rgba(212,175,55,0.05);
  transition: all 0.3s ease;
}
.blog-content blockquote:hover {
  background: rgba(212,175,55,0.1);
  transform: translateX(5px);
}
.blog-content ul, .blog-content ol {
  margin: 0.9rem 0 1.2rem 1.8rem;
}

@media (min-width: 769px) {
  .author-bio {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: #111;
    border-radius: 20px;
    padding: 1.8rem;
    margin: 2.5rem 0;
    border: 1px solid #333;
    transition: all 0.4s ease;
  }
  .author-bio:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -10px rgba(212,175,55,0.15);
  }
  .author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--gold);
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }
  .author-bio:hover .author-avatar {
    transform: scale(1.05);
  }
  .author-bio div:last-child {
    flex: 1;
  }
}

.share-buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin: 2.5rem 0;
}
.share-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #111;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.share-btn:hover {
  background: var(--gold);
  color: black;
  transform: translateY(-5px) rotate(8deg);
  box-shadow: 0 8px 15px -5px rgba(212,175,55,0.4);
}
.related-posts {
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid #333;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a0a0a;
  border-top: 1px solid #222;
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  transition: background-color 0.3s;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-col p, .footer-col a {
  color: #999;
  text-decoration: none;
  line-height: 1.9;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}
.footer-col a:hover {
  color: var(--gold);
  transform: translateX(3px);
}
.footer-title {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  position: relative;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.footer-col:hover .footer-title::after {
  width: 50px;
}
.social-links {
  display: flex;
  gap: 1.2rem;
  font-size: 1.3rem;
  margin-top: 0.8rem;
}
.social-links a {
  color: #aaa;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-block;
}
.social-links a:hover {
  color: var(--gold);
  transform: translateY(-3px) scale(1.1);
}
.newsletter-input {
  width: 100%;
  padding: 0.9rem;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 40px;
  color: white;
  margin: 0.8rem 0;
  transition: all 0.3s ease;
}
.newsletter-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212,175,55,0.2);
  transform: scale(1.02);
}
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #222;
  color: #666;
  font-size: 0.9rem;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 2px solid white;
}
.theme-toggle:hover {
  transform: scale(1.15) rotate(15deg);
  box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}
.theme-toggle i {
  font-size: 1.3rem;
  color: black;
  transition: transform 0.3s ease;
}
.theme-toggle:hover i {
  transform: rotate(180deg);
}

/* ===== FORM STYLES ===== */
.form-container {
  background: #111;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2.5rem 0;
  transition: all 0.4s ease;
}
.form-container:hover {
  border-color: var(--gold);
  box-shadow: 0 15px 30px -10px rgba(212,175,55,0.15);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--gold);
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}
.form-group:hover label {
  transform: translateX(5px);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
  transform: scale(1.01);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 0.8rem;
}
.service-option {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 0.9rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}
.service-option:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 8px 15px -5px rgba(212,175,55,0.2);
}
.service-option.selected {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  transform: scale(1.02);
}
.service-option.selected::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--gold);
  font-weight: bold;
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  0% { transform: scale(0); }
  80% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.service-option i {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
  transition: transform 0.3s ease;
}
.service-option:hover i {
  transform: scale(1.1);
}
.selected-services {
  margin-top: 0.8rem;
  padding: 0.9rem;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 10px;
  border: 1px solid var(--gold);
  font-size: 0.95rem;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== POPUP STYLES ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
.popup-content {
  background: #111;
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.7);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.popup-overlay.active .popup-content {
  transform: scale(1);
}
.popup-icon {
  width: 70px;
  height: 70px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.popup-icon i {
  font-size: 2.5rem;
  color: black;
}
.popup-content h2 {
  border-left: none;
  padding-left: 0;
  margin-bottom: 0.8rem;
}
.popup-content p {
  color: #aaa;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 0.95rem;
}
.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  color: black;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.popup-close:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--gold-light);
}
.popup-btn {
  background: var(--gold);
  color: black;
  border: none;
  padding: 0.9rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  font-size: 0.95rem;
}
.popup-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px -5px rgba(212,175,55,0.4);
  background: var(--gold-light);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 75px;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: auto;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1rem;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-left: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    border-radius: 0 0 0 20px;
    box-shadow: -5px 10px 20px rgba(0,0,0,0.3);
  }
  
  body.light-mode .nav-links {
    background: rgba(240, 240, 240, 0.95);
    backdrop-filter: blur(10px);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-link {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
  }
  
  .nav-links.active .nav-link {
    opacity: 1;
    transform: translateX(0);
  }
  
  .nav-links.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active .nav-link:nth-child(2) { transition-delay: 0.2s; }
  .nav-links.active .nav-link:nth-child(3) { transition-delay: 0.3s; }
  .nav-links.active .nav-link:nth-child(4) { transition-delay: 0.4s; }
  .nav-links.active .nav-link:nth-child(5) { transition-delay: 0.5s; }
  .nav-links.active .nav-link:nth-child(6) { transition-delay: 0.6s; }
  
  .grid-3, .grid-4 { 
    grid-template-columns: 1fr; 
  }
  
  .footer-grid { 
    grid-template-columns: 1fr; 
  }
  
  .hero { 
    height: 75vh; 
  }
  
  .form-row { 
    grid-template-columns: 1fr; 
  }
  
  .service-options { 
    grid-template-columns: 1fr; 
  }
  
  .typewriter {
    white-space: normal;
    border-right: none;
    animation: none;
  }
  
  .related-posts .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .blog-banner {
    height: 350px;
  }
  
  .banner-meta {
    gap: 0.8rem;
    font-size: 0.85rem;
  }
  
  .author-bio {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
    background: #111;
    border-radius: 20px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid #333;
  }
  .author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--gold);
    margin: 0 auto;
  }
}

/* Additional smooth animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

.card-icon {
  animation: float 4s ease-in-out infinite;
}

/* Page transition animation */
main {
  animation: fadeInPage 0.6s ease-out;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}












/* Fix light mode text visibility */
body.light-mode section[style*="border-top"] p,
body.light-mode section[style*="border-top"] div[style*="color: #ccc"],
body.light-mode section[style*="border-top"] p[style*="color: #ddd"],
body.light-mode section[style*="border-top"] p[style*="color: #ccc"] {
  color: #444444 !important;
}

body.light-mode section[style*="border-top"] span {
  color: #222222 !important;
  background: rgba(201,162,39,0.15) !important;
}
