/* styles.css - Unified and Responsive Styles with Consistent Palette */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #f5f5f5; /* Light gray */
  color: #333333; /* Dark gray */
  line-height: 1.6;
}

/* Header - Consistent across all pages */
header {
  background-color: #0d3b66; /* Keep as is */
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* NAV GENEL */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* LOGO */
.logo {
  min-width: 150px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
}

.logo img {
  height: 32px;
}

.logo-text {
  font-size: 1.35rem;
}

/* NAV LINKLER */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f9bc2f;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0d3b66;
  min-width: 150px;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: #ffffff;
}

.dropdown-menu li a:hover {
  background-color: #f9bc2f;
  color: #1a1a1a;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* AREA CLIENTI */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.client-icon {
  height: 28px;
  width: auto;
  display: block;
}

.cta-button {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  background-color: #ffffff;
  color: #0d3b66;
  transition: all 0.3s;
}

.cta-button:hover {
  background-color: #f9bc2f;
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: #ffffff;
}

/* MOBIL */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #0d3b66;
  }

  .hamburger {
    display: block;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

.cta-button {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  background-color: #ffffff; /* White */
  color: #0d3b66; /* Blue */
  transition: all 0.3s;
}

.cta-button:hover {
  background-color: #f9bc2f; /* Keep as is */
}

.lang-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 0.2rem;
  color: #0d3b66; /* Changed to blue */
}
.lang-switch {
  all: unset;
  background: none;
  color: #0d3b66; /* Changed to blue */
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.lang-switch:hover {
  background-color: #e6e6e6; /* Light gray */
}

/* Hamburger Menu */
.hamburger {
  display: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: #ffffff; /* White */
}

main {
  min-height: 70vh;
}
/* Main Content Sections - Consistent styling */
section {
  padding: 3rem 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 40px;
  overflow-y: hidden;
}

.form-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
  min-height: 50vh;
}

h1,
h2,
h3 {
  color: #0d3b66; /* Blue */
  margin-bottom: 1.5rem;
  text-align: center;
}

h2 {
  font-size: 2rem;
}

p {
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.hero {
  color: #ffffff; /* White */
  text-align: center;
  position: relative;
  width: 100%;
  min-height: 60vh;
  padding: 4rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(13, 59, 102, 0.1); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  padding: 2rem;
}
.hero h1 {
  font-size: 2.5rem;
  color: #ffffff; /* White */
}

.hero p {
  font-size: 1.25rem;
  color: #ffffff; /* White */
}

.cta-hero {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #ffffff; /* White */
  color: #0d3b66; /* Blue */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s;
}

.cta-hero:hover {
  background-color: #f9bc2f; /* Keep as is */
}

/* Product/Service Cards */
.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: #ffffff; /* White */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.text-content {
  padding: 1.5rem;
}

.text-content h3 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial {
  background: #ffffff; /* White */
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial cite {
  display: block;
  text-align: right;
  font-weight: bold;
  color: #666666; /* Medium gray */
}

/* Contact Section */
.contact {
  color: #0d3b66; /* Blue */
  text-align: center;
}

.contact h2 {
  color: #0d3b66; /* Blue */
}

/* Footer */
footer {
  background-color: #ffffff; /* White */
  color: #0d3b66; /* Blue */
  padding: 2rem 1rem;
  text-align: center;
  align-self: self-end;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #0d3b66; /* Blue */
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #f9bc2f; /* Keep as is */
}

/* Forms - Consistent styling across all pages */
form {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff; /* White */
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #0d3b66; /* Blue */
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid #cccccc; /* Light gray */
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

form input:focus,
form textarea:focus,
form select:focus {
  border-color: #0d3b66; /* Blue */
  outline: none;
}

form textarea {
  min-height: 150px;
  resize: vertical;
}

.whistleblower-section {
  display: flex;
}
button[type="submit"],
.payment-btn,
.whistleblower-btn {
  padding: 0.75rem 1.5rem;
  background-color: #0d3b66; /* Blue */
  color: #ffffff; /* White */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s;
  width: auto;
  display: block;
  margin: 0 auto;
}

button[type="submit"]:hover,
.payment-btn:hover,
.whistleblower-btn:hover {
  background-color: #1a5a8f; /* Darker blue */
}

.whistleblower-btn {
  all: unset;
  padding: 0.75rem 1.5rem;
  color: #0d3b66; /* Blue */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s;
  width: auto;
  display: block;
  margin: 0 auto;
  text-decoration: underline;
}

.whistleblower-btn:hover {
  text-decoration: none;
  background-color: #e6e6e6; /* Light gray */
}

.payment-btn {
  margin-right: 0;
}

#creditCardBtn {
  background-color: #0d3b66; /* Blue */
}

#paypalBtn {
  background-color: #1a5a8f; /* Darker blue */
}

