body {
  overflow-x: hidden;
  width: 100%;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s ease;
  background: transparent;
}

.main-header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Text Logo Styles (Updated Font) */
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  width: fit-content;
}

.brand-siora {
  font-family: 'Michroma', sans-serif;
  color: #D32F2F;
  font-size: 2rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  margin-right: 5px;
  /* Slight visual optical centering */
}

.brand-sub {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  margin-left: 2px;
  margin-top: 4px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links>a:not(.btn),
.dropdown>a {
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  padding: 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  position: relative;
  text-decoration: none;
}

.nav-links>a:not(.btn):hover,
.dropdown>a:hover {
  color: var(--c-accent-pop);
}

/* Button Animation */
.btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

/* Dropdown CSS */
.dropdown {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: -1rem;
  background-color: rgba(0, 0, 0, 0.95);
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  border-top: 3px solid #D32F2F;
  border-radius: 0 0 4px 4px;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease;
}

.dropdown-content a {
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  text-transform: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
}

.dropdown-content a:hover {
  background-color: #D32F2F;
  color: #fff;
  padding-left: 25px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
    /* Hidden by default */
  }

  /* Active State (Open Menu) */
  .desktop-nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Fallback */
    height: 100dvh;
    /* Modern mobile height */
    background-color: #0a0a0a;
    /* Slightly lighter than pure black for depth */
    z-index: 1100;
    align-items: center;
    justify-content: flex-start;
    /* Start from top */
    padding-top: 6rem;
    /* Space for header/close button */
    overflow-y: auto;
    /* Allow scrolling content if tall */
    opacity: 0;
    animation: fadeInMenu 0.25s forwards ease-out;
  }

  @keyframes fadeInMenu {
    to {
      opacity: 1;
    }
  }

  /* Links Container */
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
    /* Reset gap, use padding instead */
  }

  /* Main Links - Block Style */
  .nav-links>a,
  .dropdown>a {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* Divider lines */
    transition: background 0.2s ease;
  }

  .nav-links>a:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links>a:hover,
  .dropdown>a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    /* subtle highlight */
    border-bottom-color: rgba(255, 255, 255, 0.08);
    /* keep border consistent */
  }

  /* Mobile Button Style - Clean & Centered */
  .nav-links .btn {
    margin-top: 2rem;
    background: #D32F2F !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2.5rem !important;
    font-size: 1rem !important;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    width: auto;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
  }

  .nav-links .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
  }

  /* Mobile Toggle Button (Hamburger/Close) */
  .mobile-toggle {
    display: block;
    position: relative;
    z-index: 1200;
    /* Stays fixed on top */
    font-size: 1.8rem;
    color: white;
    background: none;
    border: none;
    padding: 10px;
    flex-shrink: 0;
  }

  /* Dropdown Container */
  .dropdown {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Dropdown Content - Smooth Accordion */
  .dropdown-content {
    position: relative;
    display: none;
    background: rgba(0, 0, 0, 0.3);
    /* Darker inset background */
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    border: none;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  /* Make Toggle Active Color Red */
  .dropdown.active .dropdown-toggle {
    color: #D32F2F;
    background: rgba(255, 255, 255, 0.03);
    /* subtle active background */
  }

  .dropdown-content a {
    display: block;
    font-size: 1.1rem;
    color: #ccc;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 400;
    text-transform: none;
    /* Keep sub-items normal case for readability */
  }

  .dropdown-content a:last-child {
    border-bottom: none;
  }

  .dropdown-content a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 0;
  }

  .dropdown.active .dropdown-content {
    display: block;
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.hero__bg-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 0 2rem;
}

/* Hero Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Pulse Animation for Button */
@keyframes pulse-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(211, 47, 47, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
  }
}

.btn-pulse {
  animation: pulse-glow 2s infinite;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin-bottom: 2rem;
  font-family: var(--f-heading);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
  line-height: 1.1;
  opacity: 0;
  /* Hidden initially */
  min-height: 2.2em;
  animation: fadeInUp 1s ease-out forwards;
  /* Restored Animation */
}

.hero p {
  color: #f0f0f0;
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-weight: 400;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
  /* Reduced delay slightly since no typing */
}

.hero-btn-group {
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.6s forwards;
  /* Reduced delay */
}


/* 6-Item Image Grid */
.product-six-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .product-six-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-six-grid {
    grid-template-columns: 1fr;
  }
}

.prod-card {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.prod-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Overlay: Center Text */
.prod-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.prod-card:hover .prod-bg {
  transform: scale(1.1);
}

/* Title: Initially Center */
.prod-card h3 {
  color: white;
  font-size: 1.5rem;
  font-family: var(--f-heading);
  margin: 0;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s;
}

/* Hover Button: Hidden initially */
.prod-overlay::after {
  content: "Detayları İncele";
  display: block;
  background-color: #D32F2F;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  max-height: 0;
  opacity: 0;
  padding: 0 1.5rem;
  margin-top: 0;
  overflow: hidden;
  border-radius: 50px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

/* On Hover: Expand Button */
.prod-card:hover .prod-overlay::after {
  max-height: 50px;
  opacity: 1;
  padding: 0.6rem 1.5rem;
  margin-top: 1rem;
  transform: translateY(0);
}

.prod-card:hover h3 {
  transform: translateY(-5px);
}

/* Reference Grid */
.references-section {
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.ref-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.ref-box {
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #eee;
  color: #999;
  font-weight: bold;
  border-radius: 4px;
  opacity: 0.7;
  transition: all 0.3s;
}

.ref-box:hover {
  opacity: 1;
  border-color: var(--c-brand-dark);
  color: var(--c-brand-dark);
}

/* Contact Highlight */
#referanslar {
  padding-top: 2rem;
}

.contact-highlight {
  background: var(--c-brand-dark);
  padding: 4rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  color: white;
  margin-top: 4rem;
  box-shadow: 0 20px 40px rgba(62, 39, 35, 0.3);
}

/* Footer (Premium) */
.premium-footer {
  background-color: #0b0b0b;
  color: #999;
  padding: 6rem 0 2rem;
  border-top: 4px solid #D32F2F;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .brand-logo {
  margin-bottom: 1.5rem;
}

.footer-desc {
  max-width: 400px;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.footer-heading {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links a {
  display: block;
  margin-bottom: 0.8rem;
  color: #999;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #D32F2F;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Footer Responsiveness */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .brand-logo {
    align-items: center;
  }

  .footer-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }
}

/* Utilities */
.section {
  padding: 6rem 0;
}

.bg-light {
  background: #fcfbf9;
}

.text-center {
  text-align: center;
}