/* ===== AMCO COLOR PALETTE ===== */
:root {
  /* AMCO Brand Colors - Inspired by logo palette */
  --primary: #2C3E50;           /* Deep blue-gray */
  --primary-light: #34495E;     /* Lighter blue-gray */
  --accent: #E74C3C;             /* Warm red accent */
  --accent-light: #F39C12;      /* Golden yellow */
  --secondary: #95A5A6;          /* Soft gray */
  --secondary-light: #BDC3C7;   /* Light gray */
  
  /* Neutral Palette */
  --bg: #FAFBFC;                 /* Very light background */
  --bg-alt: #F8F9FA;            /* Alternative background */
  --text: #2C3E50;              /* Primary text */
  --text-light: #7F8C8D;        /* Secondary text */
  --text-muted: #BDC3C7;        /* Muted text */
  --white: #FFFFFF;
  --black: #1A1A1A;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  --gradient-soft: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Layout */
  --container-max: 1200px;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.08);
  --shadow-md: 0 4px 16px rgba(44, 62, 80, 0.12);
  --shadow-lg: 0 8px 32px rgba(44, 62, 80, 0.16);
  --shadow-xl: 0 16px 64px rgba(44, 62, 80, 0.20);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
  margin-bottom: var(--space-sm);
  color: var(--text-light);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent);
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-title {
  margin-bottom: var(--space-md);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(250, 251, 252, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(44, 62, 80, 0.08);
  transition: all var(--transition-base);
}

.nav.scrolled {
  background-color: rgba(250, 251, 252, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  transition: color var(--transition-fast);
}

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

.nav-menu {
  display: flex;
  gap: var(--space-xl);
}

.nav-link {
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition-fast);
  position: relative;
  padding: var(--space-xs) 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-base);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle-line {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  transition: all var(--transition-base);
  border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-soft);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s ease-in-out infinite;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  background: var(--gradient-accent);
  bottom: 20%;
  left: 15%;
  animation-delay: -7s;
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  background: var(--gradient-primary);
  top: 50%;
  left: 50%;
  animation-delay: -14s;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  margin-bottom: var(--space-lg);
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
}

.hero-line-1 {
  display: block;
  color: var(--text);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-line-2 {
  display: block;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border: 2px solid var(--primary);
  border-radius: var(--border-radius);
  color: var(--primary);
  font-weight: 500;
  transition: all var(--transition-base);
  animation: fadeInUp 1s ease-out 0.8s both;
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left var(--transition-base);
  z-index: -1;
}

.hero-cta:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-cta:hover::before {
  left: 0;
}

.cta-arrow {
  transition: transform var(--transition-base);
}

.hero-cta:hover .cta-arrow {
  transform: translateX(4px);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: fadeInUp 1s ease-out 1s both;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
}

.scroll-line {
  width: 2px;
  height: 30px;
  background: var(--gradient-primary);
  border-radius: 1px;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: var(--space-3xl) 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-text {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
  font-family: var(--font-display);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image {
  width: 400px;
  height: 400px;
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-soft);
  border-radius: var(--border-radius-xl);
  position: relative;
  overflow: hidden;
}

.art-element {
  position: absolute;
  border-radius: 50%;
  animation: float 15s ease-in-out infinite;
}

.art-element-1 {
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  top: 20%;
  left: 20%;
  animation-delay: 0s;
  opacity: 0.8;
}

.art-element-2 {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  top: 60%;
  right: 20%;
  animation-delay: -5s;
  opacity: 0.6;
}

.art-element-3 {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  bottom: 20%;
  left: 50%;
  animation-delay: -10s;
  opacity: 0.7;
}

/* ===== WORK SECTION ===== */
.work {
  padding: var(--space-3xl) 0;
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.work-item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base);
}

.work-item:hover {
  transform: translateY(-8px);
}

.work-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.work-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.work-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.work-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.work-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.work-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.work-6 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 62, 80, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  color: var(--white);
  text-align: center;
  padding: var(--space-lg);
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  font-family: var(--font-display);
}

.work-category {
  font-size: 0.875rem;
  color: var(--secondary-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: var(--space-3xl) 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.contact-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
  animation: float 25s ease-in-out infinite;
}

.contact-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--gradient-primary);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.contact-shape-2 {
  width: 300px;
  height: 300px;
  background: var(--gradient-accent);
  bottom: -150px;
  left: -150px;
  animation-delay: -12s;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  position: relative;
  z-index: 2;
}

.contact-text {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: var(--space-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.contact-value {
  font-size: 1.125rem;
  color: var(--primary);
  font-weight: 500;
}

/* ===== FORM STYLES ===== */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

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

.form-input {
  padding: var(--space-md);
  border: 2px solid var(--secondary-light);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: all var(--transition-base);
  background-color: var(--white);
  color: var(--text);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

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

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.submit-arrow {
  transition: transform var(--transition-base);
}

.form-submit:hover .submit-arrow {
  transform: translateX(4px);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--primary);
  color: var(--white);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.footer-tagline {
  color: var(--secondary-light);
  font-size: 0.875rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-link {
  color: var(--secondary-light);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
}

.footer-copyright {
  color: var(--secondary-light);
  font-size: 0.875rem;
  margin: 0;
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(1deg);
  }
  66% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

@keyframes scrollPulse {
  0%, 100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--secondary-light);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .work-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .hero-cta {
    width: 100%;
    justify-content: center;
  }
  
  .form-submit {
    width: 100%;
  }
  
  .about-image {
    width: 300px;
    height: 300px;
  }
}

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

/* Focus styles for keyboard navigation */
.hero-cta:focus,
.form-input:focus,
.form-submit:focus,
.nav-link:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary: #000000;
    --accent: #FF0000;
    --text: #000000;
    --text-light: #333333;
  }
}