/* ==========================================================================
   PAWLEYYO | DOVE SHORE STYLE PORTFOLIO STYLESHEET
   ========================================================================== */

/* 1. DESIGN SYSTEM VARIABLES */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #faf9f6; /* Warm off-white */
  --bg-tertiary: #f4f3f0;
  --text-primary: #111111;
  --text-secondary: #555555;
  --text-muted: #8c8c8c;
  --accent-current: #000000;
  --accent-soft: #7f7f7f;
  
  --font-display: 'Syne', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --sidebar-width: 280px;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-quick: all 0.2s ease-out;
  
  --cursor-size: 30px;
}

/* Dark Theme overrides */
[data-theme="dark"] {
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-tertiary: #1c1c1c;
  --text-primary: #f5f5f5;
  --text-secondary: #aaaaaa;
  --text-muted: #666666;
  --accent-current: #ffffff;
  --accent-soft: #999999;
}

/* Smooth Theme Transitions */
body, header, aside, main, section, .lightbox-modal, .contact-estimation-box {
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. GLOBAL RESET & BASE STYLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

/* Selection highlight */
::selection {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

/* Custom Scrollbar */
::::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-quick);
}

/* ==========================================================================
   3. APP CONTAINER & SIDEBAR LAYOUT (DESKTOP)
   ========================================================================== */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* Persistent left sidebar */
.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--bg-primary);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--bg-tertiary);
  z-index: 100;
}

/* Brand Section */
.brand {
  margin-bottom: 50px;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.brand-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 28px; /* Increased spacing to feel airy and premium */
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.95rem; /* Larger, readable size */
  font-weight: 600; /* Medium-bold for editorial presence */
  text-transform: uppercase;
  letter-spacing: 0.18em; /* Generous spacing */
  color: var(--text-muted);
  display: inline-block;
  position: relative;
  width: fit-content;
}

.nav-link:hover, 
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; /* Move closer to text baseline */
  left: 0;
  width: 100%;
  height: 2px; /* Thicker, bolder underline */
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Custom Back to Agency link styled like navigation but separated */
.agency-back-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  display: inline-block;
  position: relative;
  width: fit-content;
  margin-top: 24px;
  border-top: 1px solid var(--bg-tertiary);
  padding-top: 20px;
}

.agency-back-link:hover {
  color: var(--text-primary);
}

.agency-back-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.agency-back-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Sidebar Footer */
.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  font-size: 1rem;
  color: var(--text-muted);
}

.social-link:hover {
  color: var(--text-primary);
}

.copyright {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* Mobile Header (Hidden on Desktop) */
.mobile-header {
  display: none;
}

/* Drawer Menu (Hidden on Desktop) */
.mobile-menu-drawer {
  display: none;
}

/* ==========================================================================
   4. MAIN CONTENT AREA
   ========================================================================== */
.main-content {
  margin-left: var(--sidebar-width);
  flex-grow: 1;
  background-color: var(--bg-primary);
  min-height: 100vh;
  position: relative;
}

/* Content Sections */
.content-section {
  display: none;
  opacity: 0;
  padding: 80px 8%;
  max-width: 1300px;
  margin: 0 auto;
}

.content-section.active {
  display: block;
  animation: smoothFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Section Titles */
.section-header {
  margin-bottom: 60px;
  text-align: left;
}

.section-title {
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   4.5. CINEMATIC SPLIT LANDING GRID (HOME)
   ========================================================================== */
.split-landing-grid {
  display: flex;
  width: 100%;
  height: 75vh;
  gap: 24px;
}

.split-col {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: block;
  transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

/* Hover expansion */
.split-col:hover {
  flex: 1.6;
}

.split-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.split-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 100%);
  opacity: 0.8;
  transition: opacity 0.8s ease;
  z-index: 2;
}

.split-col:hover .split-image-wrapper::after {
  opacity: 0.95;
}

.split-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(95%);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.split-col:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(100%);
}

.split-meta {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  z-index: 10;
  color: #ffffff;
  pointer-events: none;
}

.split-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.1;
  color: #ffffff;
}

