/* Tüm renkler style guide kısmından root olarak yazılmıştır */
:root {
  --color-primary: #4d5ae5; /* Ana mavi - butonlar, hoverlar */
  --color-primary-pressed: #404bbf; /* Hover durumları */
  --colof-brand: #4d5ae5; /* Markanın ana rengi */
  --color-brand: #4d5ae5; /* Tutarlılık için alias */
  --color-dark: #2e2f42; /* Arka plan için koyu renk */
  --color-text: #434455; /* Gövde metin rengi */
  --color-muted: #8e8f99; /* Yardımcı açıklama metni */
  --color-accent: #e7e9fc; /* Hafif vurgular */
  --color-light-bg: #f4f4fd; /* Açık arka planlar */
  --color-white: #ffffff;
  --color-modal: #fcfcfc;
  --color-success: #31d0aa; /* Başarı mesajı */
}

/* Global reset: Başlıklar, paragraflar ve listeler için (B1) */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* img stilleri responsive bölümde tanımlandı */

/* Ana gövde stili */
body {
  color: var(--color-text);
  background-color: var(--color-white);
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* Başlık stilleri */
h1 {
  color: var(--color-dark);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: 0.02em;
}

h2 {
  color: var(--color-dark);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.11; 
  letter-spacing: 0.02em;
  text-align: center; 
  text-transform: capitalize; 
  margin-bottom: 72px; 
}

h3 {
  color: var(--color-dark);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* Buton stili */
.order-btn {
  padding: 16px 32px;
  border: none;
  border-radius: 4px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.3s;
  min-width: 169px;
  display: block; 
  margin: 0 auto; 
  transition-property: background-color, box-shadow;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.order-btn:hover,
.order-btn:focus {
  background-color: var(--color-primary-pressed);
}

/* Logo stili */
.logo {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-dark);
  text-decoration: none;
  margin-right: 76px;
}

.logo span {
  color: var(--color-primary); /* Sadece "WEB" kısmı mavi */
}

/* Navigation bağlantıları */
.nav-list {
  display: flex; 
  gap: 40px;
}

.nav-link {
  font-size: 16px;
  font-weight: 500px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.3s;
  padding: 24px 0;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-primary-pressed);
}

/* İletişim bağlantıları */
.contact-address {
  font-style: normal;
}

.contact-list {
  display: flex;
  gap: 40px;
}

.email-link,
.phone-link {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s;
  padding: 24px 0;
}

.email-link:hover,
.email-link:focus,
.phone-link:hover,
.phone-link:focus {
  color: var(--color-primary-pressed);
}

/* Hero bölümü (Effective Solutions) */
.hero-section {
  background-color: var(--color-dark);
  color: var(
    --color-white
  );
  min-height: 600px;
  display: flex; 
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1440px; /* Maksimum genişlik sınırı */
  margin: 0 auto; /* Ortalamak için */

  background-image: linear-gradient(
      rgba(46, 47, 66, 0.7),
      /* Figma'daki gibi koyu renk ve %70 saydamlık */ rgba(46, 47, 66, 0.7)
    ),
    url("../images/people-office.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* 
  B4: Retina background support with min-resolution
  B3: Responsive background images for x1 and x2 density screens
*/
@media (min-resolution: 192dpi), (min-resolution: 2dppx) {
  .hero-section {
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url("../images/people-office.jpg"); /* Retina için aynı görsel kullanıldı */
  }
}

/* B3: Responsive images - images otomatik olarak responsive */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px; 
  max-width: 496px; 
}

.hero-content h1 {
  color: var(--color-white);
}

/* Footer stili */
.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 100px 0;
}

.footer-container {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 72px;
  justify-content: space-between;
}

.footer .logo {
  color: var(--color-primary);
  margin-right: 0; 
  margin-bottom: 16px; 
}

.footer .logo span {
  color: var(--color-light-bg); 
}

.footer-text {
  max-width: 264px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-light-bg); 
}

/* Yardımcı metin renkleri - Genel tanımlar */
/* .helper-text {
  color: var(--color-muted);
}

.success-message {
  color: var(--color-success);
} */

/* ÖDEV 3 aşağı kısımdan başlamaktadır. */

/* Container ve section stilleri responsive bölümde tanımlandı */

.header {
  border-bottom: 1px solid var(--color-accent); 
  padding: 0; 
  width: 100%;
  height: 72px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 15px;
}

/* Features Section (Gizli H2 başlığı) */
.features-container {
  display: grid;
  grid-template-columns: 1fr; /* Mobile */
  gap: 72px;
}