/* Special form elements */
.ip-display {
  background-color: #f5f5f5; /* Light gray */
  padding: 0.75rem;
  margin: 1rem 0;
  border-radius: 4px;
  border: 1px solid #cccccc; /* Light gray */
  font-family: monospace;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: #ffffff; /* White */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

th,
td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #cccccc; /* Light gray */
}

th {
  background-color: #0d3b66; /* Blue */
  color: #ffffff; /* White */
}

tr:hover {
  background-color: #f5f5f5; /* Light gray */
}

/* Utility classes */
.hidden {
  display: none;
}

/* hides area riservate button on big screen*/
.mobile-area-riservata {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0d3b66; /* Blue */
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
    gap: 0.5rem;
  }

  .nav-links li {
    margin: 0.5rem 0.5rem;
  }

  /* Açılır menüyü mobilde düzgün göstermek için */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 1rem; /* Alt menüleri biraz sağa kaydırıp hiyerarşi katar */
  }

  /* --- YENİ AREA RISERVATA MOBİL AYARLARI --- */

  /* Eski bağımsız butonu mobilde tamamen gizle */
  .nav-actions {
    display: none !important;
  }

  /* HTML'de nav-links içine eklediğimiz yeni butonu göster */
  .mobile-area-riservata {
    display: block;
    margin-top: 0.5rem;
    padding-top: 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Diğer linklerden ayırmak için ince bir çizgi */
  }

  .mobile-area-riservata .cta-button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #ffffff;
    color: #0d3b66;
    padding: 0.75rem;
    border-radius: 5px;
    font-weight: bold;
  }
  /* ------------------------------------------ */

  .product-cards,
  .testimonial-carousel {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1rem;
  }

  section {
    padding: 2rem 1rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .payment-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .payment-btn {
    margin-right: 0;
    width: 100%;
  }
}

#assist-message {
  margin: 1rem 0;
  padding: 0.5rem 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th,
td {
  border: 1px solid #cccccc; /* Light gray */
  padding: 8px;
  text-align: left;
}
th {
  background-color: #f5f5f5; /* Light gray */
}
#totalBox {
  font-weight: bold;
  font-size: 1.2em;
  margin: 20px 0;
  padding: 10px;
  background-color: #f5f5f5; /* Light gray */
  border: 1px solid #cccccc; /* Light gray */
  width: 200px;
}

.services-list {
  list-style-type: none;
  margin: 20px auto;
  padding-left: 0;
  max-width: 800px;
}

.services-list li {
  padding: 10px 15px;
  margin-bottom: 12px;
  background-color: #f5f5f5; /* Light gray */
  border-left: 4px solid #1a5a8f; /* Darker blue */
  border-radius: 0 4px 4px 0;
  transition:
    transform 0.2s,
    background-color 0.2s;
}

.services-list li:hover {
  background-color: #e6e6e6; /* Lighter gray */
  transform: translateX(5px);
}

.services-list strong {
  color: #0d3b66; /* Blue */
  font-weight: 600;
}

/* Style for the safety section */
.safety-section {
  background-color: #f5f5f5; /* Light gray */
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid #1a5a8f; /* Darker blue */
  max-width: 800px;
  margin: 0 auto;
}

