 /* style.css */
/* Google font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root{
  --accent: #b18b5e;
  --bg: #ffffff;
  --muted: #6c6c6c;
  --max-width: 1100px;
  --radius: 12px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#222;
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.6;
}

/* Container */
.container{
  width:90%;
  max-width:var(--max-width);
  margin:0 auto;
}

/* Header */
.site-header{
  background:#fff;
  border-bottom:1px solid #f0f0f0;
  position:sticky;
  top:0;
  z-index:60;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}

.logo{
  font-weight:700;
  color:#111;
  text-decoration:none;
  font-size:1.2rem;
}
.logo span{color:var(--accent)}

/* Nav */
.site-nav ul{
  list-style:none;
  display:flex;
  gap:22px;
  margin:0;
  padding:0;
}
.site-nav a{
  text-decoration:none;
  color:#333;
  font-weight:500;
  padding:8px 4px;
}
.site-nav a.active,
.site-nav a:hover{ color:var(--accent) }

/* Mobile toggle */
.nav-toggle{
  display:none;
  background:none;
  border:0;
  cursor:pointer;
}
.hamburger{
  width:26px;
  height:2px;
  background:#333;
  display:block;
  position:relative;
}
.hamburger::before,
.hamburger::after{
  content:"";
  position:absolute;
  left:0;
  width:26px;
  height:2px;
  background:#333;
}
.hamburger::before{ top:-8px }
.hamburger::after{ top:8px }

/* HERO */

.hero{
  padding:64px 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.00));
}

.hero-grid{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap:28px;
  align-items:center;
}
.hero-text h1{
  font-size:2.2rem;
  margin:0 0 12px;
}
.hero-text .muted{ color:var(--muted) }
.btn{
  display:inline-block;
  background:var(--accent);
  color:white;
  padding:10px 16px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  transition:opacity .15s;
}
.btn:hover{ opacity:.9 }

.hero-photo{
  width:460px;
  height:360px;
  border-radius:16px;
  overflow:hidden;
  background:linear-gradient(180deg,#f6f6f6,#eaeaea);
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}


/* Intro section */
.intro{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:28px;
  margin:40px 0;
}
.card{
  background:#fff;
  border-radius:var(--radius);
  padding:22px;
  box-shadow:0 6px 18px rgba(18,18,18,0.03);
}
.posts-grid{ display:grid; gap:14px }
.posts-grid .post-card{ margin-bottom:8px; }

/* Posts grid for full blog page */
.posts-grid.full{
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}
.post-card{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow: 0 6px 18px rgba(18,18,18,0.03);
}
.post-card a{ color:inherit; text-decoration:none; display:block; padding:18px; }
.post-thumb{
  width:100%;
  height:150px;
  background-size:cover;
  background-position:center;
  border-radius:8px;
  margin-bottom:12px;
}
.post-card h3{ margin:0 0 8px; font-size:1.05rem; }
.post-card .excerpt{ color:var(--muted); font-size:0.95rem; margin-bottom:10px; }
.post-card .read-more{ color:var(--accent); font-weight:600 }

/* Profile page */
.profile{
  display:grid;
  grid-template-columns: 300px 1fr;
  gap:24px;
  margin:40px 0;
}
.profile-photo img{
  width:100%;
  height:auto;
  border-radius:12px;
  object-fit:cover;
}
.profile-bio h1{ margin-top:0 }

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 340px;
  gap:28px;
  margin:40px 0;
}
.contact-card{ padding:18px; background:#fff; border-radius:12px; box-shadow:0 6px 18px rgba(0,0,0,0.03) }
label{ display:block; margin-bottom:12px; font-weight:600; font-size:0.95rem; color:#333 }
input[type="text"], input[type="email"], textarea{
  width:100%;
  padding:10px;
  border-radius:8px;
  border:1px solid #e6e6e6;
  margin-top:6px;
  font-size:0.95rem;
}
textarea{ resize:vertical }

/* Footer */
.site-footer{
  border-top:1px solid #f1f1f1;
  padding:20px 0;
  margin-top:40px;
  background:#fff;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.muted{ color:var(--muted) }

/* Responsive */
@media (max-width:1024px){
  .hero-grid{ grid-template-columns:1fr 300px }
  .profile{ grid-template-columns: 1fr; }
  .intro{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .posts-grid.full{ grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); }
}

@media (max-width:800px){
  .header-inner{ padding:14px 0; }
  .site-nav{ position:fixed; right:0; top:64px; background:#fff; width:240px; transform:translateX(100%); transition:transform .25s; box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-left:1px solid #f5f5f5; height:100vh; padding:24px; }
  .site-nav.open{ transform:translateX(0); }
  .site-nav ul{ display:block; }
  .site-nav li{ margin-bottom:12px; }
  .nav-toggle{ display:block; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-photo{ width:220px; height:220px; margin:0 auto; }
  .footer-inner{ flex-direction:column; gap:10px; text-align:center; }
}

/* small screens */
@media (max-width:420px){
  .container{ width:94%; }
  .hero-text h1{ font-size:1.6rem; }
  .hero-photo{ width:180px; height:180px; }
  .site-nav{ width:100%; }
}

/* Hoş geldiniz mesajı */
.welcome-msg {
  font-style: italic;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Hakkımda kutusuna ikon */
.about-flex {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

/* Arka plan tonlama */
.hero {
  padding: 64px 0;
  background: linear-gradient(180deg, #fdfbf8 0%, rgba(0,0,0,0) 100%);
}

/* Post kapak görsellerine köşe yuvarlama */
.post-thumb {
  border-radius: 10px;
}

/* İletişim bilgileri stil */
.contact-info {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(18,18,18,0.06);
  font-size: 0.95rem;
}

.contact-info h3, .contact-info h4 {
  color: #222;
  margin-bottom: 12px;
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  font-size: 28px;
  margin: 0 10px;
  color: #555;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #25D366; /* WhatsApp yeşili */
}

.social-icons a:nth-child(2):hover {
  color: #E4405F; /* Instagram pembesi */
}


