/* ============================================
   ROMABET - Ana Stil Dosyası
   ============================================ */

:root {
  --primary: #8B0000;
  --primary-light: #C0392B;
  --secondary: #1A1A2E;
  --secondary-light: #16213E;
  --accent: #D4AF37;
  --accent-light: #F0D060;
  --text-light: #F5F5F5;
  --text-dark: #1A1A1A;
  --bg-light: #F4F4F6;
  --bg-card: #FFFFFF;
  --border: #E0E0E0;
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 10px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
header {
  background: var(--secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 15px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 48px; width: auto; border-radius: 4px; }
.logo-fallback { font-size: 1.5rem; font-weight: 900; color: var(--accent); letter-spacing: 2px; }

nav { flex: 1; }
nav ul { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; }
nav ul li a {
  color: var(--text-light);
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.25s, color 0.25s;
  display: block;
  white-space: nowrap;
}
nav ul li a:hover, nav ul li a.active { background: var(--primary); color: #fff; }

.header-buttons { display: flex; gap: 10px; flex-shrink: 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  white-space: nowrap;
  border: 2px solid transparent;
  line-height: 1.4;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); color: #fff; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(139,0,0,0.4); }
.btn-accent { background: var(--accent); color: var(--secondary); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-light); border-color: var(--accent-light); color: var(--secondary); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(212,175,55,0.5); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--secondary); }
.btn-large { padding: 14px 32px; font-size: 1.05rem; border-radius: 8px; }

/* ===== HAMBURGER ===== */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; background: none; border: none; }
.hamburger span { width: 26px; height: 3px; background: var(--text-light); border-radius: 3px; transition: all 0.3s; display: block; }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: var(--secondary-light); padding: 10px 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 5px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.breadcrumb li { color: #aaa; font-size: 0.83rem; }
.breadcrumb li + li::before { content: '›'; margin-right: 5px; color: var(--accent); }
.breadcrumb a { color: var(--accent); font-size: 0.83rem; }
.breadcrumb a:hover { color: var(--accent-light); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 60% 40%, rgba(212,175,55,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 2.6rem; font-weight: 900; margin-bottom: 18px; color: var(--accent); text-shadow: 0 2px 12px rgba(0,0,0,0.4); line-height: 1.2; }
.hero p { font-size: 1.15rem; max-width: 680px; margin: 0 auto 30px; opacity: 0.9; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
.section { padding: 65px 0; }
.section-sm { padding: 40px 0; }
.section-title { font-size: 1.9rem; font-weight: 800; color: var(--secondary); margin-bottom: 12px; line-height: 1.3; }
.section-subtitle { color: #666; font-size: 1.05rem; margin-bottom: 35px; max-width: 650px; line-height: 1.7; }
.section-dark { background: var(--secondary); color: #fff; }
.section-dark .section-title { color: var(--accent); }
.section-dark .section-subtitle { color: #bbb; }

/* ===== CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 30px; }
.card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 10px 35px rgba(0,0,0,0.18); }
.card img { width: 100%; height: 200px; object-fit: cover; border-radius: 0; }
.card-body { padding: 22px; }
.card-body h3 { font-size: 1.15rem; color: var(--secondary); margin-bottom: 10px; }
.card-body p { color: #666; font-size: 0.93rem; margin-bottom: 15px; line-height: 1.7; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; }
.feature-item { background: var(--bg-card); border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow); transition: transform 0.3s; border-top: 4px solid var(--primary); }
.feature-item:hover { transform: translateY(-4px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 14px; display: block; }
.feature-item h3 { font-size: 1.05rem; color: var(--secondary); margin-bottom: 8px; font-weight: 700; }
.feature-item p { font-size: 0.88rem; color: #666; line-height: 1.7; }

/* ===== TWO COLUMN ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: center; }

/* ===== TABLES ===== */
.data-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 20px 0; }
.data-table th { background: var(--primary); color: #fff; padding: 14px 18px; text-align: left; font-weight: 700; font-size: 0.95rem; }
.data-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); color: var(--text-dark); font-size: 0.95rem; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #FFF8E7; }
.data-table .highlight { color: var(--primary); font-weight: 700; }

/* ===== FAQ ===== */
.faq-list { margin-top: 30px; }
.faq-item { background: var(--bg-card); border-radius: var(--radius); margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden; border-left: 4px solid var(--primary); }
.faq-question { padding: 18px 20px; font-weight: 700; color: var(--secondary); display: flex; justify-content: space-between; align-items: center; font-size: 1rem; }
.faq-question span { color: var(--primary); font-size: 1.4rem; }
.faq-answer { padding: 0 20px 18px; color: #555; line-height: 1.85; font-size: 0.95rem; }

/* ===== STEPS ===== */
.steps-list { margin-top: 30px; }
.step-item { display: flex; gap: 20px; margin-bottom: 28px; align-items: flex-start; }
.step-num { width: 48px; height: 48px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 900; flex-shrink: 0; box-shadow: 0 3px 10px rgba(139,0,0,0.3); }
.step-content h3 { font-size: 1.05rem; color: var(--secondary); margin-bottom: 6px; font-weight: 700; }
.step-content p { color: #666; font-size: 0.93rem; line-height: 1.7; }

/* ===== CONTACT ===== */
.contact-form { background: var(--bg-card); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 600; color: var(--secondary); font-size: 0.93rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 15px; border: 2px solid var(--border); border-radius: 7px; font-size: 0.95rem; transition: border-color 0.3s; font-family: inherit; background: #fff; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(139,0,0,0.1); }
.form-group textarea { height: 140px; resize: vertical; }

/* ===== STATS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; margin-top: 30px; }
.stat-item { text-align: center; padding: 25px 15px; background: rgba(255,255,255,0.08); border-radius: var(--radius); border: 1px solid rgba(212,175,55,0.25); }
.stat-number { font-size: 2.4rem; font-weight: 900; color: var(--accent); display: block; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 0.85rem; color: #bbb; }

/* ===== BADGES ===== */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px; }
.badge-new { background: #27AE60; color: #fff; }
.badge-hot { background: var(--primary); color: #fff; }
.badge-vip { background: var(--accent); color: var(--secondary); }
.badge-info { background: #2980B9; color: #fff; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px; }
.blog-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; }
.blog-card:hover { transform: translateY(-5px); }
.blog-card img { width: 100%; height: 215px; object-fit: cover; border-radius: 0; }
.blog-card-body { padding: 24px; }
.blog-meta { font-size: 0.82rem; color: #999; margin-bottom: 10px; }
.blog-meta span { color: var(--primary); font-weight: 600; }
.blog-card-body h3 { font-size: 1.15rem; color: var(--secondary); margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p { color: #666; font-size: 0.9rem; line-height: 1.7; }

/* ===== ARTICLE ===== */
.article-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.article-content h2 { font-size: 1.65rem; color: var(--secondary); margin: 32px 0 14px; padding-bottom: 10px; border-bottom: 3px solid var(--primary); }
.article-content h3 { font-size: 1.25rem; color: var(--primary); margin: 24px 0 10px; }
.article-content p { margin-bottom: 18px; color: #444; line-height: 1.9; }
.article-content ul, .article-content ol { margin: 12px 0 20px 22px; color: #444; list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 7px; line-height: 1.75; }
.article-content img { margin: 22px 0; width: 100%; }
.article-sidebar { position: sticky; top: 80px; }
.sidebar-box { background: var(--bg-card); border-radius: var(--radius); padding: 25px; box-shadow: var(--shadow); margin-bottom: 25px; border-top: 4px solid var(--primary); }
.sidebar-box h4 { font-size: 1.05rem; color: var(--secondary); margin-bottom: 15px; font-weight: 700; }
.sidebar-links li { margin-bottom: 10px; }
.sidebar-links a { color: #555; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; transition: color 0.3s; }
.sidebar-links a::before { content: '›'; color: var(--primary); font-size: 1.1rem; }
.sidebar-links a:hover { color: var(--primary); }

/* ===== CONTENT TEXT ===== */
.main-section { padding: 55px 0; }
.content-text h2 { font-size: 1.6rem; color: var(--secondary); margin: 30px 0 14px; padding-left: 15px; border-left: 4px solid var(--primary); }
.content-text h3 { font-size: 1.2rem; color: var(--primary); margin: 22px 0 10px; }
.content-text p { margin-bottom: 16px; color: #444; line-height: 1.9; }
.content-text ul { margin: 10px 0 18px 22px; color: #444; list-style: disc; }
.content-text li { margin-bottom: 7px; line-height: 1.7; }

/* ===== CTA ===== */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); padding: 75px 20px; text-align: center; color: #fff; }
.cta-section h2 { font-size: 2rem; color: var(--accent); margin-bottom: 14px; }
.cta-section p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer { background: var(--secondary); color: #fff; padding: 60px 0 25px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h4 { color: var(--accent); font-size: 1.05rem; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid rgba(212,175,55,0.3); font-weight: 700; }
.footer-col p { color: #aaa; line-height: 1.85; font-size: 0.9rem; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #aaa; font-size: 0.9rem; transition: color 0.3s; display: flex; align-items: center; gap: 7px; }
.footer-links a::before { content: '›'; color: var(--primary); }
.footer-links a:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; color: #aaa; font-size: 0.9rem; }
.footer-contact-item .icon { color: var(--accent); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 45px; padding-top: 25px; text-align: center; }
.footer-bottom p { color: #777; font-size: 0.85rem; }
.footer-disclaimer { color: #555; font-size: 0.78rem; margin-top: 10px; line-height: 1.6; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ===== HIGHLIGHT BOXES ===== */
.highlight-box { background: linear-gradient(135deg, rgba(139,0,0,0.07) 0%, rgba(212,175,55,0.07) 100%); border: 1px solid rgba(139,0,0,0.2); border-radius: var(--radius); padding: 20px 25px; margin: 20px 0; }
.tip-box { background: #E8F5E9; border-left: 4px solid #27AE60; border-radius: 0 var(--radius) var(--radius) 0; padding: 15px 20px; margin: 18px 0; }
.tip-box p { color: #1B5E20; margin-bottom: 0; font-size: 0.93rem; }
.warning-box { background: #FFF8E1; border-left: 4px solid #F39C12; border-radius: 0 var(--radius) var(--radius) 0; padding: 15px 20px; margin: 18px 0; }
.warning-box p { color: #7D4E00; margin-bottom: 0; font-size: 0.93rem; }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.fw-bold { font-weight: 700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  nav ul li a { padding: 6px 8px; font-size: 0.82rem; }
}
@media (max-width: 900px) {
  .article-wrap { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  header { position: relative; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--secondary-light); padding: 15px; z-index: 999; box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 4px; }
  nav ul li a { padding: 11px 14px; display: block; }
  .header-buttons { display: none; }
  .mobile-buttons { display: flex; gap: 10px; padding: 12px 15px; }
  .mobile-buttons .btn { flex: 1; text-align: center; font-size: 0.85rem; padding: 10px 12px; }
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 0.98rem; }
  .hero { padding: 55px 15px; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-title { font-size: 1.55rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { padding: 25px 20px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.45rem; }
  .hero { padding: 45px 12px; }
  .section, .main-section { padding: 40px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .btn-large { padding: 13px 24px; font-size: 1rem; }
}
