/* styles.css
   Renk paleti: bordo #4B1E2F, krem, altın vurgular
   Yazı tipleri: Cormorant Garamond (başlık), Inter (gövde)
*/

:root {
  --wine: #4B1E2F;
  --wine-700: #3b1320;
  --cream: #f8f3ef;
  --muted: #6f6b6b;
  --accent: #c49a6c;
  --maxw: 1100px;
  --radius: 12px;
}

/* Reset / Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  color: #222;
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

main {
  flex: 1;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.25rem;
}

/* Header / Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--wine);
  color: var(--cream);
  box-shadow: 0 6px 18px rgba(75, 30, 47, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
}

.logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
}

.logo-wrap img {
  width: 40px;
  height: 40px;
  display: block;
}

.brand-text h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
}

.brand-text p {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.95;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hamburger Button */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  position: relative;
}

.hamburger .bar {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--wine);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  color: var(--cream);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 2rem;
  width: 100%;
  max-width: 300px;
  text-align: center;
  border-radius: 12px;
  transition: all 0.2s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
}

/* Hero */
.hero {
  padding: 3.25rem 0 2.5rem;
  background: linear-gradient(180deg, rgba(75, 30, 47, 0.04), transparent 40%);
  display: flex;
  gap: 2rem;
  align-items: center;
}

.hero-left {
  flex: 1;
}

.hero-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  color: var(--wine);
  margin: 0 0 0.6rem;
}

.hero-left .accent {
  color: var(--wine);
}

.hero-left p {
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--wine);
  color: var(--cream);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(75, 30, 47, 0.12);
}

.btn.ghost {
  background: transparent;
  border-color: var(--wine);
  color: var(--wine);
}

.hero-card {
  width: 360px;
  background: linear-gradient(180deg, rgba(75, 30, 47, 0.95), rgba(139, 58, 98, 0.95));
  color: var(--cream);
  padding: 1.25rem;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(75, 30, 47, 0.08);
}

.card-inner h3 {
  margin: 0 0 0.8rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
}

.card-inner p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--cream);
}

.card-inner ul {
  margin: 0.7rem 0 1rem 1rem;
  line-height: 1.7;
}

.card-inner li {
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.small-link {
  color: #fff;
  text-decoration: underline;
}

/* Section Title */
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: bold;
  font-size: 2.5rem;
  color: var(--wine);
  margin: 0 0 0.6rem;
}

/* Values */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.values article {
  background: #fff;
  padding: 1.5rem;
  min-height: 180px;
  border-radius: 10px;
  border-left: 6px solid var(--wine);
  box-shadow: 0 6px 18px rgba(77, 33, 40, 0.06);
  display: flex;
  flex-direction: column;
}

.values article h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--wine);
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
}

.values article p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}

/* Footer */
.site-footer {
  background: var(--wine);
  color: var(--cream);
  padding: 1rem 0;
  margin-top: 2.25rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.developer {
  color: var(--cream);
}

/* Animations */
.inview {
  opacity: 1;
  transform: none;
}

section,
article,
.hero-card {
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.9, 0.2, 1);
}

/* Responsive */
@media (max-width: 1000px) {
  .container {
    padding: 1rem;
  }

  .hero {
    flex-direction: column;
  }

  .hero-card {
    width: 100%;
  }

  .values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .container {
    padding: 1.5rem 1.8rem !important;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* Contact Page - Harita düzeltmesi */
  .contact-grid {
    display: flex !important;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  .contact-grid .contact-card {
    order: 1;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }

  .contact-grid .map {
    order: 2;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  .map iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 300px !important;
    box-sizing: border-box;
    display: block;
    margin: 0;
  }

  /* Services Grid */
  .services-grid {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  .service-card {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }

  /* Section Title */
  .section-title {
    font-size: 2rem;
    margin-left: 0;
    margin-right: 0;
  }

  /* About Page */
  .about-page {
    padding: 2rem 0;
  }

  .about-page img {
    max-width: 60%;
    margin: 1rem auto 1.5rem;
    display: block;
  }

  .about-page h2,
  .about-page p {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  /* Services Page */
  .services-page h2,
  .services-page p {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  /* Contact Page */
  .contact-page h2,
  .contact-page p {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 1.2rem 1.5rem !important;
  }

  .map iframe {
    height: 280px !important;
  }

  .logo-wrap {
    width: 46px;
    height: 46px;
  }

  .hero-left h2 {
    font-size: 1.6rem;
  }

  .mobile-menu a {
    font-size: 1.3rem;
    padding: 0.9rem 1.5rem;
    max-width: 280px;
  }

  .about-page img {
    max-width: 50%;
  }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 6px solid var(--wine);
  box-shadow: 0 4px 12px rgba(75, 30, 47, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(75, 30, 47, 0.1);
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--wine);
  font-size: 1.4rem;
}

.service-card p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}

.contact-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(75, 30, 47, 0.04);
}

.contact-card h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--wine);
  margin: 0 0 1.2rem;
  font-size: 1.5rem;
}

.contact-card p {
  margin: 0.8rem 0;
  line-height: 1.7;
  color: var(--muted);
}

.map {
  width: 100%;
  overflow: hidden;
}

.map iframe {
  width: 100%;
  max-width: 100%;
  height: 320px;
  border: 0;
  border-radius: 10px;
  display: block;
}

/* About Page */
.about-page {
  padding: 2rem 0;
}

.about-page img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(75, 30, 47, 0.04);
  margin: 1.5rem 0 2rem;
}

.about-page h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--wine);
  font-size: 2rem;
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.about-page p {
  margin: 0 0 1.2rem;
  line-height: 1.7;
  color: var(--muted);
  font-size: 1rem;
}

/* Small polish */
a {
  color: var(--wine);
}

.muted {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Services Page */
.services-page {
  padding: 2rem 0;
}

.services-page .muted {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.services-page .section-title {
  margin-bottom: 1rem;
}

/* Contact Page */
.contact-page {
  padding: 2rem 0;
}

.contact-page .muted {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-page .section-title {
  margin-bottom: 1rem;
}

/* Blog Page */
.blog-page {
  padding: 2rem 0;
}

.blog-page .muted {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.blog-page .section-title {
  margin-bottom: 1rem;
}

/* Genel paragraph stilleri */
main p {
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 1rem;
}

main h2,
main h3 {
  line-height: 1.3;
}

