/* GÜRHAN DEKORASYON — mamakboyaci.com.tr */
:root {
  --navy: #071526;
  --navy-mid: #0f2744;
  --navy-soft: #1a3a5c;
  --amber: #e8a317;
  --amber-hot: #f5b82e;
  --sand: #f3efe6;
  --white: #ffffff;
  --gray-50: #f6f4ef;
  --gray-100: #e7e2d8;
  --gray-200: #d2cdc2;
  --gray-500: #6a7168;
  --gray-700: #3d443c;
  --text: #12181f;
  --radius: 2px;
  --shadow: 0 18px 48px rgba(7, 21, 38, 0.14);
  --font-display: "Syne", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1140px;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(232, 163, 23, 0.08), transparent 55%),
    linear-gradient(180deg, #faf8f4 0%, var(--white) 28%);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--amber);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 700;
  margin: 0 0 0.55em;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber);
  color: var(--navy);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: var(--navy);
  display: flex;
  align-items: center;
  line-height: 1;
}

.brand-logo {
  width: auto;
  height: 58px;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 0.45rem 0.75rem;
  font: inherit;
  cursor: pointer;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1rem;
}

.nav a {
  text-decoration: none;
  color: var(--navy-mid);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--amber);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--amber);
  color: var(--navy) !important;
}

/* Hero — full composition */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    linear-gradient(115deg, rgba(7, 21, 38, 0.94) 0%, rgba(15, 39, 68, 0.88) 48%, rgba(7, 21, 38, 0.78) 100%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(232, 163, 23, 0.04) 18px,
      rgba(232, 163, 23, 0.04) 19px
    ),
    radial-gradient(circle at 85% 20%, rgba(232, 163, 23, 0.35), transparent 42%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), transparent 70%);
}

.hero-inner {
  position: relative;
  max-width: 40rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--amber);
  margin: 0 0 0.75rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  max-width: 34rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--amber-hot);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-soft);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Sections */
.section {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}

.section-alt {
  background: var(--sand);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.service-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 3px solid var(--amber);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-item a {
  display: block;
  padding: 1.15rem 1.2rem;
  text-decoration: none;
  color: inherit;
}

.service-item h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.service-item p {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.92rem;
}

.section-navy .service-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.section-navy .service-item p {
  color: rgba(255, 255, 255, 0.7);
}

.section-navy .service-item h3 {
  color: var(--white);
}

/* Visual band */
.visual-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.paint-scene {
  min-height: 280px;
  background:
    linear-gradient(160deg, var(--navy-mid), var(--navy)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(232, 163, 23, 0.08) 40px,
      rgba(232, 163, 23, 0.08) 41px
    );
  position: relative;
  overflow: hidden;
}

.paint-scene::before {
  content: "";
  position: absolute;
  width: 55%;
  height: 70%;
  right: -5%;
  bottom: -10%;
  background: linear-gradient(135deg, var(--amber), transparent);
  opacity: 0.55;
  transform: skewX(-12deg);
  animation: strokeIn 1.2s ease-out both;
}

.paint-scene::after {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.scene-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 1;
}

@keyframes strokeIn {
  from {
    opacity: 0;
    transform: skewX(-12deg) translateX(40px);
  }
  to {
    opacity: 0.55;
    transform: skewX(-12deg) translateX(0);
  }
}

.mahalle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.5rem;
}

.mahalle-grid a {
  display: block;
  padding: 0.65rem 0.8rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.mahalle-grid a:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-item {
  padding: 1.1rem;
  border-top: 3px solid var(--amber);
  background: var(--white);
}

.process-item h3 {
  font-size: 1rem;
}

.process-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray-500);
}

/* Content layout */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.page-hero .lead {
  font-size: 1.12rem;
  max-width: 42rem;
  color: var(--gray-700);
}

.content-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0 3rem;
}

.prose h2 {
  margin-top: 1.75rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.side-panel {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--navy);
  color: var(--white);
  padding: 1.35rem;
}

.side-panel h3 {
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.side-panel p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.side-panel .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.side-panel .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.side-panel .btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.breadcrumb {
  padding: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--gray-500);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--navy-mid);
  font-weight: 600;
}

.faq details {
  border: 1px solid var(--gray-100);
  background: var(--white);
  margin-bottom: 0.5rem;
  padding: 0.85rem 1rem;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--navy);
  font-family: var(--font-display);
}

.faq details[open] summary {
  color: var(--amber);
  margin-bottom: 0.5rem;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-grid label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--navy);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font: inherit;
  border-radius: var(--radius);
}

.form-grid textarea {
  min-height: 110px;
  resize: vertical;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.form-success {
  display: none;
  padding: 1rem;
  background: #e8f5e9;
  border-left: 3px solid #2e7d32;
  margin-top: 1rem;
}

.form-success.show {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.5rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.footer-brand {
  margin-bottom: 0.85rem;
}

.footer-brand img {
  width: auto;
  height: 72px;
  max-width: 200px;
  object-fit: contain;
  background: var(--white);
  padding: 0.35rem 0.5rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Floating contact (sağ alt) */
.float-contact {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(7, 21, 38, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px rgba(7, 21, 38, 0.34);
}

.float-wa {
  background: #25d366;
}

.float-tel {
  background: var(--navy);
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 1.2rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow);
}

.blog-card time {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.related-links a {
  padding: 0.4rem 0.75rem;
  background: var(--gray-50);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--gray-100);
}

/* Admin */
.admin-wrap {
  padding: 2rem 0 4rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--white);
}

.admin-table th,
.admin-table td {
  border: 1px solid var(--gray-100);
  padding: 0.5rem 0.65rem;
  text-align: left;
}

.admin-table th {
  background: var(--navy);
  color: var(--white);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.stat-box {
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 1rem;
}

.stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .visual-band,
  .content-wrap,
  .footer-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
    gap: 0.65rem;
  }

  .nav.open {
    display: flex;
  }

  .brand-logo {
    height: 48px;
  }

  .float-contact {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .float-btn {
    width: 50px;
    height: 50px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
