/* ============================================
   SOULVD - APPYCAMPER STYLE REBUILD
   Exact replica of appycamper.com aesthetic
   ============================================ */

/* ===== BASE ===== */
.appy-container {
  background: #0a0a0a;
  color: #fff;
  font-family: 'Inter', -apple-system, sans-serif;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.appy-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  mix-blend-mode: difference;
}

.appy-logo {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.appy-logo-img {
  height: 40px;
  width: auto;
}

.appy-nav-link {
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  position: relative;
}

.appy-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
}

/* ===== HERO SECTION ===== */
.appy-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 120px 48px;
}

.appy-hero-text {
  font-size: clamp(48px, 12vw, 140px);
  font-weight: 500;
  line-height: 0.95;
  text-align: center;
  letter-spacing: -0.02em;
}

.appy-hero-small {
  font-size: clamp(16px, 2vw, 24px);
  margin-bottom: 20px;
  opacity: 0.8;
}

.appy-hero-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.appy-hero-line {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.appy-star {
  font-size: 0.5em;
  vertical-align: super;
}

.appy-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.6em;
}

/* Hero floating images */
.appy-hero-image {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.appy-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.appy-hero-image-1 {
  width: 180px;
  height: 220px;
  top: 15%;
  left: 8%;
}

.appy-hero-image-2 {
  width: 200px;
  height: 180px;
  top: 10%;
  right: 10%;
}

.appy-hero-image-3 {
  width: 160px;
  height: 200px;
  bottom: 20%;
  left: 12%;
}

.appy-hero-image-4 {
  width: 180px;
  height: 240px;
  bottom: 15%;
  right: 8%;
}

.appy-hero-image-5 {
  width: 140px;
  height: 160px;
  top: 40%;
  right: 5%;
}

/* Description text */
.appy-hero-desc {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 280px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.7;
}

/* ===== SECTION NUMBERS ===== */
.appy-section-num {
  position: absolute;
  right: 48px;
  top: 48px;
  font-size: 14px;
  opacity: 0.5;
  letter-spacing: 0.1em;
}

/* ===== SCROLL SECTIONS ===== */
.appy-section {
  min-height: 100vh;
  padding: 120px 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.appy-section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.5;
  margin-bottom: 48px;
}

.appy-section-header {
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.3;
  max-width: 800px;
}

/* ===== TEXT MARQUEE ===== */
.appy-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 60px 0;
}

.appy-marquee-inner {
  display: inline-flex;
  animation: marquee 20s linear infinite;
}

.appy-marquee-text {
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 500;
  padding-right: 100px;
  opacity: 0.9;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== FEATURED PROJECTS ===== */
.appy-projects {
  padding: 120px 48px;
}

.appy-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
  position: relative;
}

.appy-project:nth-child(even) {
  direction: rtl;
}

.appy-project:nth-child(even) > * {
  direction: ltr;
}

.appy-project-info {
  padding: 40px 0;
}

.appy-project-name {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
  margin-bottom: 16px;
}

.appy-project-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 24px;
}

.appy-project-meta {
  font-size: 13px;
  opacity: 0.5;
  margin-top: 48px;
}

.appy-project-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.appy-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== SERVICES GRID ===== */
.appy-services {
  padding: 120px 48px;
}

.appy-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
}

.appy-service {
  background: #0a0a0a;
  padding: 60px 48px;
  position: relative;
}

.appy-service-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
  margin-bottom: 24px;
}

.appy-service-heading {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  margin-bottom: 16px;
}

.appy-service-desc {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.7;
}

.appy-service-image {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.8;
}

/* ===== IMPACT SECTION ===== */
.appy-impact {
  padding: 120px 48px;
}

.appy-impact-header {
  font-size: clamp(48px, 10vw, 100px);
  font-weight: 500;
  text-align: center;
  margin-bottom: 80px;
}

.appy-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.appy-impact-item {
  text-align: center;
}

.appy-impact-number {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 500;
  margin-bottom: 8px;
}

.appy-impact-label {
  font-size: 14px;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.appy-impact-desc {
  font-size: 13px;
  opacity: 0.5;
  margin-top: 16px;
  line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.appy-testimonials {
  padding: 120px 48px;
  overflow: hidden;
}

.appy-testimonial-track {
  display: flex;
  gap: 48px;
  animation: testimonial-scroll 30s linear infinite;
}

@keyframes testimonial-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.appy-testimonial {
  flex-shrink: 0;
  width: 400px;
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
}

.appy-testimonial-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.appy-testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.appy-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}

.appy-testimonial-name {
  font-size: 14px;
  font-weight: 500;
}

.appy-testimonial-role {
  font-size: 13px;
  opacity: 0.5;
}

/* ===== ABOUT SECTION ===== */
.appy-about {
  padding: 120px 48px;
  text-align: center;
}

.appy-about-marquee {
  font-size: clamp(48px, 12vw, 120px);
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 80px;
}

.appy-about-text {
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.8;
}

/* Team grid */
.appy-team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 800px;
  margin: 80px auto;
}

.appy-team-member {
  text-align: center;
}

.appy-team-photo {
  width: 200px;
  height: 250px;
  margin: 0 auto 24px;
  border-radius: 8px;
  overflow: hidden;
  filter: grayscale(100%);
}

.appy-team-name {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.appy-team-role {
  font-size: 14px;
  opacity: 0.6;
}

/* ===== CONTACT SECTION ===== */
.appy-contact {
  padding: 120px 48px;
  min-height: 80vh;
}

.appy-contact-header {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 500;
  margin-bottom: 60px;
}

.appy-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

.appy-contact-info {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.8;
}

.appy-contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.appy-form-field {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 16px;
}

.appy-form-field input,
.appy-form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  outline: none;
  font-family: inherit;
}

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

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

