/* Google Font (Add this in your HTML <head>) */
/* <link href="https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap" rel="stylesheet"> */

/* Reset and basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global link style */
a {
  color: #ffb6c1;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
}


body {
  font-family: 'Playfair Display', serif;
  background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)), url('/images/archana.jpg') no-repeat center/cover;
  color: #e0e0e0;
  line-height: 1.6;
  padding: 0;
}

/* Header */
header {
  text-align: center;
  padding: 30px 20px;
}

header h1 {
  color: #ff6b6b;
  font-size: 2.5em;
  font-weight: 700;
}

header p {
  color: #d4b5c5;
  font-size: 1.1em;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}

/* Story Grid */
.story-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.story-tile {
  background: linear-gradient(145deg, #1c1c1c, #2a2a2a);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #333;
  box-shadow: 0 0 15px rgba(255, 133, 162, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 320px;
  max-width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  background-color: #2a2a2a;
  border-radius: 6px;
  margin-bottom: 12px;
}

.story-tile:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(255, 100, 150, 0.3);
}

/* Text Styles */
.story-tile h3 {
  color: #ff6b6b;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.2em;
  font-style: italic;
  letter-spacing: 0.5px;
}

.story-tile p {
  color: #d4b5c5;
  font-size: 0.95em;
  font-family: 'Georgia', serif;
}

.story-tile a {
  text-decoration: none;
  color: inherit;
  display: block;
  max-width: 300px;
  margin: 0 auto;
}



/* Language Selection */
.language-selection {
  text-align: center;
  margin: 30px auto;
  max-width: 600px;
}

.language-selection h2 {
  font-size: 2em;
  color: #ffb6c1;
  /* Different from header h1 for hierarchy */
  margin-bottom: 20px;
}

.language-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  /* Allow buttons to stack on small screens */
}

.language-button {
  padding: 15px 30px;
  font-size: 1.2em;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  background-color: #e91e63;
  transition: background-color 0.3s;
}

.language-button:hover {
  background-color: #c2185b;
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
  }

  header p {
    font-size: 1em;
  }

  .language-selection {
    margin: 20px auto;
    padding: 0 15px;
  }

  .language-selection h2 {
    font-size: 1.6em;
  }

  .language-button {
    padding: 12px 25px;
    font-size: 1em;
    flex: 1 1 45%;
    /* Two buttons side by side */
  }
}

@media (max-width: 480px) {
  header {
    padding: 20px 15px;
  }

  header h1 {
    font-size: 1.8em;
  }

  header p {
    font-size: 0.9em;
  }

  .language-selection {
    margin: 15px auto;
  }

  .language-selection h2 {
    font-size: 1.4em;
  }

  .language-button {
    padding: 10px 20px;
    font-size: 0.9em;
    flex: 1 1 100%;
    /* Stack buttons vertically */
  }
}