/* ============================================
   THEAFOX - Main Stylesheet
   ============================================ */

:root {
  --bg-dark: #222426;
  --bg-darker: #171a1c;
  --bg-card: #272a2c;
  --bg-card-hover: #2f3336;
  --orange: #e87010;
  --orange-hover: #cc5f00;
  --white: #ffffff;
  --gray: #5a6a75;
  --gray-light: #eaeaea;
  --border: #3b4752;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: #222426;
  color: var(--white);
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ============================================
   HEADER
   ============================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #1a1c1e;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: var(--white);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--white);
  white-space: nowrap;
}

.flag { font-size: 1.4rem; line-height: 1; }

#nav {
  display: flex;
  justify-content: center;
  padding-bottom: 12px;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}

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

.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: static;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('THEAFOX/Images/Hero_THEAFOX.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
    background: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: left;
}

.hero-tags {
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  font-weight: 500;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--orange);
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  line-height: 1.8;
}

/* ============================================
   SECTIONS
   ============================================ */
.section-dark { background-color: #222426; }
.section-darker { background-color: #171a1c; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 40px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--white);
}
.section-title.orange { color: var(--orange); }

.section-sub {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  max-width: 780px;
  margin-bottom: 50px;
  line-height: 1.7;
}

/* ============================================
   PROJECT CARDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  background-color: var(--bg-card-hover);
}

.card-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.card-body { padding: 20px; }

.card-client {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.card-project {
  font-size: 0.9rem;
  color: var(--orange);
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
}

/* ============================================
   CLIENTS
   ============================================ */
.clients-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}





/* ============================================
   WHY THEAFOX
   ============================================ */
.why-headline {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  margin-bottom: 20px;
  line-height: 1.5;
}

.why-text {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  max-width: 680px;
  margin-bottom: 50px;
  line-height: 1.85;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box {
  background-color: rgba(100, 108, 117, 0.1);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 30px 24px;
  transition: border-color 0.25s, background-color 0.25s;
}

.feature-box:hover {
  border-color: var(--orange);
  background-color: rgba(255, 128, 29, 0.05);
}

.feature-icon {
  margin-bottom: 18px;
}

.feature-icon .material-symbols-outlined {
  font-size: 2.4rem;
  color: var(--orange);
  display: block;
}

.feature-box h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  margin-bottom: 12px;
}

.feature-box p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
}

/* ============================================
   PROCESS
   ============================================ */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
    transition: transform 0.25s ease, background-color 0.25s ease;
}
.process-step:hover { transform: translateY(-4px); background-color: var(--bg-card-hover); transition: transform 0.25s ease, background-color 0.25s ease; }

.process-step:last-child { border-bottom: none; }

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange);
  min-width: 70px;
  line-height: 1;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  max-width: 700px;
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background-color: var(--bg-card);
  border-radius: 4px;
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.25s ease;
}

.team-card:hover { transform: translateY(-4px); background-color: var(--bg-card-hover); }

.team-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.6);
  background: linear-gradient(135deg, #3b4752, #222426);
  border: 2px solid var(--border);
}

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.team-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  font-size: 1.7rem;
  color: var(--orange);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.contact-item a,
.contact-text span {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  transition: color 0.2s;
}

.contact-item a:hover { color: var(--orange); }

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.72);
}

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

.btn-submit {
  background-color: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 3px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.2s, transform 0.15s;
}

.btn-submit:hover {
  background-color: var(--orange-hover);
  transform: translateY(-1px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background-color: #0f1012;
  text-align: center;
  padding: 24px 40px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  border-top: 1px solid var(--border);
}

footer a:hover { color: var(--orange); }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Mobile */
@media (max-width: 768px) {
  .header-top { padding: 14px 20px; }
  .hamburger { display: flex; }
  .phone { display: none; }
  #nav { padding: 0 20px 0; justify-content: flex-end; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    background-color: #1a1c1e;
    padding: 10px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.85rem;
  }
  .hero-content { padding: 40px 20px; }
  .hero h1 { font-size: 1.6rem; }
  .container { padding: 50px 20px; }
  .cards-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-step { flex-direction: column; gap: 8px; }
  .step-number { font-size: 1.4rem; }
  .clients-row { gap: 12px; }
  
  .btn-submit { align-self: stretch; text-align: center; }
}

/* Client logo images */




/* Team photos */
.team-photo-img { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden; border: 2px solid var(--border); }
.team-photo-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .header-top { padding: 12px 20px; }
  .phone { font-size: 0.82rem; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.75rem; }
}
@media (max-width: 600px) {
  .phone { display: none; }
}

/* ---- CLIENT LOGOS ---- */
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
}
.client-logo img {
  max-height: 50px;
  width: auto;
  filter: none;
  opacity: 1;
  transition: transform 0.25s ease;
}
.client-logo:hover img {
  transform: scale(1.15);
}
/* Header phone icon */
.header-icon {
  font-size: 1rem;
  vertical-align: middle;
  margin-right: 4px;
  color: var(--orange);
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
  margin-left: 4px;
}
.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  padding: 3px 5px 3px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang-dropdown-btn:hover,
.lang-dropdown-btn[aria-expanded="true"] {
  border-color: var(--orange);
  color: var(--orange);
}
.lang-arrow {
  font-size: 1rem !important;
  transition: transform 0.2s;
  vertical-align: middle;
  color: inherit;
}
.lang-dropdown-btn[aria-expanded="true"] .lang-arrow {
  transform: rotate(180deg);
}
.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #111;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  min-width: 100%;
  z-index: 999;
  overflow: hidden;
}
.lang-dropdown-btn[aria-expanded="true"] + .lang-dropdown-menu {
  display: block;
}
.lang-option {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  text-decoration: none;
  padding: 5px 10px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.lang-option:hover {
  color: var(--orange);
  background: rgba(255,255,255,0.05);
}


/* ============================================
   PROJECT DETAIL PAGE
   ============================================ */

.page-hero {
  background-color: var(--bg-darker);
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--border);
}

.page-hero .breadcrumb {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-hero .breadcrumb a {
  color: var(--orange);
  transition: opacity 0.2s;
}

.page-hero .breadcrumb a:hover { opacity: 0.7; }

.project-block {
  padding: 80px 0;
  background-color: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.project-block:nth-child(even) {
  background-color: var(--bg-darker);
}

.project-block:last-child { border-bottom: none; }

.project-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.project-split.reversed .proj-img { order: 2; }
.project-split.reversed .proj-text { order: 1; }

.proj-img {
  position: sticky;
  top: 100px;
}

.proj-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.proj-client {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.proj-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 36px;
  line-height: 1.25;
}

.proj-section-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 28px;
}

.proj-body .proj-section-label:first-child { margin-top: 0; }

.proj-body p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 10px;
}

.proj-body ul {
  padding-left: 18px;
  margin-bottom: 10px;
}

.proj-body ul li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 4px;
  list-style: disc;
}

.proj-body ul li::marker { color: var(--orange); }

/* Card "View Project" link */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  margin-top: 14px;
  transition: gap 0.2s;
}

.card-link:hover { gap: 9px; }

/* Responsive – project detail */
@media (max-width: 900px) {
  .project-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .project-split.reversed .proj-img,
  .project-split.reversed .proj-text {
    order: unset;
  }
  .proj-img { position: static; }
  .project-block { padding: 52px 0; }
}
