/* ================================
   THE CHANCE MAP - CREATIVE DESIGN
   Black background with yellow accents
   ================================ */

:root {
  --black: #000000;
  --black-light: #0a0a0a;
  --black-medium: #111111;
  --yellow: #FFD700;
  --yellow-bright: #FFEA00;
  --yellow-muted: #D4AF37;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --gray-light: #B8B8B8;
  --gray-medium: #6B6B6B;
  --gray-dark: #2A2A2A;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--black);
  color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.serif {
  font-family: 'Playfair Display', serif;
}

/* Yellow highlights for punchlines */
.highlight {
  color: var(--yellow);
}

.highlight-bright {
  color: var(--yellow-bright);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  transition: all 0.3s ease;
}

.nav.scrolled {
  padding: 0.75rem 2rem;
  background: rgba(0, 0, 0, 0.95);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  height: 42px;
  width: auto;
  transition: transform 0.3s ease;
  object-fit: contain;
}

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

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--off-white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--yellow);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--yellow);
  color: var(--black);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: var(--yellow-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* Mobile Navigation */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--yellow);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 2rem 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title .serif {
  font-style: italic;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--off-white);
  margin-bottom: 0.5rem;
}

.hero-punchline {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
}

.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease 0.3s both;
}

.hero-logo {
  max-width: 750px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 80px rgba(255, 215, 0, 0.35));
  animation: float 6s ease-in-out infinite;
}

/* Compact Hero - 85% of original size */
.hero-compact {
  min-height: 85vh;
  padding: 100px 2rem 60px;
}

.hero-compact .hero-container {
  gap: 3rem;
}

.hero-compact .hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  margin-bottom: 1.25rem;
}

.hero-compact .hero-subtitle {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.hero-compact .hero-tagline {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.hero-compact .hero-punchline {
  font-size: 1.25rem;
  margin-top: 1.25rem;
}

.hero-compact .hero-logo {
  max-width: 640px;
  filter: drop-shadow(0 0 60px rgba(255, 215, 0, 0.3));
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Section Styling */
.section {
  padding: 100px 2rem;
  position: relative;
}

.section-dark {
  background: var(--black-light);
}

.section-medium {
  background: var(--black-medium);
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  color: var(--gray-light);
  text-align: center;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Philosophy Section */
.philosophy {
  background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
}

.philosophy-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-quote {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.philosophy-subquote {
  font-size: 1.25rem;
  color: var(--yellow);
  margin-bottom: 3rem;
  font-style: italic;
}

.philosophy-text {
  color: var(--gray-light);
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 2rem;
}

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

.approach-card {
  background: rgba(255, 215, 0, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.1);
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.approach-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.approach-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.1);
}

.approach-card:hover::before {
  opacity: 1;
}

.approach-card h3 {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.approach-card p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Services Section */
.services-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.services-intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.services-intro p {
  color: var(--gray-light);
  font-size: 1.2rem;
}

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

.service-card {
  background: var(--black-medium);
  border: 1px solid var(--gray-dark);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--yellow);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--yellow);
}

.service-image {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}

.service-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.service-card p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Case Studies Section */
.case-studies {
  background: linear-gradient(180deg, var(--black-light) 0%, var(--black) 100%);
}

.case-studies-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.case-studies-intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.case-studies-intro p {
  color: var(--gray-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: stretch;
}

/* Redesigned Case Card - Modern & Attractive */
.case-card {
  background: linear-gradient(145deg, var(--black-medium) 0%, rgba(17, 17, 17, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 0;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 340px;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, transparent 50%, rgba(255, 215, 0, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.case-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-bright), var(--yellow));
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 3;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 215, 0, 0.25);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 215, 0, 0.06);
}

.case-card:hover::before {
  opacity: 1;
}

.case-card:hover::after {
  transform: scaleX(1);
}

/* Case Image - Hero Style */
.case-image {
  width: 100%;
  height: 130px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.case-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg, 
    transparent 0%, 
    transparent 40%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.case-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s ease;
  filter: saturate(0.9) brightness(0.95);
}

.case-card:hover .case-image img {
  transform: scale(1.15);
  filter: saturate(1.1) brightness(1);
}

/* Case Content */
.case-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

/* Category Badge */
.case-category {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 4px;
  width: fit-content;
  flex-shrink: 0;
}

.case-category::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Title */
.case-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--white);
  line-height: 1.25;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.case-card:hover h4 {
  color: var(--yellow);
}

/* Description */
.case-card p {
  color: var(--gray-light);
  font-size: 0.75rem;
  line-height: 1.5;
  height: 54px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 0.75rem;
}

/* Result Badge - Enhanced */
.case-result {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  position: relative;
  flex-shrink: 0;
}

.case-result::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1rem;
  right: -1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
}

.case-result-icon {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-muted) 100%);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.case-result-icon i {
  font-size: 0.6rem;
  color: var(--black);
}

.case-result-text {
  color: var(--yellow);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* Legacy icon support (hidden) */
.case-icon {
  display: none;
}

/* Future Product Section */
.future-product {
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.future-product::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.future-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.future-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--yellow);
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
}

.future-product h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.future-product p {
  color: var(--gray-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.future-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--yellow);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.future-cta:hover {
  gap: 1rem;
}

.future-cta i {
  transition: transform 0.3s ease;
}

.future-cta:hover i {
  transform: translateX(5px);
}

/* Contact Section */
.contact {
  background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.contact-header p {
  color: var(--gray-light);
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-calendly {
  background: var(--black-medium);
  border: 1px solid var(--gray-dark);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
}

.contact-calendly h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-calendly p {
  color: var(--gray-light);
  margin-bottom: 2rem;
}

.calendly-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--yellow);
  color: var(--black);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.calendly-btn:hover {
  background: var(--yellow-bright);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.contact-form {
  background: var(--black-medium);
  border: 1px solid var(--gray-dark);
  border-radius: 20px;
  padding: 2.5rem;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--off-white);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--black);
  border: 1px solid var(--gray-dark);
  border-radius: 10px;
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: var(--yellow);
  color: var(--black);
}

/* Footer */
.footer {
  background: var(--black);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--gray-dark);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
  object-fit: contain;
}

.footer-tagline {
  color: var(--gray-light);
  font-size: 0.95rem;
  max-width: 300px;
}

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

.footer-links h4 {
  color: var(--yellow);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-contact-info {
  text-align: right;
}

.footer-contact-info a {
  color: var(--yellow);
  text-decoration: none;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-contact-info a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  color: var(--gray-medium);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--gray-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--off-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--yellow);
  color: var(--black);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--yellow-bright);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--yellow);
  color: var(--yellow);
}

.btn-outline:hover {
  background: var(--yellow);
  color: var(--black);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-logo-wrapper {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .hero-logo {
    max-width: 280px;
  }
  
  .approach-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--gray-dark);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero {
    padding: 100px 1.5rem 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 60px 1.5rem;
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-contact-info {
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--yellow);
}

/* Selection */
::selection {
  background: var(--yellow);
  color: var(--black);
}

/* Decorative elements */
.decorative-line {
  width: 60px;
  height: 3px;
  background: var(--yellow);
  margin: 0 auto 2rem;
}

/* Star decoration (matching logo) */
.star-decoration {
  color: var(--yellow);
  font-size: 1.5rem;
  display: inline-block;
  animation: twinkle 2s infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.9); }
}

/* Loading animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--gray-dark);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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