.about h3 {
  max-width: 500px;
  margin: auto;
}

.get-in-touch {
  background-color: #0d3b66; /* Blue */
  color: #ffffff; /* White */
  text-align: center;
}
.get-in-touch h2 {
  background-color: #0d3b66; /* Blue */
  color: #ffffff; /* White */
}
.get-in-touch .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Table container for horizontal scrolling on mobile */
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Fixed table layout prevents column width changes */
#itemsGrid {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* Define specific column widths with wider description column */
#itemsGrid th:nth-child(1),
#itemsGrid td:nth-child(1) {
  width: 10%; /* ID column (hidden) */
}

#itemsGrid th:nth-child(2),
#itemsGrid td:nth-child(2) {
  width: 15%; /* Service column */
}

#itemsGrid th:nth-child(3),
#itemsGrid td:nth-child(3) {
  width: 45%; /* Description column - now wider */
}

#itemsGrid th:nth-child(4),
#itemsGrid td:nth-child(4) {
  width: 15%; /* Unit Price column */
}

#itemsGrid th:nth-child(5),
#itemsGrid td:nth-child(5) {
  width: 15%; /* Quantity column */
  text-align: center;
}

#itemsGrid th:nth-child(6),
#itemsGrid td:nth-child(6) {
  width: 15%; /* Total column */
  text-align: right;
}

#itemsGrid th,
#itemsGrid td {
  padding: 0.75rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid #cccccc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#itemsGrid th {
  background-color: #e6e6e6;
  color: #666666;
  font-weight: bold;
  position: sticky;
  top: 0;
}

#itemsGrid tr:hover {
  background-color: #f5f5f5;
}

.hidden {
  display: none;
}

.quantity-input {
  width: 80px;
  padding: 0.75rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  text-align: center;
  font-size: 1rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
  margin: 0 auto;
  display: block;
}

.quantity-input:focus {
  border-color: #0d3b66;
  outline: none;
}

#itemsGrid tfoot tr {
  background-color: #f5f5f5;
}

#itemsGrid tfoot td {
  font-weight: bold;
}

/* Notes cell styling */
.notes-row {
  background-color: #f5f5f5;
}

.notes-cell {
  padding: 0.75rem 1.25rem;
  box-sizing: border-box;
}

.notes-cell textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem;
  min-height: 180px;
  margin-top: 5px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  display: block;
}

/* Mobile-specific adjustments */
/* Mobile-specific adjustments */
/* Mobile-specific adjustments */
@media (max-width: 768px) {
  #itemsGrid {
    font-size: 14px;
    width: 100%;
    table-layout: auto;
    max-width: 100vw; /* Prevent horizontal overflow */
    overflow: hidden; /* Contain table within viewport */
  }

  #itemsGrid th,
  #itemsGrid td {
    padding: 0.5rem;
    white-space: normal;
    word-wrap: break-word;
    font-size: 0.85rem; /* Reduce text size on mobile */
  }

  .quantity-input {
    width: 60px;
    padding: 0.5rem;
    font-size: 0.85rem; /* Reduce input text size */
  }

  /* Mobile: Let browser handle column widths */
  #itemsGrid th:nth-child(1),
  #itemsGrid td:nth-child(1),
  #itemsGrid th:nth-child(2),
  #itemsGrid td:nth-child(2),
  #itemsGrid th:nth-child(3),
  #itemsGrid td:nth-child(3),
  #itemsGrid th:nth-child(4),
  #itemsGrid td:nth-child(4),
  #itemsGrid th:nth-child(5),
  #itemsGrid td:nth-child(5),
  #itemsGrid th:nth-child(6),
  #itemsGrid td:nth-child(6) {
    width: auto;
  }

  /* Notes adjustments for mobile - FIXED */
  .notes-cell {
    padding: 0.5rem;
    display: table-cell; /* Keep as table cell to maintain full width */
    width: 100%; /* Ensure it spans the full width */
    font-size: 0.85rem; /* Reduce notes text size */
  }

  .notes-cell textarea {
    padding: 0.5rem;
    min-height: 150px;
    width: 100%;
    font-size: 0.85rem; /* Reduce textarea text size */
  }

  /* Ensure notes row spans full width */
  #itemsGrid tfoot tr.notes-row td {
    display: table-cell; /* Keep as table cell */
    width: 100%; /* Ensure it spans the full width */
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Additional fix to prevent horizontal scrolling issues */
  .container {
    overflow-x: hidden; /* Prevent container from causing horizontal scroll */
  }

  /* Reduce all text in table to smaller size */
  #itemsGrid small {
    font-size: 0.85rem; /* Consistent small text size */
  }
}

