/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: linear-gradient(135deg, #e0f7fa, #ede7f6);
  color: #1e293b;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
  background: #2563eb;
  color: #fff;
  padding: 20px 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo, .brand {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(45deg, #fbbf24, #fcd34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover, .nav a.active {
  color: #fbbf24;
}

/* ===== Hero Section ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  gap: 50px;
}

.hero-left h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #1e293b;
}

.hero-sub {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #334155;
}

.hero-cta .btn {
  padding: 12px 25px;
  margin-right: 15px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.btn {
  background-color: #2563eb;
  color: #fff;
}

.btn:hover {
  background-color: #1e40af;
}

.btn-outline {
  border: 2px solid #2563eb;
  background: transparent;
  color: #2563eb;
}

.btn-outline:hover {
  background-color: #2563eb;
  color: #fff;
}

.hero-image img {
  max-width: 250px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* ===== Features Section ===== */
.features {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 60px 0;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  flex: 1;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.card h3 {
  margin-bottom: 15px;
  color: #2563eb;
}

/* ===== Today's Pick ===== */
.today h2 {
  text-align: center;
  margin-bottom: 40px;
  font-family: 'Merriweather', serif;
  color: #2563eb;
}

.quote-big {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.quote-large {
  font-size: 1.6rem;
  font-family: 'Merriweather', serif;
  margin-bottom: 20px;
  color: #1e293b;
}

.quote-author {
  font-weight: 600;
  color: #2563eb;
}

/* ===== Stories Page ===== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.story-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.story-card img {
  width: 100%;
  height: 200px; /* fixed height for cards */
  object-fit: fill; /* ensures image fills card nicely */
}

.story-card:hover img {
  transform: scale(1.05);
}

.story-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-body h3 {
  margin-bottom: 10px;
  color: #2563eb;
}

.story-body p {
  flex: 1;
  color: #334155;
}

.read-more {
  margin-top: 15px;
  display: inline-block;
  text-decoration: none;
  color: #2563eb;
  font-weight: 600;
  transition: color 0.3s;
}

.read-more:hover {
  color: #fbbf24;
  text-decoration: underline;
}

/* ===== Individual Story Page ===== */
.story-hero {
  text-align: center;
  margin: 60px 0;
}

.story-hero img {
  max-width: 50%;
  height: 200px; /* smaller and consistent */
  object-fit: cover; /* crop/scale without distortion */
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.story-hero-text h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  margin-top: 20px;
  color: #2563eb;
}

.story-hero-text p {
  font-size: 1.1rem;
  color: #334155;
  margin-top: 10px;
}

.story-content {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin: 60px 0;
}

.story-content p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #1e293b;
  line-height: 1.7;
}

.story-content .story-image {
  width: 10%;
  margin: 20px 0;
  border-radius: 15px;
  object-fit: cover;
}

.story-content a.btn {
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  background: #2563eb;
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  transition: background 0.3s;
}

.story-content a.btn:hover {
  background: #1e40af;
}

/* ===== Quotes Section ===== */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.quote-card {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 20px;
  padding: 25px 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.quote-text {
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #1e293b;
}

.quote-author {
  font-weight: 600;
  color: #2563eb;
  text-align: right;
  font-size: 0.95rem;
}

.quote-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  background: #2563eb;
  color: #fff;
  font-size: 0.75rem;
  border-radius: 12px;
  text-transform: uppercase;
}

/* ===== About Section ===== */
.about-hero {
  text-align: center;
  margin: 60px 0;
}

.about-hero h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  color: #2563eb;
  margin-bottom: 20px;
}

.about-hero .lead {
  font-size: 1.1rem;
  color: #334155;
}

/* ===== Contact Section ===== */
.contact-container {
  display: flex;
  gap: 40px;
  margin: 60px 0;
  flex-wrap: wrap;
}

.contact-form-card {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-form-card h3 {
  color: #2563eb;
  margin-bottom: 20px;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
}

.contact-form-card button.btn {
  width: 100%;
  padding: 12px 25px;
  border-radius: 25px;
  border: none;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form-card button.btn:hover {
  background: #1e40af;
}

.contact-info {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card h4 {
  color: #2563eb;
  margin-bottom: 10px;
}

.info-card p {
  color: #334155;
  font-size: 1rem;
}

/* ===== Footer ===== */
.site-footer {
  background: #1e293b;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.site-footer a {
  color: #fbbf24;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-image img {
    max-width: 90%;
    margin-bottom: 30px;
  }

  .features {
    flex-direction: column;
  }

  .about-cards {
    flex-direction: column;
  }

  .about-creator {
    flex-direction: column;
    text-align: center;
  }

  .about-creator .creator-text {
    max-width: 100%;
  }

  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .nav a {
    margin-left: 15px;
    font-size: 0.9rem;
  }

  .hero-left h1 {
    font-size: 2rem;
  }

  .quote-large {
    font-size: 1.4rem;
  }

  .quote-card {
    padding: 25px 15px;
  }

  .story-body h3 {
    font-size: 1.2rem;
  }

  .story-hero-text h1 {
    font-size: 2rem;
  }

  .story-content {
    padding: 25px 15px;
  }
}

