/* style.css */
:root {
  --primary-color: #b87352;
  --secondary-color: #91563b;
  --accent-color: #e3a68b;
  --text-dark: #212121;
  --text-light: #ffffff;
  --bg-color: #f4f4f4;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}



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

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h2 {
  font-weight: 300 !important;
  color: var(--primary-color) !important;
  text-transform: none !important;
  font-size: 2.6rem !important;
  letter-spacing: normal !important;
}

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

img {
  max-width: 100%;
  height: auto;
  border-radius: 0 !important;
}

ul {
  list-style: none;
}

/* Header & Glassmorphism Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 5%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  background: transparent;
}

header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 5%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 100px;
  width: auto;
  max-height: 110px;
  transition: all 0.3s ease;
}

.logo .logo-white {
  display: block;
}

.logo .logo-dark {
  display: none;
}

header.scrolled .logo img {
  height: 80px;
}

header.scrolled .logo .logo-white {
  display: none;
}

header.scrolled .logo .logo-dark {
  display: block;
}

.footer-col img {
  height: 80px !important;
  width: auto;
}

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

.nav-links li a {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

header.scrolled .nav-links li a {
  color: var(--text-dark);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

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

/* Navigation Dropdown */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown>a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-icon {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .nav-dropdown-icon {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 275px;
  background: rgba(26, 22, 20, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1000;
  border-radius: 4px;
}

header.scrolled .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.nav-dropdown-menu li {
  width: 100%;
}

.nav-dropdown-menu li a {
  display: block !important;
  padding: 10px 22px !important;
  color: #fff !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  transition: var(--transition);
  text-align: left;
}

header.scrolled .nav-dropdown-menu li a {
  color: #333 !important;
}

.nav-dropdown-menu li a:hover,
.nav-dropdown-menu li a.active {
  background: rgba(184, 115, 82, 0.12);
  color: var(--primary-color) !important;
  padding-left: 26px !important;
}

.nav-dropdown-menu li a::after {
  display: none !important;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.activity-section {
  scroll-margin-top: 100px;
}

/* Language Switcher Button */
.lang-switcher {
  margin-left: 20px;
  display: flex;
  align-items: center;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: #ffffff;
  color: #111111 !important;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.lang-btn:hover {
  background: #111111;
  color: #ffffff !important;
  border-color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.lang-btn i {
  font-size: 0.95rem;
  color: #111111;
  transition: color 0.3s ease;
}

.lang-btn:hover i {
  color: #ffffff;
}

header.scrolled .lang-btn {
  background: #ffffff;
  color: #111111 !important;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

header.scrolled .lang-btn:hover {
  background: #111111;
  color: #ffffff !important;
  border-color: #111111;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

header.scrolled .mobile-menu-btn {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 60, 113, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease 0.3s forwards;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--primary-color) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 36px !important;
  cursor: pointer;
}

.btn:hover {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(184, 115, 82, 0.4);
}

/* Sections */
.section {
  padding: 100px 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  margin: 15px auto 0;
}

/* Cards & Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-img {
  height: 250px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-img img {
  transform: scale(1.1);
}

.card-content {
  padding: 30px;
}

.card-content h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Page Header (Inner pages) */
.page-header {
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 40, 40, 0.8);
  /* Gray/Dark overlay for readability */
  z-index: 1;
}

.page-header>* {
  position: relative;
  z-index: 2;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 3.5rem;
  text-transform: uppercase;
}

.page-header h1 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Text Content Area */
.content-area {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.content-area h2 {
  color: var(--primary-color);
  margin: 40px 0 20px;
}

/* Scroll Animations */
.reveal {
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  padding: 50px 5%;
}

footer .contact-info {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .logo img {
    height: 90px;
  }

  header.scrolled .logo img {
    height: 72px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }

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

  .nav-links li a {
    color: var(--primary-color);
    font-size: 1.2rem;
  }

  .mobile-menu-btn {
    display: block;
    order: 3;
  }

  .lang-switcher {
    margin-left: auto;
    margin-right: 15px;
    order: 2;
  }

  .lang-btn {
    font-size: 0.78rem;
    padding: 5px 11px;
    gap: 5px;
  }

  .mosaic-item {
    grid-column: span 6 !important;
  }

  .page-header h1 {
    font-size: 16px;
  }

}

/* Mosaic Layout */
.mosaic-section {
  padding: 0;
  width: 100%;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 40vh;
  gap: 0;
  width: 100%;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  display: block;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
}

.mosaic-item:hover img {
  transform: scale(1.1);
  filter: blur(2px) brightness(0.8);
}

.mosaic-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  /* Dark overlay */
  pointer-events: none;
  transition: background 0.5s ease;
}

.mosaic-item:hover::after {
  background: rgba(0, 0, 0, 0.6);
}

.mosaic-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.mosaic-item:hover .mosaic-content {
  transform: scale(1.05);
}

.mosaic-content h3 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  text-align: center;
  padding: 0 20px;
}

.mosaic-item:nth-child(1) {
  grid-column: span 2;
}

.mosaic-item:nth-child(2) {
  grid-column: span 2;
}

.mosaic-item:nth-child(3) {
  grid-column: span 2;
}

.mosaic-item:nth-child(4) {
  grid-column: span 2;
}

.mosaic-item:nth-child(5) {
  grid-column: span 2;
}

.mosaic-item:nth-child(6) {
  grid-column: span 2;
}

/* Advanced Footer */
.footer-advanced {
  background: #1a1614;
  /* Deep warm dark color to match copper */
  color: #fff;
  padding: 60px 5% 40px;
  position: relative;
  overflow: hidden;
}

.footer-bg-logo {
  display: none;
}

.footer-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding-left: 0;
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-col {
  min-width: 0;
}

.footer-col h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #bbb;
}

.footer-col ul.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.footer-col ul.contact-info li i {
  margin-top: 4px;
  font-size: 1rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent-color);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  color: #888;
  font-size: 0.85rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding-left: 0;
}

@media (max-width: 900px) {
  .footer-bottom {
    text-align: center;
  }
}

.footer-bottom a {
  color: #888;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Multi-Item Carousel Section - Full Bleed */
.project-slider-section {
  padding: 0 !important;
  overflow: hidden !important;
}

.project-slider-section .content-area {
  max-width: 100% !important;
  padding: 0 !important;
}

.multi-carousel {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.mc-slide {
  position: absolute;
  height: 480px;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  top: 0;
}

.mc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Active: centered, full width spotlight */
.mc-active {
  left: 10%;
  width: 55%;
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
}

/* Next: right side, dimmed */
.mc-next {
  left: 65%;
  width: 25%;
  z-index: 2;
  opacity: 0.4;
  pointer-events: auto;
  cursor: pointer;
  filter: brightness(0.6);
  transition: opacity 0.4s ease, filter 0.4s ease, left 0.6s cubic-bezier(0.25, 1, 0.5, 1), width 0.6s;
}

.mc-next:hover {
  opacity: 0.65;
  filter: brightness(0.8);
}

/* Hidden: far right, barely visible */
.mc-hidden {
  left: 90%;
  width: 15%;
  z-index: 1;
  opacity: 0.25;
  pointer-events: auto;
  cursor: pointer;
  filter: brightness(0.5);
  transition: opacity 0.4s ease, filter 0.4s ease, left 0.6s cubic-bezier(0.25, 1, 0.5, 1), width 0.6s;
}

.mc-hidden:hover {
  opacity: 0.5;
  filter: brightness(0.7);
}

/* Prev: left side, dimmed */
.mc-prev {
  left: 0;
  width: 10%;
  z-index: 2;
  opacity: 0.35;
  pointer-events: auto;
  cursor: pointer;
  filter: brightness(0.5);
  transition: opacity 0.4s ease, filter 0.4s ease, left 0.6s cubic-bezier(0.25, 1, 0.5, 1), width 0.6s;
}

.mc-prev:hover {
  opacity: 0.55;
  filter: brightness(0.7);
}

/* Remove old overlay */
.mc-prev::after,
.mc-next::after {
  display: none;
}

.mc-active::after {
  display: none;
}

.mc-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: var(--primary-color);
  color: #fff;
  padding: 12px 24px;
  display: inline-block;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.mc-title {
  font-size: 1.4rem;
  font-weight: 400;
  white-space: nowrap;
}

#mcPrev:hover,
#mcNext:hover {
  background: #f0f0f0 !important;
}

@media (max-width: 900px) {
  .mc-active {
    left: 0;
    width: 70%;
  }

  .mc-next {
    left: 70%;
    width: 30%;
  }

  .mc-hidden {
    display: none;
  }

  .mc-prev {
    display: none;
  }
}

/* Projects Grid 4-col contiguous (Bitişik) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
}

.project-box {
  position: relative;
  overflow: hidden;
  height: 450px;
  display: block;
  text-decoration: none;
}

.project-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
}

.project-box:hover img {
  transform: scale(1.08);
}

.project-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 16, 14, 0.92) 0%, rgba(20, 16, 14, 0.4) 40%, rgba(0, 0, 0, 0) 75%);
  transition: background 0.4s ease;
  z-index: 1;
}

.project-box:hover::after {
  background: linear-gradient(to top, rgba(20, 16, 14, 0.96) 0%, rgba(20, 16, 14, 0.5) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.project-box-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 25px;
  z-index: 2;
  transition: transform 0.4s ease;
}

.project-box-tag {
  display: inline-block;
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.project-box h3 {
  position: static;
  transform: none;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  margin: 0 0 10px 0;
  text-align: left;
  width: 100%;
  line-height: 1.4;
  font-family: var(--font-family);
}

.project-box-link {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
  transform: translateY(4px);
  transition: all 0.3s ease;
}

.project-box:hover .project-box-link {
  color: var(--accent-color);
  opacity: 1;
  transform: translateY(0);
}

.project-box:hover .project-box-content {
  transform: translateY(-4px);
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-box {
    height: 380px;
  }
}

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

  .project-box {
    height: 320px;
  }
}

/* Scroll Reveal Animations */
.reveal {
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

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

/* Feature Cards (Neden Kors Insaat) Scroll Effect */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.why-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
}

.why-card.in-view,
.reveal.active .why-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.why-card:nth-child(1) {
  transition-delay: 0.1s;
}

.why-card:nth-child(2) {
  transition-delay: 0.25s;
}

.why-card:nth-child(3) {
  transition-delay: 0.4s;
}

.why-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 20px 45px rgba(184, 115, 82, 0.18);
  border-color: rgba(184, 115, 82, 0.4);
}

.why-card-img-wrap {
  width: 100%;
  height: 230px;
  overflow: hidden;
  position: relative;
  background: #f4f4f4;
}

.why-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.02);
}

