/* ============================================
   suleymanalpar.com - Main Stylesheet
   Modern & Academic Design
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --primary-dark: #0f2440;
  --accent: #2b6cb0;
  --accent-light: #4299e1;
  --gold: #c6973f;
  --gold-light: #d4a94e;
  --bg: #f7f8fc;
  --bg-card: #ffffff;
  --bg-dark: #0f2440;
  --text: #2d3748;
  --text-light: #718096;
  --text-on-dark: #e2e8f0;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(26, 54, 93, 0.08);
  --shadow-hover: 0 8px 32px rgba(26, 54, 93, 0.14);
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* --- 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);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }

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

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary); line-height: 1.3; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin-bottom: 1rem; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}
.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
}

.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(26, 54, 93, 0.06);
  color: var(--primary);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg);
  padding: 4px;
  border-radius: 8px;
  margin-left: 12px;
}
.lang-btn {
  padding: 6px 12px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-light);
  transition: all var(--transition);
}
.lang-btn.active {
  background: var(--primary);
  color: white;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--bg-dark) 0%, var(--primary) 50%, var(--accent) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(66, 153, 225, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(198, 151, 63, 0.1) 0%, transparent 40%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text { color: white; }
.hero-text h1 {
  color: white;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.hero-tagline {
  font-size: 1.05rem;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-style: italic;
  margin-bottom: 2rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--gold);
  color: white;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(198, 151, 63, 0.3); }
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover { border-color: white; background: rgba(255, 255, 255, 0.1); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-avatar {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  border: 3px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: rgba(255,255,255,0.3);
  position: relative;
}
.hero-avatar::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-icon.blue { background: rgba(66, 153, 225, 0.1); color: var(--accent); }
.card-icon.gold { background: rgba(198, 151, 63, 0.1); color: var(--gold); }
.card-icon.green { background: rgba(72, 187, 120, 0.1); color: #38a169; }
.card-icon.purple { background: rgba(159, 122, 234, 0.1); color: #805ad5; }

.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}
.card-link:hover { color: var(--primary); gap: 10px; }

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.about-image {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 4rem;
}
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { color: var(--text-light); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.stat {
  text-align: center;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* --- Blog Section --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.blog-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
  position: relative;
}
.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: white;
}
.blog-body { padding: 24px; }
.blog-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.blog-body p { color: var(--text-light); font-size: 0.92rem; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-light);
}

/* --- Contact Section --- */
.contact-section { background: var(--bg-dark); color: white; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h2 { color: white; margin-bottom: 1rem; }
.contact-info p { color: var(--text-on-dark); }
.contact-items { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.contact-item-text span { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.contact-item-text p { color: white; margin: 0; font-weight: 500; }

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-light);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--primary-dark); color: white; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-submit:hover { background: var(--gold-light); }

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  padding: 48px 0 24px;
  color: var(--text-on-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 12px; }
.footer-col h4 { color: white; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* --- Page Headers (inner pages) --- */
.page-header {
  background: linear-gradient(160deg, var(--bg-dark), var(--primary));
  padding: 140px 0 60px;
  text-align: center;
  color: white;
}
.page-header h1 { color: white; margin-bottom: 0.5rem; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.05rem; }

/* --- Content Sections (inner pages) --- */
.content-section { padding: 80px 0; }

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.info-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.info-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.info-card p { color: var(--text-light); font-size: 0.93rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.faq-question:hover { color: var(--primary); }
.faq-arrow { transition: transform var(--transition); font-size: 0.8rem; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Resource list */
.resource-list { max-width: 900px; margin: 0 auto; }
.resource-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  transition: all var(--transition);
}
.resource-item:hover { box-shadow: var(--shadow-hover); transform: translateX(4px); }
.resource-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.resource-info h3 { font-size: 1.05rem; margin-bottom: 4px; }
.resource-info p { color: var(--text-light); font-size: 0.88rem; margin: 0; }
.resource-tag {
  margin-left: auto;
  padding: 4px 12px;
  background: var(--bg);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  flex-shrink: 0;
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .hero-avatar { width: 220px; height: 220px; font-size: 4rem; }
  .hero-badges { justify-content: center; }
  .hero-cta { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { height: 280px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: flex; }
  .lang-switch { margin-left: 0; margin-top: 8px; }
  .section { padding: 60px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
