/* web/styles.css - Themed for أخبارنا */

/* --- Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap');

/* --- CSS Variables from your ThemeData --- */
:root {
  /* Colors */
  --primary-color: #2E4057;      /* From primaryColor (Rich teal-navy) */
  --accent-color: #CB904D;       /* From secondary (Warm gold) */
  --bg-color: #F9F7F3;          /* From scaffoldBackgroundColor (Warm parchment) */
  --surface-color: #FFFFFF;      /* From cardTheme.color */
  --text-color: #2B2118;         /* From onBackground / onSurface */
  --border-color: #E6E1D6;       /* From cardTheme.side.color */

  /* Fonts */
  --font-family: 'Rubik', sans-serif;
}

/* --- General Body & Typography --- */
body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  text-align: right;
  direction: rtl;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3 {
  font-family: var(--font-family);
  font-weight: 700; /* bold */
  color: var(--primary-color);
  line-height: 1.4;
}

h1 {
  font-size: 2.8em; /* Mapped from headlineLarge */
  text-align: center;
}

h2 {
  font-size: 2.2em; /* Mapped from headlineMedium */
  text-align: center;
  margin-bottom: 40px;
}

p {
  font-size: 18px; /* Mapped from bodyLarge */
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}


/* --- Header & Footer (Themed) --- */
header, footer {
  background-color: var(--primary-color);
  color: white;
  padding: 20px 40px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
  color: white;
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
footer a:hover {
  opacity: 0.8;
}
footer p {
  font-size: 16px;
  color: #bdc3c7;
  margin-bottom: 0;
}


/* --- Sections --- */
section {
  padding: 80px 20px;
}

/* --- Themed Store Buttons --- */
.store-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.store-button {
  background-color: var(--accent-color); /* Themed */
  color: white;
  text-decoration: none;
  padding: 15px 35px;
  border-radius: 12px; /* From ElevatedButtonTheme */
  font-weight: 700; /* bold */
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.store-button:hover {
  background-color: #b98041; /* Darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.placeholder {
  background-color: #95a5a6;
  cursor: not-allowed;
}
.placeholder:hover {
  background-color: #7f8c8d;
  transform: none;
}


/* --- Features Section (Themed like your Cards) --- */
#features {
  background-color: var(--bg-color);
}

#features .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.feature-item {
  background: var(--surface-color); /* white */
  padding: 30px;
  border-radius: 16px; /* From cardTheme */
  border: 1px solid var(--border-color); /* From cardTheme */
  box-shadow: 0 4px 8px rgba(46, 64, 87, 0.08); /* From cardTheme */
  text-align: right;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(46, 64, 87, 0.12);
}

.feature-item h3 {
  font-size: 20px; /* From titleLarge */
  font-weight: 700;
  color: var(--accent-color);
  margin-top: 0;
  margin-bottom: 10px;
}
.feature-item p {
  font-size: 16px; /* From bodyMedium */
  line-height: 1.7;
  text-align: right;
  margin-bottom: 0;
}

/* --- Contact Section --- */
#contact {
  padding-bottom: 80px;
}

#contact a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2em;
}