/* Badge page styles */
/* Main page layout */
.badge-section {
  padding: 60px 20px;
  background-color: #fff;
  min-height: 50vh;
}

.badge-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Title Style */
.page-title {
  color: #0d3b66; /* Corporate Blue */
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.page-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #f9bc2f; /* Accent Yellow */
  margin: 15px auto 0;
}

/* Content Box (Image + Text) */
.badge-content {
  display: flex;
  align-items: center; /* Vertical alignment */
  justify-content: center;
  gap: 50px; /* Gap between image and text */
}

/* Image Area */
.badge-image-wrapper {
  flex: 1; /* Occupy half of the area */
  display: flex;
  justify-content: center;
}

.badge-image-wrapper img {
  max-width: 100%;
  height: auto;
  max-height: 400px; /* Prevent it from growing too large */
  object-fit: contain;
  filter: drop-shadow(
    0 10px 15px rgba(0, 0, 0, 0.2)
  ); /* Shadow effect for the badge */
  transition: transform 0.3s ease;
}

.badge-image-wrapper img:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

/* Text Area */
.badge-text-wrapper {
  flex: 1; /* Occupy the other half of the area */
}

.badge-text-wrapper p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
  text-align: justify; /* Justify text */
  margin-bottom: 0;
}

/* Mobile Compatibility */
@media (max-width: 768px) {
  .badge-content {
    flex-direction: column; /* Stack vertically */
    gap: 30px;
  }

  .badge-image-wrapper,
  .badge-text-wrapper {
    flex: auto;
    width: 100%;
  }

  .badge-image-wrapper img {
    max-height: 300px;
  }
}

/*index styles*/
/* --- 1. HERO SECTION STYLES --- */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 59, 102, 0.4); /* Blue overlay */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
  padding: 20px;
}

.hero-content h1 {
  color: #fff;
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

.hero-content p {
  color: #fff;
  font-size: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  margin-bottom: 20px;
}

.cta-hero {
  display: inline-block;
  padding: 12px 24px;
  background-color: #f9bc2f;
  color: #0d3b66;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}
.cta-hero:hover {
  background-color: #fff;
}

/* --- 2. STEP-BY-STEP SLIDING GALLERY STYLES --- */
.gallery-section {
  background-color: #f9f9f9;
  padding: 50px 0;
  border-bottom: 1px solid #eee;
  position: relative;
}

.gallery-title {
  text-align: center;
  color: #0d3b66;
  margin-bottom: 40px;
  font-size: 2rem;
}

/* Container for eye comfort (spacing) */
.gallery-wrapper {
  width: 85%; /* Narrowed slightly for arrows */
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

/* Moving track */
.gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  /* Transform will be applied via Javascript */
}

/* Image Box */
.gallery-item {
  width: 280px;
  height: 200px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- NEWLY ADDED ARROWS --- */
.gallery-nav-btn {
  position: absolute;
  top: 60%; /* Aligned with the center of the gallery */
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: #0d3b66;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.gallery-nav-btn:hover {
  background-color: #f9bc2f;
  color: #0d3b66;
}

.gallery-prev {
  left: 5%;
}
.gallery-next {
  right: 5%;
}
/* Mobile Settings */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
  }
  .hero-content h1 {
    font-size: 2rem;
  }

  /* Carousel öğeleri küçültüldü */
  .gallery-item {
    width: 160px;
    height: 120px;
    padding: 5px;
  }

  /* Ok butonları küçültüldü */
  .gallery-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .gallery-prev {
    left: 2%;
  }

  .gallery-next {
    right: 2%;
  }

  .gallery-wrapper {
    width: 85%;
  }
}

/* Daha küçük mobil ekranlar (Örn: iPhone SE, dar Android ekranları) için ekstra kural */
@media (max-width: 480px) {
  .gallery-item {
    width: 130px;
    height: 90px;
  }

  .gallery-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
    top: 55%; /* Başlık küçüldüğünde okların dikey ortalamasını hizalamak için */
  }
}

