/*
Theme Name: Gary Arnold Seevers
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Gary Arnold Seevers is a custom theme developed on top of Wordpress's "TwentyTwentyFour" Theme.
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.0
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/* ===================================================================
   CSS VARIABLES & DESIGN TOKENS
   =================================================================== */
:root {
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Colors - Light Mode */
  --color-background: hsl(0, 0%, 100%);
  --color-foreground: hsl(240, 10%, 4%);
  --color-card: hsl(0, 0%, 98%);
  --color-border: hsl(240, 6%, 90%);
  --color-muted: hsl(240, 5%, 96%);
  --color-muted-foreground: hsl(240, 4%, 46%);
  --color-primary: hsl(195, 73%, 53%);
  --color-primary-foreground: hsl(0, 0%, 100%);
  
  /* Brand Colors - Vibrant Blue Accent */
  --color-accent: hsl(195, 73%, 53%);
  --color-accent-foreground: hsl(0, 0%, 100%);
  
  /* Spacing System */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===================================================================
   LAYOUT UTILITIES
   =================================================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  background-color: var(--color-background);
}

.section-work {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-alt {
  background-color: var(--color-card);
}

.section-alt.skills-section {
  background-color: hsl(220, 20%, 12%);
}

.section-alt.skills-section .section-title {
  color: white;
}

.section-alt.skills-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.text-center {
  text-align: center;
}

hr.wp-block-separator{
  border-width: 1px !important;
  border-color: #d0d0d0 !important;
  margin-bottom: 25px !important;
}
/* ===================================================================
   TYPOGRAPHY
   =================================================================== */
.hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: white;
  font-family: var(--font-family);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-family: var(--font-family);
}

.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-muted-foreground);
  max-width: 42rem;
  margin-bottom: 3rem;
}

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

.section-header-center .section-title,
.section-header-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================================
   NAVIGATION
   =================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

.nav-transparent {
  background-color: transparent;
  border-bottom-color: transparent;
}

.nav-transparent .nav-logo-text,
.nav-transparent .nav-link {
  color: white;
}

.nav-transparent .nav-toggle-bar {
  background-color: white;
}

.nav-transparent .btn-outline {
  color: white;
  border-color: white;
}

.nav-transparent .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Navigation - match Replit screenshot */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.nav-logo-box {
  width: 40px;
  height: 40px;
  background: center center/cover no-repeat;
  color: transparent;
}

.nav-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-link {
  font-size: 1.15rem;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: #2cace3;
}

.btn-outline {
  font-size: 1.15rem;
  font-weight: 600;
  color: #2cace3;
  border: 2px solid #2cace3;
  background: transparent;
  border-radius: 10px;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: #eaf6fc;
  color: #2cace3;
  border-color: #2cace3;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: opacity var(--transition-fast);
}

.nav-logo:hover {
  opacity: 0.7;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-foreground);
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background-color: var(--color-foreground);
  transition: transform var(--transition-base);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-top: 1px solid var(--color-border);
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile-link {
  font-size: 1.25rem;
  font-weight: 500;
  padding: 0.75rem 0;
  transition: opacity var(--transition-fast);
}

.nav-mobile-link:hover {
  opacity: 0.6;
}

@media (max-width: 780px) {
  .nav-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0.5rem 1rem;
  }
  .nav-logo-box {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
  .nav-logo-text {
    font-size: 1.25rem;
  }
  .nav-links {
    display: none !important;
  }
  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1001;
  }
  .nav-toggle-label {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1001;
    background: none;
    border: none;
  }
  .nav-toggle-checkbox {
    display: none;
  }
  .nav-toggle-bar {
    width: 28px;
    height: 3px;
    background: #111;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
  }
  .nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 100vw;
    background: #f5f5f5;
    z-index: 999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 0;
  }
  .nav-toggle-checkbox:checked ~ .nav-mobile {
    display: flex !important;
  }
  .nav-mobile-link {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    margin: 0.5rem 0;
    width: 100%;
  }
  .btn-outline {
    width: 100%;
    justify-content: center;
    font-size: 1.25rem;
    margin-top: 2rem;
    padding: 1rem 0;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
}

