/* Custom CSS for Baba Olatunji Website */

:root {
  --primary-brown: #91866A;
  --dark-brown: #5A3C28;
  --light-brown: #B8A989;
  --accent: #D4A574;
  --text-dark: #2D2013;
  --text-light: #6B5D4F;
}

/* Typography */
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--dark-brown);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Custom brown color overrides for Semantic UI */
.ui.brown.button,
.ui.brown.buttons .button {
  background-color: var(--primary-brown);
}

.ui.brown.button:hover,
.ui.brown.buttons .button:hover {
  background-color: var(--dark-brown);
}

.ui.inverted.brown.segment,
.ui.inverted.brown.vertical.segment {
  background-color: var(--primary-brown);
}

.ui.brown.segment {
  border-top-color: var(--primary-brown);
  background-color: rgba(145, 134, 106, 0.1);
}

.ui.brown.header {
  color: var(--dark-brown);
}

/* Hero section spacing */
.hero-section {
  background-attachment: fixed;
}

/* Card hover effects */
.ui.card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(90, 60, 40, 0.15);
}

/* Improved readability */
.ui.segment p {
  margin-bottom: 1.2em;
}

.ui.large.text {
  font-size: 1.15rem;
  line-height: 1.8;
}

/* Link styling */
a {
  color: var(--dark-brown);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

/* Footer adjustments */
.footer.segment {
  background-color: var(--dark-brown) !important;
}

/* Responsive adjustments */
@media only screen and (max-width: 767px) {
  .hero-section {
    background-attachment: scroll;
    min-height: 400px !important;
  }

  .hero-section h1 {
    font-size: 2rem !important;
  }

  .hero-section h2 {
    font-size: 1.25rem !important;
  }
}

/* Icon colors */
i.icon.brown {
  color: var(--primary-brown);
}

/* Custom segment styling */
.ui.segment {
  border-radius: 8px;
}

/* Sticky sidebar */
.ui.sticky {
  position: sticky;
  top: 70px;
}

/* Image styling */
img {
  border-radius: 8px;
}

/* Quote styling */
.ui.header i.quote.icon {
  opacity: 0.5;
}