.feature-item { }

.feature-item h3 {
  margin-bottom: 8px; 
}

.feature-icon-wrapper {
  width: 264px; 
  height: 112px;
  background-color: var(--color-light-bg); 
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px; 
}

/* Team Section */
.team-section {
  background-color: var(--color-light-bg); 
}

.team-list {
  display: grid;
  grid-template-columns: 1fr; /* Mobile */
  gap: 72px;
}

.team-list-item {
  box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.08), 0px 1px 1px rgba(0, 0, 0, 0.16),
    0px 1px 3px rgba(0, 0, 0, 0.08);
}

.team-member-card {
  background-color: var(--color-white);
  border-radius: 0px 0px 4px 4px; 
  box-shadow: 0px 2px 1px 0px rgba(46, 47, 66, 0.08),
    0px 1px 1px 0px rgba(46, 47, 66, 0.16),
    0px 1px 6px 0px rgba(46, 47, 66, 0.08); 
  text-align: center;
}

.team-member-card img {
  margin-bottom: 32px; 
}

.team-member-card .member-info {
  padding: 32px 0; 
}

.team-member-card h3 {
  margin-bottom: 8px; 
}

/* Portfolio Section */
.portfolio-list {
  display: grid;
  grid-template-columns: 1fr; /* Mobile */
  gap: 48px;
}

.portfolio-item {
  border: 1px solid var(--color-accent); 
  border-bottom: 1px solid var(--color-accent); 
  transition: box-shadow 0.3s ease; 
}

.portfolio-list-item:hover {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.portfolio-item:hover {
  box-shadow: 0px 2px 1px 0px rgba(46, 47, 66, 0.08),
    0px 1px 1px 0px rgba(46, 47, 66, 0.16),
    0px 1px 6px 0px rgba(46, 47, 66, 0.08);
}

.portfolio-item .item-info {
  padding: 32px 16px; 
  text-align: left; 
}

.portfolio-item h3 {
  margin-bottom: 8px; 
}

.feature-icon {
  fill: var(--color-dark);
}

.feature-icon-wrapper:hover .feature-icon,
.feature-icon-wrapper:focus-within .feature-icon {
  fill: var(--color-primary);
}

/* Takım üyeleri sosyal medya ikonları */
.team-member-card .member-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background-color: #fff;
  box-shadow: 0px 1px 6px rgba(46, 47, 66, 0.08),
    0px 1px 1px rgba(46, 47, 66, 0.16), 0px 2px 1px rgba(46, 47, 66, 0.08);
  border-radius: 0px 0px 4px 4px;
}

.team-member-card .member-info h3 {
  margin-bottom: 8px;
}

