/* =============================================
   REEL TWISTED - Main Stylesheet
   Clean, bold, professional with neon accents
   ============================================= */

:root {
  --white: #ffffff;
  --off-white: #f8f8f8;
  --black: #0a0a0a;
  --dark-gray: #1a1a1a;
  --gray: #666666;
  --light-gray: #e0e0e0;
  --neon-green: #c8ff00;
  --neon-yellow: #fff700;
  --accent: var(--neon-green);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 10vw, 8rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 65ch;
}

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(235, 235, 232, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-gray);
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
}

.nav-logo span {
  color: var(--accent);
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25), 0 0 20px rgba(200, 255, 0, 0.2);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

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

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--black);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  max-width: 600px;
}

.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(200, 255, 0, 0.3)) drop-shadow(0 0 60px rgba(200, 255, 0, 0.15));
  animation: twistedFloat 8s ease-in-out infinite;
}

.logo-placeholder-text {
  margin-top: 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray);
  padding: 0.5rem 1rem;
  border: 1px dashed var(--light-gray);
  text-align: center;
}

/* Logo Carousel */
.logo-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
}

.logo-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.logo-option {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.logo-option.active {
  opacity: 1;
  visibility: visible;
}

.logo-arrow {
  background: var(--black);
  border: 2px solid var(--black);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.logo-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}

.logo-nav {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.logo-num {
  width: 36px;
  height: 36px;
  border: 2px solid var(--light-gray);
  background: transparent;
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo-num:hover {
  border-color: var(--black);
}

.logo-num.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}

@media (max-width: 968px) {
  .logo-carousel {
    max-width: 350px;
    margin: 0 auto;
  }
  
  .logo-arrow {
    width: 40px;
    height: 40px;
  }
  
  .logo-num {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
}

@keyframes twistedFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-8px) rotate(-2deg) scale(1.02);
  }
  50% {
    transform: translateY(-4px) rotate(2deg) scale(0.98);
  }
  75% {
    transform: translateY(-10px) rotate(-1deg) scale(1.01);
  }
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-logo {
    order: -1;
  }
  
  .logo-svg {
    max-width: 280px;
  }
}

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-tagline::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  margin-bottom: 2rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
}

.hero h1 .highlight {
  color: var(--accent);
  display: inline-block;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25), 0 0 30px rgba(200, 255, 0, 0.2);
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 550px;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid var(--black);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* Sections */
.section {
  padding: 6rem 3rem;
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-dark p {
  color: var(--light-gray);
}

.section-accent {
  background: var(--accent);
  color: var(--black);
}

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

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-bottom: 1rem;
}

.section-dark .section-label {
  color: var(--accent);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.team-member {
  position: relative;
}

.team-image {
  width: 75%;
  aspect-ratio: 3/4;
  background: var(--light-gray);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) sepia(100%) saturate(300%) hue-rotate(30deg) brightness(0.9);
  transition: filter 0.3s ease;
}

.team-member:hover .team-image img {
  filter: grayscale(0%) sepia(0%) saturate(100%) hue-rotate(0deg) brightness(1);
}

.team-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.team-role {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 1rem;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  justify-items: center;
}

/* Phone Frame Styles */
.phone-frame {
  background: #0a0a0a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(200, 255, 0, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  max-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-frame:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 35px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(200, 255, 0, 0.2),
    0 0 30px rgba(200, 255, 0, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-notch {
  width: 100px;
  height: 25px;
  background: #0a0a0a;
  border-radius: 0 0 15px 15px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-notch::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 50%;
  border: 1px solid #333;
}

.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/16;
  background: #1a1a1a;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 30%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1rem;
}

.phone-overlay .portfolio-laurels {
  position: static;
  justify-content: flex-end;
}

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

.phone-info .portfolio-title {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.phone-info .portfolio-category {
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.phone-bar {
  width: 100px;
  height: 4px;
  background: #333;
  border-radius: 2px;
  margin: 10px auto 5px;
}

@media (max-width: 968px) {
  .phone-frame {
    max-width: 240px;
  }
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-image {
  aspect-ratio: 9/16;
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.portfolio-title {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.portfolio-category {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.portfolio-laurels {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.laurel {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  padding: 0.25rem;
}

/* Press/Features Section */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.press-item {
  padding: 2rem;
  border: 1px solid var(--light-gray);
  transition: all 0.3s ease;
}

.press-item:hover {
  border-color: var(--accent);
  background: var(--off-white);
}

.press-source {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.press-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  margin-bottom: 2rem;
}

.contact-details {
  margin-top: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  font-size: 1rem;
  border: 2px solid var(--light-gray);
  background: var(--white);
  font-family: inherit;
  transition: border-color 0.3s ease;
}

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

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

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 3rem 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-logo span {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--black);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--dark-gray);
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
}

/* Page Header */
.page-header {
  padding: 10rem 3rem 4rem;
  background: var(--off-white);
}

.page-header h1 {
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 968px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
  }

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

  .nav-links a {
    font-size: 1.5rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .page-header {
    padding: 8rem 1.5rem 3rem;
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

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

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

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}