.why-card:hover .why-card-img-wrap img {
  transform: scale(1.1);
}

.why-card-body {
  padding: 30px 25px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  background: #fff;
}

.why-card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 3px;
  background: var(--accent-color);
  transition: width 0.4s ease, background 0.4s ease;
}

.why-card:hover .why-card-body::before {
  width: 75px;
  background: var(--primary-color);
}

.why-card-body h3 {
  font-size: 1.35rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
  transition: color 0.3s ease;
}

.why-card-body p {
  color: #555;
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

/* Parallax image slide effect */
.parallax-img img {
  transform: translateX(60px);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.9s ease;
  will-change: transform, opacity;
}

.parallax-img.in-view img {
  transform: translateX(0);
  opacity: 1;
}

/* Project box slide-in animation */
.project-box {
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
  will-change: transform, opacity;
}

.project-box.in-view {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger delay for grid children */
.project-box:nth-child(2) {
  transition-delay: 0.1s;
}

.project-box:nth-child(3) {
  transition-delay: 0.2s;
}

.project-box:nth-child(4) {
  transition-delay: 0.3s;
}

.parallax-img:nth-child(2) {
  transition-delay: 0.1s;
}

.parallax-img:nth-child(3) {
  transition-delay: 0.2s;
}

/* Marquee Image Strip */
.marquee-strip {
  width: 100vw;
  overflow: hidden;
  height: 220px;
  position: relative;
  margin-left: calc(-50vw + 50%);
  left: 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  align-items: center;
}

.marquee-item {
  position: relative;
  height: 220px;
  width: 320px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid #ececec;
  box-sizing: border-box;
}

.marquee-item .marquee-bg {
  height: 220px;
  width: auto;
  min-width: 320px;
  object-fit: cover;
  display: block;
}

.marquee-item .marquee-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
}

.marquee-item .marquee-logo {
  position: absolute;
  z-index: 2;
  height: 140px;
  width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee-item .marquee-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

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

  100% {
    transform: translateX(-50%);
  }
}

/* Breadcrumbs */
.breadcrumb {
  padding: 15px 5%;
  background-color: #f8f9fa;
  border-bottom: 1px solid #eaeaea;
  font-size: 0.9rem;
  color: #666;
  display: flex;
  align-items: center;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.breadcrumb .separator {
  margin: 0 10px;
  color: #aaa;
}

.breadcrumb .current {
  color: #888;
}

/* Project Category Card Styles (Global) */
.cat-project-card {
  background: #fff;
  border: 1px solid #eaeaea;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border-radius: 4px;
}

.cat-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(184, 115, 82, 0.15);
  border-color: rgba(184, 115, 82, 0.4);
}

.cat-project-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  /* height: 260px removed for square proportion */
  overflow: hidden;
  position: relative;
}

.cat-project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cat-project-card:hover .cat-project-img img {
  transform: scale(1.08);
}

.cat-project-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cat-project-body {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.cat-project-body h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: 700;
}

.cat-project-meta {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.cat-project-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.cat-project-meta li i {
  color: var(--primary-color);
  font-size: 0.9rem;
  width: 16px;
}

.cat-project-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  padding: 10px 20px !important;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 30px !important;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cat-project-card:hover .cat-project-btn {
  background: var(--primary-color) !important;
  color: #fff !important;
}