/* Import Tailwind CSS */
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

/* Custom Styles for Iglesia Bautista Guayacanes */
:root {
  --primary-color: #4CAF50; /* Green accent */
  --secondary-color: #213547;
  --background-color: #ffffff;
  --text-color: #333;
  --font-family: 'Inter', system-ui, Avenir, Helvetica, Arial, sans-serif;
  --light-gray: #f9f9f9;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem 0;
  background-color: var(--light-gray);
}

nav a {
  color: var(--primary-color);
  margin: 5px 10px;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
  background-color: var(--primary-color);
  color: white;
  border-radius: 5px;
}

main {
  flex: 1;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

main h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

section {
  margin-bottom: 30px;
}

footer {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 1rem;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  margin: 0 0.5rem;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Social media links */
.social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.social-icon {
  width: 30px;
  height: 30px;
  margin: 0 10px;
}

/* Media queries for different screen sizes */
@media screen and (max-width: 768px) {
  header h1 {
    font-size: 24px;
  }

  nav {
    flex-direction: column;
    align-items: center;
  }

  nav a {
    margin: 5px 0;
  }
}

@media screen and (max-width: 480px) {
  header, nav, main, footer {
    padding: 10px;
  }

  h2 {
    font-size: 20px;
  }
}