.split-subtitle {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.split-col:hover .split-subtitle {
  color: #ffffff;
}

/* Tablet & Mobile responsive split screen layout */
@media (max-width: 992px) {
  .split-landing-grid {
    flex-direction: column;
    height: auto;
    gap: 20px;
  }
  
  .split-col {
    height: 280px;
    flex: none;
    width: 100%;
  }
  
  .split-col:hover {
    flex: none;
  }
}

/* ==========================================================================
   5. VERTICAL PORTFOLIO GALLERIES
   ========================================================================== */
.vertical-gallery {
  display: flex;
  flex-direction: column;
  gap: 100px; /* Ample spacing to make it feel like a physical exhibition */
  max-width: 800px;
  margin: 0 auto;
}

.gallery-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.gallery-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.image-container {
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.image-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
}

.image-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.image-category {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   6. EDITORIAL COVERS (MAGAZINE STYLE)
   ========================================================================== */
.covers-gallery {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 700px;
  margin: 0 auto;
}

/* Magazine Overlay Mockup */
.magazine-mockup {
  position: relative;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.magazine-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.magazine-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
  color: #ffffff;
}

.magazine-masthead {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  text-align: center;
  line-height: 0.85;
}

.magazine-headlines {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-sans);
}

.headline-left {
  text-align: left;
}

.headline-right {
  text-align: right;
}

.magazine-tag {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.magazine-issue {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   7. VIDEO MODULE
   ========================================================================== */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

/* Simulated video thumbnail with hover play button */
.video-thumbnail {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.video-card:hover img {
  transform: scale(1.03);
  opacity: 0.7;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #000000;
  color: #ffffff;
}

.video-info {
  margin-top: 15px;
}

.video-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.video-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   8. ABOUT SECTION
   ========================================================================== */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.about-image-side {
  width: 100%;
}

.about-text-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-headline {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
}

.about-description {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-meta-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--bg-tertiary);
  padding-top: 24px;
  margin-top: 10px;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--bg-tertiary);
  padding-bottom: 8px;
}

.meta-label {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-val {
  color: var(--text-primary);
  font-weight: 500;
}

/* Mobile support for About Container */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   9. CONTACT & RESERVATION FORM
   ========================================================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-detail-block h3 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.contact-detail-block p {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-detail-block a:hover {
  text-decoration: underline;
}

/* Interactive Estimation Box */
.contact-estimation-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--bg-tertiary);
  padding: 30px;
  margin-top: 20px;
}

.estimate-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.estimate-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin: 10px 0;
  color: var(--text-primary);
  line-height: 1;
}

.estimate-description {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Form Styles */
.contact-form-side {
  display: flex;
  flex-direction: column;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #d4d4d8;
  background-color: transparent;
  padding: 12px 4px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition-quick);
  border-radius: 0;
}

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

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 16px;
  padding-right: 24px;
  -webkit-appearance: none;
}

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

/* Add-ons Checkboxes */
.addons-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.checkbox-container input {
  width: 16px;
  height: 16px;
  border: 1px solid #d4d4d8;
  background-color: transparent;
  cursor: pointer;
}

.checkbox-container input:checked {
  accent-color: var(--text-primary);
}

/* Submission Button */
.btn-submit-booking {
  border: 1px solid var(--text-primary);
  background-color: var(--text-primary);
  color: var(--bg-primary);
  padding: 16px 30px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  transition: var(--transition-quick);
}

.btn-submit-booking:hover {
  background-color: transparent;
  color: var(--text-primary);
}

.btn-submit-booking:disabled {
  background-color: var(--bg-tertiary);
  border-color: var(--bg-tertiary);
  color: var(--text-muted);
  cursor: not-allowed;
  pointer-events: none;
}

