
:root {
  --primary-color: #f27f1b; /* turuncu */
  --secondary-color: #494f9f; /* morumsu */
  --accent-color: #a63c3c;
  --bg-color: #f5f5f7;
  --text-color: #222222;
  --muted-text: #666666;
  --border-radius: 12px;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #ffffff 0, #f0f1f5 55%, #e5e7eb 100%);
  color: var(--text-color);
  line-height: 1.6;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

/* Header & Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(148, 163, 184, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo img {
  height: 52px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.logo-sub {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--secondary-color);
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  color: var(--muted-text);
  transition: all 0.18s ease;
}

.site-nav a i {
  font-size: 0.9rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(242, 127, 27, 0.08);
  color: var(--primary-color);
}

.site-nav a.active {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(242, 127, 27, 0.35);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 999px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-color);
  border-radius: 999px;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-overlay {
  display: none;
}

@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(280px, 85vw);
    height: 100vh; /* TAM EKRAN YÜKSEKLİĞİ */
    z-index: 9999; /* MENÜ EN ÜSTE ÇIKAR */
    background: #ffffff;
    box-shadow: -18px 0 42px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    transition: transform 0.26s cubic-bezier(0.4, 0.0, 0.2, 1);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 4.5rem 1.5rem 1.5rem;
    gap: 0.75rem;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s ease;
    z-index: 950;
  }

  body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Hero */

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(73, 79, 159, 0.05);
  border: 1px solid rgba(73, 79, 159, 0.16);
  font-size: 0.75rem;
  color: var(--secondary-color);
}

.hero-label i {
  color: var(--primary-color);
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 2.7rem);
  line-height: 1.2;
  margin: 1rem 0 0.7rem;
  color: #111827;
}

.hero-title span {
  color: var(--primary-color);
}

.hero-text {
  max-width: 34rem;
  font-size: 0.98rem;
  color: var(--muted-text);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
}

.hero-badge {
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted-text);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.btn-primary {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(242, 127, 27, 0.42);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(242, 127, 27, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--secondary-color);
  border: 1px solid rgba(148, 163, 184, 0.8);
}

.btn-outline:hover {
  background: rgba(148, 163, 184, 0.08);
}

/* Hero card */

.hero-card {
  background: radial-gradient(circle at top left, rgba(242, 127, 27, 0.08), transparent 55%), 
              radial-gradient(circle at bottom right, rgba(73, 79, 159, 0.1), transparent 60%),
              #ffffff;
  border-radius: 24px;
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hero-card-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-card-brand img {
  height: 46px;
  width: auto;
}

.hero-card-brand span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-color);
}

.hero-card-badge {
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.06);
  color: #15803d;
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.hero-card-body {
  font-size: 0.88rem;
  color: var(--muted-text);
}

.hero-card-footer {
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted-text);
}

/* Sections */

.section {
  padding: 2.5rem 0;
}

.section-header {
  max-width: 40rem;
  margin-bottom: 1.8rem;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--secondary-color);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.5rem;
  margin: 0.2rem 0 0.4rem;
}

.section-description {
  font-size: 0.96rem;
  color: var(--muted-text);
}

/* Cake grid */

.cake-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.cake-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
}

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

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

.cake-tag {
  position: absolute;
  inset: 0.75rem auto auto 0.75rem;
  background: rgba(15, 23, 42, 0.72);
  color: #fef9c3;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

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

.cake-body {
  padding: 0.9rem 1rem 1.1rem;
}

.cake-name {
  font-weight: 600;
  margin: 0 0 0.2rem;
}

.cake-meta {
  font-size: 0.8rem;
  color: var(--muted-text);
}

/* About content */

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 2.2rem;
}

.content-box {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 0.96rem;
  color: var(--muted-text);
}

.content-box h2 {
  margin-top: 0;
  color: #111827;
  font-size: 1.3rem;
}

.content-list {
  padding-left: 1.2rem;
}

.content-list li {
  margin-bottom: 0.4rem;
}

/* Certificates */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem;
}

.cert-item {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 0.9rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
  cursor: zoom-in;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.cert-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

.cert-thumb {
  border-radius: 12px;
  overflow: hidden;
}

.cert-thumb img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.cert-caption {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted-text);
}

/* Certificate modal */

#certificateModal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1600;
}

#certificateModal.active {
  display: flex;
}

.modal-inner {
  position: relative;
  max-width: 960px;
  width: 94vw;
  max-height: 90vh;
  background: #020617;
  border-radius: 18px;
  padding: 1.2rem 1.3rem 1rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.7);
}

.modal-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

#modalImage {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.modal-close,
.modal-arrow {
  position: absolute;
  border: none;
  background: rgba(15, 23, 42, 0.78);
  color: #e5e7eb;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.1s ease;
}

.modal-close {
  top: 10px;
  right: 10px;
}

.modal-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.modal-arrow.prev {
  left: 10px;
}

.modal-arrow.next {
  right: 10px;
}

.modal-close:hover,
.modal-arrow:hover {
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-1px);
}

.modal-counter {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #e5e7eb;
  text-align: center;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr);
  gap: 2rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 0.95rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.contact-list i {
  margin-top: 0.2rem;
  color: var(--primary-color);
}

.contact-form {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  padding: 1.5rem 1.7rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group {
  margin-bottom: 0.9rem;
  flex: 1;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: var(--muted-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font: inherit;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px rgba(242, 127, 27, 0.3);
}

/* Footer */

.site-footer {
  background: linear-gradient(to bottom right, #020617, #111827);
  color: #e5e7eb;
  padding: 2.6rem 0 1.3rem;
  margin-top: 2.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(2, minmax(0, 1.5fr));
  gap: 1.8rem;
  font-size: 0.86rem;
}

.footer-brand-logo img {
  height: 38px;
  width: auto;
}

.footer-brand-text {
  margin-top: 0.7rem;
  color: #9ca3af;
  max-width: 22rem;
  font-size: 0.82rem;
}

.footer-title {
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e5e7eb;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-links a i {
  width: 16px;
  text-align: center;
}

.footer-links a:hover {
  color: #f9fafb;
}

.footer-meta {
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  margin-top: 1.6rem;
  padding-top: 0.9rem;
  font-size: 0.75rem;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
}

/* Utilities */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 0.78rem;
  color: var(--muted-text);
}

.chip i {
  color: var(--primary-color);
}

/* Responsive tweaks */

@media (max-width: 1024px) {
  .hero-grid,
  .content-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    margin-top: 1rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2.5rem;
  }

  .cake-card img {
    height: 180px;
  }

  .cert-thumb img {
    height: 200px;
  }

  .form-row {
    flex-direction: column;
  }

  .site-footer {
    padding-top: 2.2rem;
  }
}