/* Navigation Spacing Adjustment */
.nav-links {
  gap: 3rem !important;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #000;
}

/* Video Background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark Overlay for Text Legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.6)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-bottom: 0px;
}

.scroll-indicator {
  margin-top: 0px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background-color: transparent;
  color: var(--color-primary);
  transition: all var(--transition-base);
  cursor: pointer;
}

.scroll-indicator:hover {
  transform: scale(1.1);
}

.scroll-text {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-indicator svg {
  animation: bounce 2s infinite;
}

.scroll-indicator:hover svg {
  animation: none;
  transform: translateY(0.25rem);
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  padding: 0.875rem 1.75rem;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  padding: 0.875rem 1.75rem;
}

.btn-outline:hover {
  background: #eaf6fc;
  color: #2cace3;
  border-color: #2cace3;
}

.btn-outline:active {
  background-color: var(--color-card);
}

.btn-outline.btn-primary {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline.btn-primary:hover {
  background-color: rgba(44, 172, 227, 0.1);
  border-color: var(--color-primary);
}

.btn-sm {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* ===================================================================
   PROJECT FILTER
   =================================================================== */
.project-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  position: sticky;
  top: 70px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  z-index: 50;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary);
  background-color: transparent;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
}

.filter-btn:hover {
  background-color: rgba(44, 172, 227, 0.1);
}

.filter-btn.active {
  background-color: rgba(44, 172, 227, 0.1);
}

/* ===================================================================
   PROJECT GRID
   =================================================================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
  gap: 2rem;
}

.project-card {
  background-color: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  opacity: 1;
  transform: scale(1);
  position: relative;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.project-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.project-card.hidden {
  opacity: 0;
  transform: scale(0.95);
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-muted);
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.project-content {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  opacity: 0;
  transition: opacity var(--transition-base);
}

.project-card:hover .project-content {
  opacity: 1;
}

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  color: white;
}

.project-badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.project-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}

.meta-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
}

/* ===================================================================
   SKILLS SECTION
   =================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
}

@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-card {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-align: center;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.08);
}

.skill-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background-color: rgba(44, 172, 227, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.skill-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-family: var(--font-family);
  color: white;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.skill-list li {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 0;
}

.skill-list li::before {
  content: none;
}

/* ===================================================================
   PROCESS SECTION
   =================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  text-align: center;
}

.process-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(44, 172, 227, 0.1);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  color: var(--color-primary);
}

.process-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  font-family: var(--font-family);
}

.process-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-muted-foreground);
}

/* ===================================================================
   ABOUT SECTION
   =================================================================== */
.about-section-bordered {
  position: relative;
  border-bottom: 4px solid var(--color-border);
}

.about-content-full {
  padding: 1rem 2rem;
  max-width: 850px;
  margin: 0 auto;
}

.about-headshot-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.about-headshot {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-foreground);
}

.awards-card {
  padding: 2rem;
  background-color: var(--color-background);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.awards-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.awards-header svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary);
}

.awards-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--font-family);
}

.awards-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.awards-list li {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-muted-foreground);
  padding-left: 1.5rem;
  position: relative;
}

.awards-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ===================================================================
   CONTACT SECTION
   =================================================================== */
.contact-section {
  background-color: hsl(220, 20%, 12%);
  padding: 6rem 0;
}

.contact-section .hero-title {
  color: white;
}

.contact-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
}

.social-link:hover {
  color: white;
  transform: translateY(-2px);
}

/* ===================================================================
   CONTACT FORM
   =================================================================== */
.contact-form {
  max-width: 36rem;
  margin: 0 auto 3rem;
  text-align: left;
}

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

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-family);
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(44, 172, 227, 0.1);
}

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

.form-error {
  display: block;
  margin-top: 0.5rem;
  color: #ef4444;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

.form-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md);
  color: #22c55e;
  font-size: 1rem;
}

