/* ======================================
   ELEVEN TWELVE LLC — Mid-Century Modern
   ====================================== */

/* --- Custom Properties --- */
:root {
  /* Retro palette */
  --cream: #F5F0E8;
  --cream-dark: #E8E0D0;
  --charcoal: #2C2C2C;
  --teal: #2A9D8F;
  --teal-dark: #1A5C53;
  --mustard: #E9B44C;
  --coral: #E07A5F;
  --olive: #6B8F71;
  --mint: #7ECFB3;
  --warm-white: #FDFAF5;
  --brown: #8B6B4A;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --section-pad: 6rem 2rem;
  --container: 1100px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 2rem;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.8rem 2rem;
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.logo-eleven {
  color: var(--teal);
}

.logo-twelve {
  color: var(--coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s ease;
}

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

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

.nav-cta {
  background: var(--teal) !important;
  color: var(--cream) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  transition: background 0.3s, transform 0.2s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav close button */
.nav-close {
  display: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  animation: rotate-slow 60s linear infinite;
  transition: transform 0.3s ease;
}

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

.nav-close svg {
  width: 100%;
  height: 100%;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(42, 157, 143, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(233, 180, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(224, 122, 95, 0.05) 0%, transparent 70%),
    var(--cream);
  overflow: hidden;
  text-align: center;
  padding: 8rem 2rem 6rem;
}

/* Hero decorations */
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.starburst-1 {
  position: absolute;
  width: 180px;
  top: 8%;
  right: 10%;
  animation: rotate-slow 60s linear infinite;
}

.starburst-2 {
  position: absolute;
  width: 130px;
  bottom: 20%;
  left: 6%;
  animation: rotate-slow 80s linear infinite reverse;
}

.starburst-3 {
  position: absolute;
  width: 80px;
  top: 30%;
  left: 15%;
  animation: rotate-slow 50s linear infinite;
}

.boomerang-1 {
  position: absolute;
  width: 180px;
  top: 14%;
  left: 4%;
  transform: rotate(-20deg);
  animation: float 8s ease-in-out infinite;
}

.boomerang-2 {
  position: absolute;
  width: 140px;
  bottom: 12%;
  right: 8%;
  transform: rotate(160deg);
  animation: float 10s ease-in-out infinite reverse;
}

.retro-computer {
  position: absolute;
  width: 200px;
  bottom: 8%;
  right: 22%;
  opacity: 0.2;
  animation: float 12s ease-in-out infinite;
}

.diamond-1 {
  position: absolute;
  width: 35px;
  top: 50%;
  right: 20%;
  animation: float 6s ease-in-out infinite;
}

.diamond-2 {
  position: absolute;
  width: 25px;
  top: 25%;
  left: 28%;
  animation: float 7s ease-in-out infinite reverse;
}

/* Cursor blink */
@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.cursor-blink {
  animation: blink 1s step-end infinite;
}

/* Power light pulse */
@keyframes pulse-light {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.power-light {
  animation: pulse-light 2s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.2rem;
}

.title-eleven {
  color: var(--teal);
}

.title-twelve {
  color: var(--coral);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--brown);
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 157, 143, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Section divider */
.section-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.section-starburst {
  width: 40px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--charcoal);
}

/* --- About --- */
.about {
  padding: var(--section-pad);
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.about-card {
  background: var(--warm-white);
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  /* Scroll animation initial state */
  opacity: 0;
  transform: translateY(30px);
}

.about-card.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.2rem;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--charcoal);
}

.about-card p {
  color: #555;
  line-height: 1.8;
}

/* --- Services --- */
.services {
  padding: var(--section-pad);
  background: var(--charcoal);
  color: var(--cream);
  position: relative;
}

.services .section-header h2 {
  color: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, background 0.4s ease;
  /* Scroll animation */
  opacity: 0;
  transform: translateY(30px);
}

.service-card.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.service-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--mustard);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--cream);
}

.service-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--mustard), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover .service-accent {
  transform: scaleX(1);
}

/* Individual card animation delays */
.service-card:nth-child(1) {
  transition-delay: 0s;
}

.service-card:nth-child(2) {
  transition-delay: 0.1s;
}

.service-card:nth-child(3) {
  transition-delay: 0.2s;
}

.service-card:nth-child(4) {
  transition-delay: 0.3s;
}

/* --- Team --- */
.team {
  padding: var(--section-pad);
  background: var(--cream);
  position: relative;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background: var(--warm-white);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  /* Scroll animation */
  opacity: 0;
  transform: translateY(30px);
}

.team-card.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.team-icon {
  width: 120px;
  height: 80px;
  margin: 0 auto 1.2rem;
}

.team-icon svg {
  width: 100%;
  height: 100%;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.team-card p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  border: 1.5px solid var(--teal);
  color: var(--teal);
}

/* --- Contact --- */
.contact {
  padding: var(--section-pad);
  background:
    radial-gradient(ellipse at 80% 80%, rgba(233, 180, 76, 0.08) 0%, transparent 50%),
    var(--warm-white);
}

.contact-intro {
  text-align: center;
  max-width: 550px;
  margin: -1.5rem auto 3rem;
  color: #666;
  font-size: 1.05rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-grid-centered {
  grid-template-columns: 1fr;
  max-width: 500px;
  margin: 0 auto;
}

/* Form styles */
.contact-form {
  background: var(--cream);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  /* Scroll animation */
  opacity: 0;
  transform: translateY(30px);
}

.contact-form.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--warm-white);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

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

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  /* Scroll animation */
  opacity: 0;
  transform: translateY(30px);
}

.contact-info.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.15s;
}

.info-block h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.info-block p {
  color: #555;
  line-height: 1.8;
}

.info-block a {
  color: var(--teal);
  transition: color 0.3s;
}

.info-block a:hover {
  color: var(--teal-dark);
}

.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1rem;
  font-size: 0.95rem;
  color: #555;
}

/* --- Footer --- */
.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.footer-boomerang {
  position: absolute;
  width: 200px;
  bottom: -20px;
  left: 5%;
}

.footer-starburst {
  position: absolute;
  width: 60px;
  top: 20px;
  right: 10%;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  margin-top: 0.3rem;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--mustard);
}

.footer-bottom {
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.5;
}

/* --- Animations --- */
@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-close {
    display: block;
  }

  .hero {
    padding: 7rem 1.5rem 5rem;
    min-height: 90vh;
  }

  .starburst-1 {
    width: 120px;
    top: 6%;
    right: 5%;
  }

  .starburst-2 {
    width: 90px;
    bottom: 15%;
    left: 3%;
  }

  .starburst-3 {
    width: 60px;
  }

  .boomerang-1 {
    width: 120px;
  }

  .boomerang-2 {
    width: 100px;
  }

  .retro-computer {
    width: 140px;
    right: 5%;
    opacity: 0.12;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 4rem 1rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}