/* ============================================
   PROFESSIONAL LAYOUT UPGRADE - KOOL D. STUDIO
   ============================================ */

/* ===== ROOT VARIABLES ENHANCEMENTS ===== */
:root {
  --shadow-extra-light: 0 2px 8px rgba(58, 90, 64, 0.04);
  --shadow-light: 0 4px 16px rgba(58, 90, 64, 0.08);
  --shadow-medium-plus: 0 16px 48px rgba(58, 90, 64, 0.12);
  --shadow-heavy: 0 24px 64px rgba(58, 90, 64, 0.16);
  
  --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-snappy: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== ENHANCED NAVIGATION ===== */
nav {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: fixed !important;
  z-index: 1000 !important;
  width: 100%;
  top: 0;
  left: 0;
  padding: max(1.5rem, env(safe-area-inset-top)) 0 1.5rem !important;
  background: rgba(252, 251, 249, 0.92) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border-bottom: 1px solid rgba(224, 224, 224, 0.4) !important;
  box-shadow: var(--shadow-extra-light);
}

nav.scrolled {
  padding: max(1rem, env(safe-area-inset-top)) 0 1rem !important;
  background: rgba(252, 251, 249, 0.95) !important;
  border-bottom: 1px solid rgba(224, 224, 224, 0.5) !important;
  box-shadow: 0 8px 32px rgba(58, 90, 64, 0.08);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 max(2.5rem, calc(2.5rem + env(safe-area-inset-right))) 0 max(2.5rem, calc(2.5rem + env(safe-area-inset-left))) !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary-dark);
  transition: var(--transition-snappy);
  position: relative;
}

.logo:hover {
  color: var(--accent-orange);
  text-shadow: 0 0 20px rgba(235, 149, 0, 0.3);
}

.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dark-charcoal);
  position: relative;
  transition: color 0.3s ease;
  padding: 8px 0;
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), rgba(235, 149, 0, 0.6));
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

