body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.background {
  background: url("photo-1451187580459-43490279c0fa.jpeg") no-repeat center center fixed;
  background-size: cover;
  opacity: 1; /* Home'da net başlar */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: opacity 0.6s ease; /* Sayfalar arası geçişte yumuşak efekt */
}

.sidebar {
  width: 260px;
  background: #0A1128; /* koyu lacivert */
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.sidebar nav a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 10px 0;
  font-weight: 500;
  transition: color 0.3s;
}

.sidebar nav a:hover {
  color: #F8DFA6;
}

.content {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  color: #111;
}

.section {
  display: none;
  opacity: 0;
  padding: 40px;
  overflow-y: auto;
  height: 100%;
  transition: opacity 0.6s ease;
}

.section.visible {
  display: block;
  opacity: 1;
}

.home-content {
  text-align: center;
  margin-top: 20%;
  color: white;
}

.home-name {
  color: white; /* Home kısmında beyaz isim */
  font-size: 42px;
  margin-bottom: 10px;
}

.home-buttons button {
  margin: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #F8DFA6; /* sarı arka plan */
  color: #0A1128; /* yazı lacivert */
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(30, 58, 138, 0.4);
}

.home-buttons button:hover {
  background: #0f2167; /* hover’da lacivert arka plan */
  color: #F8DFA6; /* yazı sarı olur */
  transform: scale(1.07);
  box-shadow: 0 0 18px rgba(30, 58, 138, 0.7);
}

h1 {
  color: #1e3a8a;
}

.exp-content h2 {
  color: #1e3a8a;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.about-images img {
  max-width: 200px;
  border-radius: 12px;
  margin: 10px;
  transition: transform 0.3s ease;
}

.about-images img:hover {
  transform: scale(1.05);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.exp-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exp-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.exp-images img {
  width: 50%;
  height: 180px;
  object-fit: cover;
}

#contact {
  text-align: center;
  padding: 40px 0;
}

#contact h1 {
  color: #1e3a8a;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 45%;
  padding: 7px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  resize: none;
  outline: none;
}

.contact-form button {
  width: 22%;
  background: #1e3a8a;
  color: white;
  border: none;
  padding: 8px 0;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #0f2167;
  transform: scale(1.05);
}

.social-links {
  margin-top: 20px;
}

.social-links img {
  width: 32px;
  margin: 0 8px;
  transition: transform 0.3s;
}

.social-links img:hover {
  transform: scale(1.1);
}
#map {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  margin-top: 20px;
}
/* Sidebar sabit genişlik */
.sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #0b1533;
}

/* Experience */
.experience-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.exp-card {
  background: rgba(255,255,255,0.9);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  width: 260px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.exp-card:hover {
  transform: scale(1.03);
  cursor: pointer;
}

.company-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: white;
  margin: 8% auto;
  padding: 20px;
  border-radius: 12px;
  width: 70%;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.modal-content img {
  width: 45%;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.close {
  position: absolute;
  right: 30px;
  top: 20px;
  font-size: 30px;
  color: #333;
  cursor: pointer;
}
#travel-info {
  display: block;
  background: rgba(255,255,255,0.95);
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.info-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.info-grid div {
  width: 48%;
}
/* === Background opacity settings === */
.background {
  background: url('photo-1451187580459-43490279c0fa.jpeg') no-repeat center center fixed;
  background-size: cover;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: opacity 0.5s ease;
  opacity: 1; /* varsayılan olarak saydam */
}

/* Home sayfası için net arka plan */
body.home-page .background {
  opacity: 1;
}
