/*
Theme Name: Madina Demirbash
Theme URI: https://www.madinademirbash.com/
Author: Madina Demirbash
Author URI: https://www.madinademirbash.com/
Description: Custom psychotherapy theme for Madina Demirbash — couples and individual therapist. Features Google Calendar booking popup integration, transparent fee tables, and a warm, professional design.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: madina-theme
Tags: one-page, therapy, booking, psychotherapy, custom
*/

/* === CSS VARIABLES === */
:root {
  --color-bg: #faf8f5;
  --color-cream: #f4efe8;
  --color-sand: #e8ddd0;
  --color-text: #2a2320;
  --color-text-muted: #7a6e68;
  --color-accent: #8b6f5e;
  --color-accent-light: #c4a898;
  --color-accent-dark: #6b5347;
  --color-white: #ffffff;
  --color-border: #ddd4c8;
  --color-gold: #c9a96e;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;
  --max-width: 1200px;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(42,35,32,0.08);
  --shadow-lg: 0 12px 48px rgba(42,35,32,0.14);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

em { font-style: italic; color: var(--color-accent); }

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 100px 0; }
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,111,94,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: white;
}

/* === HEADER / NAV === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: var(--transition);
  background: transparent;
}
.site-header.scrolled {
  background: rgba(250,248,245,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
  padding: 0.85rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
}
.main-nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.main-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--color-accent); }
.nav-cta { margin-left: 1rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-bg) 60%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,168,152,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139,111,94,0.1);
  border: 1px solid rgba(139,111,94,0.2);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-text);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}
.hero-image-wrap {
  position: relative;
}
.hero-image-frame {
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--color-sand);
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-tag {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  font-weight: 600;
}
.hero-tag-1 {
  bottom: 10%;
  left: -10%;
}
.hero-tag-2 {
  top: 15%;
  right: -8%;
}

/* === ABOUT === */
.about { background: var(--color-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-cream);
  border-radius: 10px;
}
.cred-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
}
.cred-text {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: var(--color-text-muted); margin-bottom: 1rem; }

/* === AREAS === */
.areas { background: var(--color-bg); }
.areas-header { text-align: center; margin-bottom: 4rem; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.area-card {
  padding: 1.75rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
}
.area-card:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.area-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-sand);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.area-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-text);
}

/* === WHY === */
.why { background: var(--color-cream); }
.why-header { margin-bottom: 4rem; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.why-num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.why-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.why-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.why-testimonial {
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--color-accent);
  border-radius: var(--radius);
  color: white;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.6;
}
.why-testimonial cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-style: normal;
  opacity: 0.8;
  letter-spacing: 0.05em;
}

/* === REVIEWS === */
.reviews { background: var(--color-white); }
.reviews-header { text-align: center; margin-bottom: 4rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review-card {
  padding: 2rem;
  background: var(--color-cream);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  position: relative;
}
.review-quote {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-accent-light);
  line-height: 0.5;
  margin-bottom: 1rem;
}
.review-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.review-author {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}

/* === FEES === */
.fees { background: var(--color-bg); }
.fees-header { margin-bottom: 1rem; }
.fees-header p { color: var(--color-text-muted); margin-top: 1rem; }
.fees-table-wrap {
  overflow-x: auto;
  margin: 2.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-white);
}
.fees-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.fees-table thead tr {
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
}
.fees-table th {
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: left;
}
.fees-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.fees-table tr:last-child td { border-bottom: none; }
.fees-table tr:hover td { background: var(--color-cream); }
.fee-name { font-weight: 600; color: var(--color-text); }
.fee-price { font-weight: 600; color: var(--color-accent); }
.fees-languages {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding: 1rem 1.5rem;
  background: var(--color-cream);
  border-radius: 10px;
  border: 1px solid var(--color-border);
}

/* === BOOKING === */
.booking { background: var(--color-cream); }
.booking-header { text-align: center; margin-bottom: 4rem; }
.booking-header p { color: var(--color-text-muted); margin-top: 1rem; font-size: 1.05rem; }
.booking-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.booking-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.booking-card:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.booking-card-icon {
  width: 60px;
  height: 60px;
  background: var(--color-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}
.booking-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.booking-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.booking-card-duration {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.booking-card-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2rem;
}
.booking-card .btn { width: 100%; justify-content: center; }
/* === FOOTER === */
.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
}
.footer-tagline {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 280px;
}
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  transition: var(--transition);
}
.social-link:hover { background: var(--color-accent); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer-col a:hover { color: white; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* === MOBILE NAV MENU === */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-bg);
  padding: 2rem;
  flex-direction: column;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu-close {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-menu nav a {
  font-size: 1.5rem;
  font-family: var(--font-display);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .booking-options { grid-template-columns: 1fr; max-width: 440px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .credentials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .areas-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
}
