/*
 * Layout Styles - 1976uk Creative Theme
 * Grid systems, containers, spacing, and responsive layouts
 * Version: 1.0.0
 */

/* ==========================================================================
   FUTURE TECH ICE STONE BACKGROUND - TEMPORARILY COMMENTED OUT FOR PERFORMANCE
   ========================================================================== */

/* 
ANIMATED TECH STRIPES - COMMENTED OUT TEMPORARILY
Performance optimization while developing new gradient system

.future-tech-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, 
    var(--bg-primary) 0%,
    var(--bg-secondary) 25%,
    var(--bg-tertiary) 50%,
    var(--bg-quaternary) 75%,
    var(--bg-dark) 100%
  );
  overflow: hidden;
}

.tech-stripes {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  opacity: 0.6;
}

.tech-stripe {
  position: absolute;
  background: linear-gradient(45deg, 
    transparent 0%, 
    rgba(33, 150, 243, 0.4) 15%,
    rgba(76, 175, 80, 0.5) 25%,
    rgba(244, 67, 54, 0.4) 35%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(244, 67, 54, 0.4) 65%,
    rgba(76, 175, 80, 0.5) 75%,
    rgba(33, 150, 243, 0.4) 85%,
    transparent 100%
  );
  height: 2px;
  width: 100%;
  animation: techStripeMove 25s linear infinite;
  box-shadow: 
    0 0 4px rgba(33, 150, 243, 0.3),
    0 0 8px rgba(76, 175, 80, 0.2),
    0 0 6px rgba(244, 67, 54, 0.2);
}

.tech-stripe.stripe-1 { top: 8%; animation-delay: 0s; }
.tech-stripe.stripe-2 { top: 22%; animation-delay: -5s; }
.tech-stripe.stripe-3 { top: 36%; animation-delay: -10s; }
.tech-stripe.stripe-4 { top: 52%; animation-delay: -15s; }
.tech-stripe.stripe-5 { top: 68%; animation-delay: -20s; }
.tech-stripe.stripe-6 { top: 84%; animation-delay: -3s; }

@keyframes techStripeMove {
  0% { transform: translateX(-100%) rotate(45deg) scaleY(1); opacity: 0; }
  10% { opacity: 0.3; }
  50% { opacity: 0.6; transform: translateX(0%) rotate(45deg) scaleY(1.2); }
  90% { opacity: 0.3; }
  100% { transform: translateX(100%) rotate(45deg) scaleY(1); opacity: 0; }
}
END COMMENTED ANIMATED TECH STRIPES */

/* ==========================================================================
   MAIN LAYOUT CONTAINERS
   ========================================================================== */

/* WordPress Main Content Areas */
.site-main,
#main,
#primary .site-main,
.content-area .site-main {
  padding-top: 200px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Primary Content Area */
#primary {
  width: 100%;
}

.content-area {
  width: 100%;
}

/* ==========================================================================
   DASHBOARD LAYOUT SYSTEM - THE PERFECTED SOLUTION
   ========================================================================== */

/* Base Dashboard Content Container */
.dashboard-content,
.adjustments-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  color: white;
}

/* Dashboard Header */
.dashboard-header,
.adjustments-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
}

.dashboard-title h1,
.adjustments-title h1 {
  color: var(--text-primary);
  font-size: 3em;
  margin: 0 0 15px 0;
  font-weight: 600;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.dashboard-subtitle,
.adjustments-subtitle {
  color: var(--text-secondary);
  font-size: 1.4em;
  margin: 0;
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Dashboard Sections - Glassmorphism Containers */
.dashboard-section,
.adjustments-section {
  background: var(--glass-bg);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.dashboard-section h2,
.adjustments-section h2 {
  color: var(--text-primary);
  font-size: 1.8em;
  margin: 0 0 10px 0;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.dashboard-section p,
.adjustments-section p {
  color: var(--text-tertiary);
  font-size: 1.1em;
  margin-bottom: 30px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   GRID SYSTEMS
   ========================================================================== */

/* Dashboard Gallery Grid */
.dashboard-gallery-grid,
.adjustments-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

/* ==========================================================================
   LARGE DESKTOP LAYOUT - THE PERFECTED SOLUTION
   ========================================================================== */

@media (min-width: 1250px) {
  /* Override main content constraints - THE NUCLEAR OPTION */
  .site-main,
  #main,
  #primary .site-main,
  .content-area .site-main {
    max-width: calc(100vw - 80px) !important;
  }
  
  /* Page-specific nuclear overrides */
  body.page-template-page-adjustments .site-main,
  body.page-template-page-adjustments #main,
  body.page-template-page-adjustments #primary .site-main,
  body.page-template-page-adjustments .content-area .site-main {
    max-width: none !important;
    width: 100vw !important;
    margin: 0 !important;
    padding: 200px 40px 40px 40px !important;
    box-sizing: border-box !important;
    position: relative !important;
  }
  
  body.page-template-page-gallery .site-main,
  body.page-template-page-gallery #main,
  body.page-template-page-gallery #primary .site-main,
  body.page-template-page-gallery .content-area .site-main {
    max-width: none !important;
    width: 100vw !important;
    margin: 0 !important;
    padding: 200px 40px 40px 40px !important;
    box-sizing: border-box !important;
    position: relative !important;
  }
  
  body.page-template-page-websites .site-main,
  body.page-template-page-websites #main,
  body.page-template-page-websites #primary .site-main,
  body.page-template-page-websites .content-area .site-main {
    max-width: none !important;
    width: 100vw !important;
    margin: 0 !important;
    padding: 200px 40px 40px 40px !important;
    box-sizing: border-box !important;
    position: relative !important;
  }
  
  /* Large screen content adjustments */
  .dashboard-content,
  .adjustments-content {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  
  .dashboard-section,
  .adjustments-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 50px 40px;
    box-sizing: border-box;
  }
  
  .dashboard-gallery-grid,
  .adjustments-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ==========================================================================
   TABLET RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .dashboard-gallery-grid,
  .adjustments-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .site-main,
  #main,
  #primary .site-main,
  .content-area .site-main {
    padding-top: 120px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .dashboard-content,
  .adjustments-content {
    padding: 10px;
  }
  
  .dashboard-section,
  .adjustments-section {
    padding: 25px 20px;
  }
  
  .dashboard-gallery-grid,
  .adjustments-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .dashboard-title h1,
  .adjustments-title h1 {
    font-size: 2.2em;
  }
}