/* WPForms styling to match theme */
.contact-form-shortcode .wpforms-form {
    max-width: 36rem;
    margin: 0 auto 3rem;
    text-align: left;
}
.contact-form-shortcode .wpforms-field-container {
    max-width: 36rem;
    margin: 0 auto;
}
.contact-form-shortcode .wpforms-field-label,
.contact-form-shortcode label {
    display: none !important;
}
.contact-form-shortcode .wpforms-field {
    margin-bottom: 1rem;
}
.contact-form-shortcode .wpforms-field-row {
    display: block;
    margin-bottom: 0;
}
.contact-form-shortcode .wpforms-field-row .wpforms-field {
    flex: none;
    width: 100% !important;
    max-width: 100% !important;
}
.contact-form-shortcode .wpforms-field-row .wpforms-one-half {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}
.contact-form-shortcode input[type="text"],
.contact-form-shortcode input[type="email"],
.contact-form-shortcode textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.875rem 1rem !important;
    font-size: 1rem !important;
    font-family: var(--font-family) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius-md) !important;
    transition: all var(--transition-base) !important;
}
.contact-form-shortcode input[type="text"]::placeholder,
.contact-form-shortcode input[type="email"]::placeholder,
.contact-form-shortcode textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}
.contact-form-shortcode input[type="text"]:focus,
.contact-form-shortcode input[type="email"]:focus,
.contact-form-shortcode textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(44, 172, 227, 0.1);
}
.contact-form-shortcode textarea {
    min-height: 150px;
    resize: vertical;
}
.contact-form-shortcode .wpforms-submit-container {
    text-align: left;
    margin-top: 1rem;
}
.contact-form-shortcode .wpforms-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #2cace3;
    color: white !important;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 100%;
}
.contact-form-shortcode .wpforms-submit:hover {
    filter: brightness(1.1);
    box-shadow: var(--shadow-md);
}
.contact-form-shortcode .wpforms-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}
.contact-form-shortcode .wpforms-confirmation-container-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
    color: #22c55e;
    font-size: 1rem;
}

/* WPForms - Show sublabels as placeholders if no placeholder exists */
.contact-form-shortcode .wpforms-field-sublabel {
    display: none !important;
}
.contact-form-shortcode .wpforms-field-label-inline {
    display: none !important;
}
/* Force field descriptions to appear inside inputs as placeholders */
.contact-form-shortcode input[type="text"]:not([placeholder]),
.contact-form-shortcode input[type="email"]:not([placeholder]),
.contact-form-shortcode textarea:not([placeholder]) {
    position: relative;
    /* Adjust padding to prevent overlap with placeholder text */
    padding-top: 1.5rem;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  padding: 2rem 0;
  text-align: center;
  background-color: hsl(220, 20%, 10%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===================================================================
   SCROLL REVEAL ANIMATIONS
   =================================================================== */
.reveal-section {
  opacity: 1;
}

.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation delays */
.reveal-item:nth-child(1).visible { transition-delay: 0ms; }
.reveal-item:nth-child(2).visible { transition-delay: 100ms; }
.reveal-item:nth-child(3).visible { transition-delay: 200ms; }
.reveal-item:nth-child(4).visible { transition-delay: 300ms; }
.reveal-item:nth-child(5).visible { transition-delay: 400ms; }
.reveal-item:nth-child(6).visible { transition-delay: 500ms; }

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 780px) {
  .hero {
    padding-top: 4rem;
  }
  
  .project-filter {
    top: 72px;
  }
  
  .about-content-full {
    padding: 3rem 2rem;
  }
  
  .contact-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .contact-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .nav-container {
    padding: 0.75rem 1rem;
  }
  
  .project-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===================================================================
   SINGLE PROJECT TEMPLATE
   =================================================================== */
.single-project {
  padding-top: 5rem;
}

.single-project-header {
  padding: 3rem 0 2rem;
}

.single-project-header .container {
  max-width: 900px;
}

.project-category-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-category-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  background: transparent;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

/* Force dark background on hover for project badges */
.project-category-badge,
.project-category-badge:hover,
.project-category-badge:focus {
  background: #2cace3 !important;
  color: #fff !important;
  border-color: #2cace3 !important;
  transition: none !important;
}

.project-single-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  text-transform: uppercase;
  font-family: var(--font-family);
}

.project-client {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
  margin: 0 0 1.5rem;
}

.project-single-excerpt {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-muted-foreground);
  max-width: 800px;
  margin: 0 0 1.5rem;
}

.project-tools-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 800px;
}

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