/*organigramma styles*/

/* General Section Settings */
section {
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  color: #0d3b66;
  margin-bottom: 50px;
  font-size: 2.2rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #f9bc2f;
  margin: 15px auto 0;
}

/* --- ORGANIGRAMMA LAYOUT --- */
.org-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Top Row (President) */
.org-row-top {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

/* Bottom Row (Others) */
.org-row-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  justify-content: center;
}

/* Card Design */
.org-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  border-top: 5px solid #0d3b66;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-card:hover {
  transform: translateY(-5px);
}

/* Photo Area */
.org-img-wrapper {
  width: 180px;
  height: 180px;
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #f5f5f5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.org-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Placeholder for Missing Photos */
.org-img-placeholder {
  width: 180px;
  height: 180px;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 3rem;
  border: 5px solid #f5f5f5;
}

.org-name {
  font-size: 1.4rem;
  color: #0d3b66;
  margin-bottom: 8px;
  font-weight: 700;
}

.org-role {
  color: #666;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
}

/* --- BAŞKAN (Pierpaolo Castiglione) KARTI ÖZEL AYARLARI --- */

/* 1. Kartın Kendisini Büyüt */
.org-row-top .org-card {
  padding: 50px 40px; /* İç boşluğu artırdık (Normali 30px) */
  min-width: 360px; /* Kartın genişliğini artırdık */
  border-top-width: 8px; /* Üstteki mavi çizgiyi biraz kalınlaştırdık */
}

/* 2. Resmi Büyüt */
.org-row-top .org-img-wrapper {
  width: 240px; /* Normali 180px */
  height: 240px;
  border-width: 6px;
  margin-bottom: 25px;
}

/* 3. İsim Yazısını Büyüt */
.org-row-top .org-name {
  font-size: 1.8rem; /* Normali 1.4rem */
  margin-bottom: 10px;
}

/* 4. Ünvan Yazısını Büyüt */
.org-row-top .org-role {
  font-size: 1.2rem; /* Normali 1rem */
}

/* --- MOBİL UYUMLULUK --- */
/* Telefondan girildiğinde ekranı taşmaması için boyutları biraz dizginliyoruz */
@media (max-width: 768px) {
  .org-row-top .org-card {
    padding: 30px;
    min-width: auto; /* Mobilde genişlik ekran kadar olsun */
    width: 100%;
  }

  .org-row-top .org-img-wrapper {
    width: 180px; /* Mobilde de diğerlerinden (140px) büyük kalsın */
    height: 180px;
  }

  .org-row-top .org-name {
    font-size: 1.5rem;
  }
}

/* --- CONTACTS GRID --- */
.contact-section {
  background-color: #f5f7fa;
  border-top: 1px solid #eee;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #f9bc2f;
}

.contact-card h3 {
  color: #0d3b66;
  margin-bottom: 20px;
  font-size: 1.4rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.contact-item {
  margin-bottom: 15px;
}

.contact-label {
  display: block;
  font-size: 0.85rem;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  color: #333;
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-value a {
  color: #0d3b66;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-value a:hover {
  color: #f9bc2f;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  color: #444;
}

.hours-list li {
  margin-bottom: 8px;
}

/* Mobile Compatibility */
@media (max-width: 768px) {
  .org-img-wrapper,
  .org-img-placeholder {
    width: 140px;
    height: 140px;
  }
}