/* Validation Errors */
.form-group.invalid input,
.form-group.invalid textarea {
  border-bottom-color: #ef4444;
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 4px;
}

.form-group.invalid .error-msg {
  display: block;
}

/* ==========================================================================
   9. SYSTEM OVERLAYS (LIGHTBOX & SUCCESS)
   ========================================================================== */

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--text-primary);
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10002;
  transition: var(--transition-quick);
}

.lightbox-close:hover {
  transform: scale(1.1);
}

/* Lightbox Navigation Buttons */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2.2rem;
  padding: 20px;
  cursor: pointer;
  z-index: 10001;
  transition: var(--transition-quick);
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.15);
  color: var(--text-secondary);
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  z-index: 10000;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 84vh; /* Larger display height */
  object-fit: contain;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  transform: scale(0.96);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active img {
  transform: scale(1);
}

/* Responsive tweaks for smaller screens */
@media (max-width: 768px) {
  .lightbox-nav {
    font-size: 1.6rem;
    padding: 10px;
  }
  .lightbox-nav.prev {
    left: 10px;
  }
  .lightbox-nav.next {
    right: 10px;
  }
  .lightbox-content img {
    max-height: 76vh;
  }
  .lightbox-close {
    top: 20px;
    right: 20px;
  }
}

.lightbox-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

/* Success Confirmation Overlay */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.success-card {
  text-align: center;
  max-width: 480px;
  width: 90%;
  padding: 40px;
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-overlay.active .success-card {
  transform: translateY(0);
}

.success-icon {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.success-card h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.success-card p {
  margin-bottom: 30px;
}

.btn-close-success {
  border: 1px solid var(--text-primary);
  background-color: var(--text-primary);
  color: var(--bg-primary);
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  transition: var(--transition-quick);
}

.btn-close-success:hover {
  background-color: transparent;
  color: var(--text-primary);
}

/* Confetti particles */
.confetti-particle {
  pointer-events: none;
}

/* ==========================================================================
   10. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet & Mobile Layout Shifts */
@media (max-width: 992px) {
  .app-container {
    flex-direction: column;
  }
  
  /* Hide sidebar on mobile */
  .sidebar {
    display: none;
  }
  
  /* Show mobile header bar */
  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--bg-primary);
    padding: 0 30px;
    border-bottom: 1px solid var(--bg-tertiary);
    z-index: 1000;
  }
  
  .mobile-header .brand-title {
    font-size: 1.3rem;
  }
  
  .mobile-header .brand-subtitle {
    display: none;
  }
  
  .menu-toggle {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Mobile menu drawer overlay */
  .mobile-menu-drawer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 999;
    padding: 120px 40px 60px 40px;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .mobile-menu-drawer.active {
    transform: translateX(0);
  }
  
  .mobile-menu-drawer .nav-menu {
    gap: 24px;
  }
  
  .mobile-menu-drawer .nav-link {
    font-size: 1.1rem;
  }
  
  /* Adjust main content offsets */
  .main-content {
    margin-left: 0;
    padding-top: 70px;
  }
  
  .content-section {
    padding: 50px 20px;
  }
  
  .vertical-gallery {
    gap: 60px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .contact-info-side {
    order: 2;
  }
}

@media (max-width: 576px) {
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .vertical-gallery {
    gap: 40px;
  }
  
  .magazine-overlay {
    padding: 20px;
  }
  
  .magazine-masthead {
    font-size: 3rem;
  }
  
  .magazine-tag {
    font-size: 0.65rem;
  }
}

/* Theme Toggle Button Styles */
.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  margin-bottom: 20px;
  cursor: pointer;
  width: fit-content;
  transition: var(--transition-quick);
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
}

.theme-toggle-btn i {
  font-size: 0.95rem;
}

.theme-toggle-btn-mobile {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
  transition: var(--transition-quick);
}
