/*
  Global styles for DUNYA MEDIATIONS website
  A clean, modern design with a focus on readability and client trust.
*/

/* CSS variables for easy theming */
:root {
  --color-primary: #2B4C7E; /* deep blue for trust */
  --color-secondary: #63A375; /* calming green */
  --color-accent: #F5A623; /* warm accent for call‑to‑actions */
  --color-dark: #1E2E4A;
  --color-light: #F5F7FA;
  --color-neutral: #505050;
  --max-width: 1200px;
}

/* Reset some default styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-neutral);
  background: var(--color-light);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Header */
header {
  background: var(--color-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

/* Navigation toggle (hamburger) */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* shown only on mobile */
  flex-direction: column;
  gap: 4px;
  padding: 0.25rem;
}

.nav-toggle .hamburger {
  width: 24px;
  height: 3px;
  background: #fff;
  display: block;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: #fff;
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  transition: color 0.3s;
}

.nav a:hover, .nav a[aria-current="page"] {
  color: var(--color-secondary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 60vh;
  min-height: 380px;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-left: 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}

.btn-primary {
  background: var(--color-secondary);
  color: #fff;
}

.btn-primary:hover {
  background: #4E845E;
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Benefits Section */
.benefits {
  background: #fff;
  padding: 3rem 0;
}

.benefits h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.benefit-grid {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.benefit-item {
  flex: 1 1 250px;
  background: var(--color-light);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.benefit-item h3 {
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  font-size: 1.25rem;
}

.benefit-item p {
  font-size: 0.95rem;
  color: var(--color-neutral);
}

/* CTA Section */
.cta {
  background: var(--color-primary);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta p {
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background: var(--color-dark);
  color: #fff;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Page header for sub pages */
.page-header {
  background: var(--color-primary);
  color: #fff;
  padding: 2rem 0;
  text-align: left;
}

.page-header h1 {
  font-size: 2rem;
}

.page-header p {
  margin-top: 0.5rem;
  font-size: 1rem;
  max-width: 600px;
}

/* About page */
.about-intro, .about-mission, .about-values, .about-process {
  padding: 2rem 0;
  background: #fff;
}

.about-intro p, .about-mission p {
  max-width: 800px;
  margin-bottom: 1rem;
}

.values-list {
  list-style: none;
  padding-left: 0;
}

.values-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.values-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: bold;
}

.process-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.process-step {
  flex: 1 1 280px;
  background: var(--color-light);
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.process-step h3 {
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

/* Services page */
.services-list {
  padding: 2rem 0;
  background: #fff;
}

.service-item {
  margin-bottom: 2rem;
}

.service-item h2 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.service-item p {
  max-width: 800px;
}

/* Contact page */
.contact-section {
  padding: 2rem 0;
  background: #fff;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-details {
  flex: 1 1 300px;
}

.contact-details h2 {
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.contact-details p {
  margin-bottom: 0.75rem;
}

.contact-form-wrapper {
  flex: 1 1 350px;
  background: var(--color-light);
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.contact-form-wrapper h2 {
  margin-bottom: 1rem;
  color: var(--color-primary);
}

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

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 0.5rem;
  width: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    gap: 0.5rem;
    background: var(--color-dark);
    padding: 0.5rem;
  }
  .nav.active {
    display: flex;
  }
  .nav a {
    padding: 0.5rem;
  }
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-content {
    margin-left: 1rem;
  }
  .benefit-grid, .process-grid, .contact-container {
    flex-direction: column;
  }
  .benefit-item, .process-step, .contact-form-wrapper, .contact-details {
    flex: 1 1 100%;
  }
}