/* ===== SECTION SPACING & LAYOUT ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ===== ENHANCED SECTION TITLES ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--primary-dark);
  margin: 0 auto 20px;
  padding-left: 50px;
  display: table;
  width: fit-content;
  position: relative;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1.6em;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent-orange), rgba(235, 149, 0, 0.7));
  box-shadow: 0 6px 20px rgba(235, 149, 0, 0.28);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

.section-subtitle {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--text-medium-gray);
  text-align: center;
  max-width: 800px;
  margin: 40px auto 0;
  line-height: 1.8;
}

/* ===== INTRO SECTION ENHANCEMENT ===== */
.intro-section {
  padding: 160px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.intro-section::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle at 30% 50%, rgba(235, 149, 0, 0.1) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.intro-text {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.9;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.9s ease-out 0.1s backwards;
}

/* ===== ENHANCED PORTFOLIO GRID ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 80px;
}

.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(235, 149, 0, 0.05);
}

.grid-item:hover {
  transform: translateY(-16px) scale(1.03);
  box-shadow: var(--shadow-heavy);
  border-color: rgba(235, 149, 0, 0.2);
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.grid-item:hover img {
  transform: scale(1.12);
}

.grid-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.grid-item:hover::after {
  opacity: 1;
}

/* ===== ENHANCED BUTTONS ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 48px;
  background: var(--primary-dark);
  color: #fff;
  border: 2px solid transparent;
  border-radius: 60px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 24px rgba(58, 90, 64, 0.15);
  min-height: 48px;
  min-width: 48px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: 0;
}

.btn:hover::before {
  width: 350px;
  height: 350px;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn:hover {
  background: #2e4833;
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(58, 90, 64, 0.25);
}

.btn:active {
  transform: translateY(-2px);
}

.btn-orange {
  background: var(--accent-orange);
  box-shadow: 0 8px 28px rgba(235, 149, 0, 0.24);
}

.btn-orange:hover {
  background: #d08400;
  box-shadow: 0 16px 48px rgba(235, 149, 0, 0.32);
}

/* ===== ENHANCED CAMPAIGN CARDS ===== */
.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.campaign-card {
  background: #fff;
  border: 1px solid rgba(235, 149, 0, 0.1);
  border-top: 5px solid var(--primary-dark);
  border-radius: 16px;
  padding: 45px;
  position: relative;
  transition: var(--transition-smooth);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.campaign-card::before {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(235, 149, 0, 0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.6s ease;
  z-index: 0;
}

.campaign-card:hover {
  border-top-color: var(--accent-orange);
  transform: translateY(-12px);
  box-shadow: var(--shadow-medium-plus);
}

.campaign-card:hover::before {
  right: -15%;
  bottom: -15%;
  background: radial-gradient(circle, rgba(235, 149, 0, 0.15) 0%, transparent 65%);
}

.campaign-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-orange), #f5a623);
  padding: 8px 18px;
  border-radius: 25px;
  margin-bottom: 25px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(235, 149, 0, 0.25);
}

.campaign-header {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.campaign-header h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.campaign-subtitle {
  font-size: 14px;
  color: var(--text-color-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.campaign-content {
  margin-bottom: 35px;
  position: relative;
  z-index: 1;
}

.campaign-content p {
  color: var(--text-color-secondary);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 25px;
}

.campaign-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.campaign-highlights li {
  color: var(--text-color);
  font-size: 14px;
  padding: 10px 0 12px;
  position: relative;
  padding-left: 28px;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(235, 149, 0, 0.08);
}

.campaign-highlights li:last-child {
  border-bottom: none;
}

.campaign-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 16px;
}

.campaign-highlights li:hover {
  transform: translateX(6px);
  color: var(--accent-orange);
  padding-left: 34px;
}

.campaign-pricing {
  margin-bottom: 30px;
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 2px solid rgba(235, 149, 0, 0.12);
  border-bottom: 2px solid rgba(235, 149, 0, 0.12);
  position: relative;
  z-index: 1;
}

.campaign-pricing .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  display: inline-block;
  letter-spacing: 0.3px;
}

.campaign-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  font-size: 12px;
  padding: 14px 0;
  background: var(--primary-dark);
  color: #fff;
  border: 2px solid var(--primary-dark);
  border-radius: 60px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.campaign-btn:hover {
  background: #28402f;
  border-color: #28402f;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(58, 90, 64, 0.2);
}

/* ===== EXPLORE SECTION ===== */
.explore-section {
  background: linear-gradient(135deg, rgba(58, 90, 64, 0.03) 0%, rgba(235, 149, 0, 0.02) 100%);
  border: 1px solid rgba(235, 149, 0, 0.1);
  border-radius: 16px;
  padding: 50px;
  margin: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.explore-section::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(235, 149, 0, 0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.explore-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(58, 90, 64, 0.05) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.explore-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.explore-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
  margin: 0 auto 30px;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(235, 149, 0, 0.2);
}

.explore-heading {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.explore-description {
  font-size: 16px;
  color: var(--text-medium-gray);
  margin-bottom: 45px;
  line-height: 1.8;
  font-weight: 300;
}

.explore-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border: 2px solid rgba(235, 149, 0, 0.25);
  border-radius: 50px;
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 13px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  background: #fff;
}

.explore-link::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(235, 149, 0, 0.12);
  transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.explore-link:hover::before {
  left: 0;
}

.explore-link span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.explore-link:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background: rgba(235, 149, 0, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(235, 149, 0, 0.15);
}

/* ===== CONTACT SECTION ENHANCEMENT ===== */
.contact-section {
  padding: 160px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(235, 149, 0, 0.1) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.contact-section::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(58, 90, 64, 0.05) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.contact-header .section-title {
  color: var(--primary-dark);
  margin-bottom: 25px;
}

.contact-intro {
  font-size: 18px;
  color: var(--text-medium-gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.9;
  font-weight: 300;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.contact-card {
  background: #fff;
  padding: 50px 45px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
  border: 1px solid rgba(235, 149, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.contact-card:hover {
  transform: translateY(-16px);
  box-shadow: var(--shadow-medium-plus);
  border-color: rgba(235, 149, 0, 0.2);
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-icon {
  font-size: 52px;
  margin-bottom: 25px;
  color: var(--accent-orange);
  transition: var(--transition-bounce);
}

.contact-card:hover .contact-icon {
  transform: scale(1.15) rotate(-8deg);
}

.contact-item-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.contact-item-text {
  font-size: 15px;
  color: var(--text-medium-gray);
  line-height: 1.8;
  margin: 0;
  font-weight: 300;
}

.contact-item-text a {
  color: var(--accent-orange);
  font-weight: 700;
  transition: color 0.3s ease;
  text-decoration: none;
}

.contact-item-text a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-button-container {
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: 50px;
}

/* ===== ENHANCED FOOTER ===== */
.main-footer {
  background: linear-gradient(135deg, var(--primary-dark), #2a3e32);
  padding: 100px 0 30px;
  border-top: 1px solid rgba(235, 149, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(235, 149, 0, 0.05) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-content {
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.footer-brand .studio-name-footer {
  font-size: 28px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.studio-tagline {
  font-size: 13px;
  color: rgba(235, 149, 0, 0.9);
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links a,
.footer-social a {
  transition: var(--transition-snappy);
  font-weight: 400;
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--accent-orange);
  transform: translateX(6px);
}

.social-link {
  transition: var(--transition-snappy);
}

.social-link:hover {
  background: var(--accent-orange);
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(235, 149, 0, 0.3);
}

/* ===== HERO SECTION ENHANCEMENT ===== */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-overlay .studio-name {
  font-size: 68px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.9s ease-out;
  line-height: 1.1;
}

.hero-overlay .tagline {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 1.2px;
  margin-bottom: 35px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.9s ease-out 0.2s backwards;
  line-height: 1.6;
}

.hero-overlay .gold-line {
  width: 100px;
  height: 3px;
  background: var(--accent-orange);
  margin: 30px auto;
  animation: fadeInUp 0.9s ease-out 0.4s backwards;
  box-shadow: 0 6px 16px rgba(235, 149, 0, 0.4);
  border-radius: 2px;
}

.hero-cta {
  margin-top: 45px;
  animation: fadeInUp 0.9s ease-out 0.6s backwards;
}

.hero-cta .btn-orange {
  padding: 14px 48px;
  font-size: 12px;
  letter-spacing: 1.8px;
  background: rgba(235, 149, 0, 0.2);
  border: 2px solid rgba(235, 149, 0, 0.5);
  color: #fff;
  box-shadow: 0 6px 20px rgba(235, 149, 0, 0.2);
  transition: var(--transition-smooth);
}

.hero-cta .btn-orange:hover {
  background: rgba(235, 149, 0, 0.35);
  border-color: rgba(235, 149, 0, 0.8);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(235, 149, 0, 0.3);
}

/* ===== PORTFOLIO SECTION ===== */
#portfolio-showcase {
  padding: 140px 0;
  background: linear-gradient(180deg, var(--bg-light) 0%, #faf8f5 100%);
  position: relative;
}

.portfolio-showcase-section .section-title {
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
  animation: fadeInUp 0.8s ease-out;
}

.portfolio-button-container {
  text-align: center;
  margin-top: 80px;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.portfolio-button-container .btn {
  font-size: 13px;
  padding: 14px 48px;
  letter-spacing: 1.5px;
}

.btn-secondary {
  background: var(--primary-dark);
  color: #fff;
  border: 2px solid var(--primary-dark);
  box-shadow: 0 8px 28px rgba(58, 90, 64, 0.15);
}

.btn-secondary:hover {
  background: #fff;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 16px 40px rgba(58, 90, 64, 0.2);
}

/* ===== TRENDING SECTION ===== */
.trending-campaigns {
  padding: 140px 0;
  background: linear-gradient(135deg, rgba(58, 90, 64, 0.02) 0%, rgba(235, 149, 0, 0.02) 100%);
  border-top: 1px solid rgba(235, 149, 0, 0.12);
  border-bottom: 1px solid rgba(235, 149, 0, 0.12);
  position: relative;
}

.trending-campaigns .section-title {
  font-size: 48px;
  margin-bottom: 20px;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .campaigns-grid {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .nav-container {
    padding: 0 max(1.5rem, calc(1.5rem + env(safe-area-inset-right))) 0 max(1.5rem, calc(1.5rem + env(safe-area-inset-left)));
  }

  .section-title {
    font-size: 40px;
    padding-left: 40px;
  }

  .section-subtitle {
    font-size: 15px;
    margin-top: 30px;
  }

  .intro-section {
    padding: 100px 0;
  }

  .intro-text {
    font-size: 28px;
    line-height: 1.7;
  }

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

  .grid-item {
    aspect-ratio: 4 / 5;
  }

  .grid-item:hover {
    transform: translateY(-12px) scale(1.02);
  }

  .campaigns-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .campaign-card {
    padding: 35px;
  }

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

  .contact-card {
    padding: 40px;
  }

  .contact-section {
    padding: 100px 0;
  }

  .explore-section {
    padding: 40px 25px;
    margin: 60px 0;
  }

  .hero-overlay .studio-name {
    font-size: 48px;
    letter-spacing: 2px;
  }

  .hero-overlay .tagline {
    font-size: 18px;
  }

  .hero-cta {
    margin-top: 30px;
  }

  #portfolio-showcase,
  .trending-campaigns {
    padding: 100px 0;
  }

  .main-footer {
    padding: 80px 0 25px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .nav-container {
    padding: 0 max(1rem, calc(1rem + env(safe-area-inset-right))) 0 max(1rem, calc(1rem + env(safe-area-inset-left)));
  }

  .section-title {
    font-size: 32px;
    padding-left: 30px;
  }

  .section-title::before {
    width: 4px;
  }

  .intro-text {
    font-size: 22px;
    line-height: 1.6;
  }

  .intro-section {
    padding: 70px 0;
  }

  .btn {
    padding: 12px 30px;
    font-size: 10px;
    letter-spacing: 1.2px;
    min-height: 44px;
  }

  .campaign-card {
    padding: 25px 20px;
  }

  .campaign-header h3 {
    font-size: 24px;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .contact-icon {
    font-size: 44px;
    margin-bottom: 20px;
  }

  .contact-item-title {
    font-size: 20px;
  }

  .explore-heading {
    font-size: 28px;
  }

  .explore-link {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 12px;
  }

  .hero-overlay .studio-name {
    font-size: 32px;
    letter-spacing: 1.8px;
  }

  .hero-overlay .tagline {
    font-size: 14px;
  }

  .logo {
    font-size: 20px;
    letter-spacing: 1.5px;
  }

  .nav-links a {
    font-size: 11px;
    letter-spacing: 1.2px;
  }

  #portfolio-showcase,
  .trending-campaigns {
    padding: 70px 0;
  }

  .portfolio-button-container {
    margin-top: 50px;
  }

  .contact-section {
    padding: 80px 0;
  }

  .contact-header {
    margin-bottom: 50px;
  }

  .explore-section {
    padding: 30px 20px;
    margin: 50px 0;
  }

  .main-footer {
    padding: 60px 0 20px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  nav,
  .hero-cta,
  .portfolio-button-container,
  .contact-button-container,
  .explore-section {
    display: none;
  }

  .btn {
    box-shadow: none;
  }

  body {
    background: white;
  }
}