.team-member-card .member-info p {
  margin-bottom: 8px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: #4d5ae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover,
.social-link:focus {
  background-color: #404bbf;
}

.social-icon {
  fill: #f4f4fd;
}

.social-icon:hover {
  fill: #2196f3;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Altbilgi sosyal medya ikonları */
.footer-left {
  width: 264px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo span {
  color: #f4f4fd;
  /* Footer logosunun "WEB" kısmı için renk */
}

.footer-text {
  color: #f4f4fd;
  width: 264px;
  line-height: 1.5;
  margin-bottom: 0;
}

.footer-social {
  margin-left: 120px;
}

.footer-social-title {
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.social-list {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social .social-link:hover,
.footer-social .social-link:focus {
  background-color: #31d0aa;
}

/* Footer Subscribe Section */
.footer-subscribe {
  width: 264px;
}

.footer-subscribe-title {
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
}

.subscribe-input-container {
  display: flex;
  gap: 8px;
}

.subscribe-input {
  width: 264px;
  height: 40px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background-color: transparent;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.subscribe-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.subscribe-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.subscribe-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background-color: var(--color-primary);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.subscribe-btn:hover,
.subscribe-btn:focus {
  background-color: var(--color-primary-pressed);
}

.subscribe-icon {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* Genel geçiş tanımı */
a,
button,
.social-link,
.feature-icon-wrapper,
.portfolio-item {
  transition-property: color, background-color, border-color, box-shadow, transform, opacity;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header navigasyon bağlantıları */
.nav-link {
  color: var(--color-dark);
  transition-property: color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-brand);
}

/* İletişim bağlantıları (email, telefon) */
.contact-address .email-link,
.contact-address .phone-link {
  color: var(--color-text);
  transition-property: color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-address .email-link:hover,
.contact-address .email-link:focus,
.contact-address .phone-link:hover,
.contact-address .phone-link:focus {
  color: var(--color-brand);
}

/* Özellik ikon sarmalayıcıları (feature-icon-wrapper) */
.feature-icon-wrapper {
  transition-property: background-color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sosyal medya bağlantıları (takım ve altbilgi) */
.social-link {
  transition-property: background-color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item {
  transition-property: box-shadow;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover,
.portfolio-item:focus-within {
  box-shadow: 0px 2px 1px rgba(46, 47, 66, 0.08), 0px 1px 6px rgba(46, 47, 66, 0.16), 0px 1px 1px rgba(46, 47, 66, 0.16);
}

/* Ana navigasyon bağlantıları */
.nav-list .nav-link {
  position: relative;
  color: var(--color-dark);
  padding: 24px 0;
}

.nav-list .nav-link.current::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 4px;
  background-color: var(--color-brand);
  border-radius: 2px;
}

/* Portfolio öğesi */
.portfolio-item {
  overflow: hidden;
  position: relative; 
}

.portfolio-image-wrapper {
  position: relative; 
  overflow: hidden; 
}

.overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(77, 90, 229, 0.9); /* Mavi kaplama rengi */
  color: #ffffff; 
  padding: 40px 32px; 
  display: flex;
  align-items: center; 
  justify-content: center; 
  transform: translateY(100%); 
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1); 
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* Kartın üzerine gelindiğinde kaplamayı gösterme işlemi */
.portfolio-item:hover .overlay-content,
.portfolio-item:focus-within .overlay-content {
  transform: translateY(0);
}

/* Modal Styles -Backdrop styling */
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(46, 47, 66, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1), visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

/* Backdrop görünür hale getirme - checkbox ile */
#modal-toggle:checked ~ .backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Modal pencere styling - Mobile First */
.modal {
  position: relative;
  background-color: var(--color-white);
  border-radius: 4px;
  padding: 72px 16px 24px 16px;
  width: calc(100vw - 32px);
  max-width: 392px;
  min-height: 584px;
  max-height: calc(100vh - 32px);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 2px 1px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  opacity: 0;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1), opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
}

#modal-toggle:checked ~ .backdrop .modal {
  transform: scale(1);
  opacity: 1;
}

/* Modal kapatma butonu */
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: var(--color-accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.modal-close:hover,
.modal-close:focus {
  background-color: var(--color-primary);
}

.icon-close {
  width: 16px;
  height: 16px;
  fill: var(--color-dark);
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close:hover .icon-close,
.modal-close:focus .icon-close {
  fill: var(--color-white);
}

/* Modal başlık */
.modal-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  margin-bottom: 16px;
  text-align: center;
  width: 100%;
}

/* Form elemanları */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.form-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-dark);
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.form-label input {
  width: 100%;
  height: 40px;
  padding: 16px 16px 16px 50px;
  border: 1px solid var(--color-muted);
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  background-color: var(--color-white);
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.form-label textarea {
  width: 100%;
  height: 120px;
  padding: 16px;
  border: 1px solid var(--color-muted);
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  background-color: var(--color-white);
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  resize: none;
}

/* Focus durumunda renk değişimi */
.form-label input:focus,
.form-label textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.form-field {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
}

.form-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  fill: var(--color-dark);
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input-container:focus-within .form-icon {
  fill: var(--color-primary);
}

/* Checkbox styling */
.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-muted);
  cursor: pointer;
  margin-top: 4px;
  width: 100%;
  justify-content: flex-start;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.custom-checkbox {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 1px solid var(--color-dark);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox-label input:checked + .custom-checkbox {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.icon-check {
  width: 12px;
  height: 12px;
  fill: var(--color-white);
  opacity: 0;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox-label input:checked + .custom-checkbox .icon-check {
  opacity: 1;
}

/* Privacy Policy link */
.privacy-link {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 12px;
}

.privacy-link:hover,
.privacy-link:focus {
  color: var(--color-primary-pressed);
}

/* Submit button */
.submit-btn {
  width: 169px;
  height: 56px;
  background-color: var(--color-primary);
  border: none;
  border-radius: 4px;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 4px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.submit-btn:hover,
.submit-btn:focus {
  background-color: var(--color-primary-pressed);
}

/* Geçiş efektleri */
.backdrop,
.modal,
.modal-close,
.form-label input,
.form-label textarea,
.form-icon,
.custom-checkbox,
.icon-check,
.privacy-link,
.submit-btn {
  transition-property: opacity, transform, border-color, fill, background-color, color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Menü başlangıçta gizli */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.menu-icon {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-dark);
  position: relative;
  transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: var(--color-dark);
  transition: all 0.3s ease;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  top: 8px;
}

/* Menü yükseklik olarak tüm görüntü */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh; /* C4 */
  background-color: var(--color-white);
  z-index: 1000;
  /* Başlangıçta gizli */
  transform: translateX(-100%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Checkbox işaretlendiğinde menü görünür */
#mobile-menu-toggle:checked ~ .mobile-menu {
  transform: translateX(0);
}

/* Menü genişliği düzenleme */
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  padding: 72px 16px 40px 40px;
  position: relative;
}

.menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--color-dark);
}

/* Mobil menünün tüm öğeleri */
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav-link {
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.11;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  text-decoration: none;
  text-transform: capitalize;
}

.mobile-nav-link.current {
  color: var(--color-primary);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: var(--color-primary);
}

.mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.mobile-phone {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  text-decoration: none;
}

.mobile-email {
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--color-text);
  text-decoration: none;
}

.mobile-socials {
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Header navigation control - Mobile First */
.main-nav,
.contact-address {
  display: none;
}

/* MOBİLE: 320px ve üzeri */
.container {
  max-width: 428px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* Hero section mobile */
.hero-section {
  min-height: 432px;
  padding: 112px 0;
}

.hero-content h1 {
  font-size: 36px;
  line-height: 1.11;
  max-width: 320px;
}

/* Features mobile */
.features-container {
  grid-template-columns: 1fr;
  gap: 72px;
}

.feature-icon-wrapper {
  display: none; /* Mobile'da iconlar gizli */
}

/* Team mobile */
.team-list {
  grid-template-columns: 1fr;
  gap: 72px;
  justify-items: center;
}

/* Portfolio mobile */
.portfolio-list {
  grid-template-columns: 1fr;
  gap: 48px;
}

/* Footer mobile */
.footer {
  padding: 96px 0;
}

.footer-container {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 72px;
}

.footer-social {
  margin-left: 0;
}

.subscribe-input-container {
  flex-direction: column;
  gap: 16px;
}

.subscribe-input {
  width: 100%;
}

/* TABLET: 768px ve üzeri */
@media (min-width: 768px) {
  .container {
    max-width: 768px;
    padding: 0 16px;
  }

  /* Header navigation göster, mobile menu gizle */
  .main-nav,
  .contact-address {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  /* Hero tablet */
  .hero-section {
    min-height: 436px;
    padding: 112px 0;
  }

  .hero-content h1 {
    font-size: 56px;
    line-height: 1.07;
    max-width: 496px;
  }

  /* Features tablet */
  .features-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 72px 24px;
  }

  /* Team tablet */
  .team-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 64px 24px;
    justify-items: center;
  }

  /* Portfolio tablet */
  .portfolio-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 72px 24px;
  }

  /* Footer tablet */
  .footer-container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    text-align: left;
    gap: 72px 24px;
    justify-content: flex-start;
  }

  .footer-left {
    margin-right: 24px;
  }

  .subscribe-input-container {
    flex-direction: row;
    gap: 24px;
  }

  .subscribe-input {
    width: 264px;
  }

  /* Contact list tablet */
  .contact-list {
    flex-direction: column;
    gap: 12px;
  }
}

/* DESKTOP: 1158px ve üzeri */
@media (min-width: 1158px) {
  .container {
    max-width: 1158px;
    padding: 0 15px;
  }

  .section {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  /* Hero desktop */
  .hero-section {
    min-height: 600px;
    padding: 188px 0;
  }

  /* Features desktop */
  .features-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .feature-icon-wrapper {
    display: flex; /* Desktop'ta iconlar görünür */
  }

  /* Team desktop */
  .team-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  /* Portfolio desktop */
  .portfolio-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 24px;
  }

  /* Footer desktop */
  .footer {
    padding: 100px 0;
  }

  .footer-container {
    gap: 0;
    justify-content: space-between;
  }

  .footer-left {
    margin-right: 120px;
  }

  .footer-social {
    margin-left: 0;
    margin-right: 80px;
  }

  /* Contact list desktop */
  .contact-list {
    flex-direction: row;
    gap: 40px;
  }

  /* Modal desktop */
  .modal {
    width: 408px;
    padding: 72px 24px 24px 24px;
    border-radius: 4px;
  }
}
  