.appy-form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding: 0;
}

.appy-form-submit::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
}

/* ===== FOOTER ===== */
.appy-footer {
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.appy-footer-logo {
  font-size: 24px;
  font-weight: 600;
}

.appy-footer-copy {
  font-size: 14px;
  opacity: 0.5;
}

/* ===== FLOATING ELEMENTS ANIMATION ===== */
.appy-float {
  animation: float 6s ease-in-out infinite;
}

.appy-float-delay-1 { animation-delay: 1s; }
.appy-float-delay-2 { animation-delay: 2s; }
.appy-float-delay-3 { animation-delay: 3s; }

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

/* ===== SCROLL REVEAL ===== */
.appy-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.appy-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .appy-project {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .appy-project:nth-child(even) {
    direction: ltr;
  }
  
  .appy-impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .appy-contact-grid {
    grid-template-columns: 1fr;
  }
  
  .appy-hero-image {
    display: none;
  }
  
  .appy-hero-desc {
    position: static;
    transform: none;
    margin-top: 40px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .appy-nav,
  .appy-section,
  .appy-projects,
  .appy-services,
  .appy-impact,
  .appy-testimonials,
  .appy-about,
  .appy-contact {
    padding-left: 24px;
    padding-right: 24px;
  }
  
  .appy-services-grid {
    grid-template-columns: 1fr;
  }
  
  .appy-impact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .appy-team {
    grid-template-columns: 1fr;
  }
}

/* Image fallbacks */
.appy-hero-image,
.appy-project-image,
.appy-team-photo {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  position: relative;
}

.appy-hero-image::before,
.appy-project-image::before,
.appy-team-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,170,0.1) 0%, rgba(0,180,216,0.1) 100%);
  z-index: 1;
}

.appy-hero-image img,
.appy-project-image img,
.appy-team-photo img {
  position: relative;
  z-index: 2;
}

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

/* CEO Photo - Full Color */
.appy-team-photo img[src*='ceo-abdull'] {
    filter: none !important;
    border-radius: 8px;
}

/* Logo in nav */
.appy-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.appy-footer-logo img {
    height: 32px;
    width: auto;
    display: block;
}

/* Remove grayscale from team photos with actual images */
.appy-team-photo {
    filter: none;
}

/* Mobile Responsive Logo */
@media (max-width: 768px) {
    .logo-nav {
        height: 60px !important;
    }
    .logo-footer {
        height: 48px !important;
    }
}

/* Centered Team Section */
.appy-team {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
}

.appy-team-member {
    text-align: center;
    max-width: 400px;
}

.appy-team-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 3/4;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.appy-team-photo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Footer Layout Improvements */
@media (max-width: 768px) {
    footer {
        text-align: center;
    }
    
    footer .space-y-3 > div {
        justify-content: center;
    }
    
    footer img {
        margin: 0 auto;
    }
}

/* CEO Photo - 9:16 aspect ratio, no extra frame */
.appy-team-photo {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 9/16;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    padding: 0;
    background: none;
}

.appy-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Mobile Logo - 20% smaller */
@media (max-width: 768px) {
    .logo-nav {
        height: 48px !important;
    }
    .logo-footer {
        height: 38px !important;
    }
}

/* CEO Photo - 20% smaller (was 300px, now 240px) */
.appy-team-photo {
    max-width: 240px !important;
}

/* Simplified Footer Styles */
.simple-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    background: #0a0a0a;
}

.simple-footer-content {
    max-width: 7xl;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.simple-footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.simple-footer-contact a,
.simple-footer-contact span {
    color: #a1a1aa;
    font-size: 0.875rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.simple-footer-contact a:hover {
    color: #34d399;
}

.simple-footer-copy {
    color: #71717a;
    font-size: 0.75rem;
}

@media (max-width: 640px) {
    .simple-footer-contact {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* CEO Photo - 20% smaller overall (from 240px to 192px) */
.appy-team-photo {
    max-width: 192px !important;
}

/* AppyCamper-style Footer - Minimal */
.appy-footer-minimal {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    background: #0a0a0a;
}

.appy-footer-minimal-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.appy-footer-minimal-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.appy-footer-minimal-copy {
    font-size: 0.875rem;
    color: #71717a;
}

@media (max-width: 640px) {
    .appy-footer-minimal-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Horizontal Text Marquee */
.appy-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 2rem 0;
}

.appy-marquee-content {
    display: inline-block;
    animation: marquee-scroll 20s linear infinite;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section Number (1—5 style) */
.appy-section-number {
    position: absolute;
    right: 2rem;
    top: 2rem;
    font-size: 0.875rem;
    color: #71717a;
    font-weight: 500;
}

/* Horizontal Scrolling Testimonials */
.appy-testimonials-scroll {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2rem 0;
    -webkit-overflow-scrolling: touch;
}

.appy-testimonials-scroll::-webkit-scrollbar {
    display: none;
}

.appy-testimonial-card {
    flex: 0 0 400px;
    scroll-snap-align: start;
}

/* Parallax Hero Images */
.appy-hero-image {
    position: absolute;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Stats Counter Animation */
.appy-stat-number {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 700;
    color: white;
    line-height: 1;
}

.appy-stat-label {
    font-size: 1rem;
    color: #71717a;
    text-transform: lowercase;
}

/* Smooth Scroll Reveal */
.appy-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Project Card Hover */
.appy-project-card {
    transition: transform 0.4s ease;
}

.appy-project-card:hover {
    transform: scale(1.02);
}

/* CEO Photo - Centered and Full Display */
.appy-team {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.appy-team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.appy-team-photo {
    width: 192px;
    height: 341px; /* 9:16 ratio */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
}

.appy-team-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