.project-featured-image .container {
  max-width: 1200px;
}

.project-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.project-single-content {
  padding: 2rem 0;
}

.project-single-content .container {
  max-width: 900px;
}

.project-single-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.project-single-content h2,
.project-single-content h3,
.project-single-content h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.project-tools {
  padding: 2rem 0 4rem;
}

.project-tools .container {
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tools-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.tools-list {
  color: var(--color-foreground);
  font-size: 1rem;
  font-weight: 400;
}

/* ===================================================================
   FONT OVERRIDE - FORCE SANS-SERIF EVERYWHERE
   =================================================================== */
body,
h1, h2, h3, h4, h5, h6,
p, a, span, div, li, td, th,
input, textarea, select, button,
.hero-title,
.section-title,
.project-title,
.project-single-title,
.project-client,
.project-single-excerpt,
.project-single-content,
.project-single-content p,
.project-single-content h2,
.project-single-content h3,
.project-single-content h4 {
  font-family: var(--font-family) !important;
}

/* ===================================================================
   WORDPRESS BLOCK BUTTON OVERRIDES
   =================================================================== */
.wp-block-button {
  margin-bottom: 1.5rem !important;
}

.wp-block-button__link,
.wp-block-button .wp-block-button__link {
  background: linear-gradient(90deg, #2cace3 0%, #3dcdfc 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  padding: 0.875rem 1.5rem !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-family: var(--font-family) !important;
  letter-spacing: 0.02em !important;
  transition: filter var(--transition-fast) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:hover {
  filter: brightness(1.1) !important;
  box-shadow: var(--shadow-md) !important;
}

/* Outline variant */
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  border: 1px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--color-primary) !important;
  color: white !important;
  filter: none !important;
}

/* ===================================================================
   WORDPRESS BLOCK GALLERY SPACING
   =================================================================== */
.wp-block-gallery {
  margin-bottom: 2rem !important;
}

@media (min-width: 900px) {
  .wp-block-gallery {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
  }
  .wp-block-gallery .blocks-gallery-item {
    margin: 0 !important;
    width: 100% !important;
  }
  .wp-block-gallery img {
    width: 100% !important;
    height: 350px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    background: white;
    box-shadow: none;
  }
}

@media (min-width: 600px) {
  .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {
    width: calc(100% - var(--wp--style--unstable-gallery-gap, 16px) * .66667) !important;
  }
}

/* ===================================================================
   WORK SECTION PADDING
   =================================================================== */
#work {
  padding-top: 100px;
}

/* Single project category badge - transparent, blue text/border */
.single .project-category-badge {
  background: transparent !important;
  color: #2cace3 !important;
  border: 2px solid #2cace3 !important;
}

.single .project-category-badge:hover {
  background: #eaf6fc !important;
  color: #2cace3 !important;
  border-color: #2cace3 !important;
}

#nav-toggle {
  display: none !important;
}

@media (max-width: 780px) {
  .nav-links {
    display: none !important;
  }
  .nav-toggle-label {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1001;
    background: none;
    border: none;
  }
  .nav-toggle-checkbox {
    display: none;
  }
  .nav-toggle-bar {
    width: 28px;
    height: 3px;
    background: #111;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
  }
  .nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 100vw;
    background: #f5f5f5;
    z-index: 999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 0;
  }
  .nav-toggle-checkbox:checked ~ .nav-mobile {
    display: flex !important;
  }
  .nav-mobile-link {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    margin: 0.5rem 0;
    width: 100%;
  }
  .btn-outline {
    width: 100%;
    justify-content: center;
    font-size: 1.25rem;
    margin-top: 2rem;
    padding: 1rem 0;
  }
  #nav-toggle {
    display: none !important;
  }
  .nav-toggle-label .nav-toggle-bar {
    transition: all 0.3s;
  }
  .nav-toggle-checkbox:checked + .nav-toggle-label .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .nav-toggle-checkbox:checked + .nav-toggle-label .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle-checkbox:checked + .nav-toggle-label .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* Previous/Next Post Navigation */
.post-navigation-container {
  padding: 0 1.5rem;
}

.tiled-gallery__gallery {
  margin-bottom: 25px;
}
