/* ===========================================================
   COVENANT LIFE MINISTRY - MASTER STYLESHEET
   Created & Organized by David Ikechukwu
   Unified for 10 Pages
   =========================================================== */


/* ===========================================================
   1. GLOBAL VARIABLES
   =========================================================== */
:root {
  --primary-color: #2C3E50;      /* Dark Navy */
  --secondary-color: #F1C40F;    /* Gold */
  --accent-color: #7DCEA0;       /* Soft Green */
  --background-color: #FDFEFE;   /* Off White */
  --text-color: #2D3436;         /* Dark Gray */
  --cta-color: #E67E22;          /* Orange */
}


/* ===========================================================
   2. GLOBAL RESET & BODY
   =========================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}


/* ===========================================================
   3. HEADER & NAVIGATION
   =========================================================== */
header, .header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo img {
  height: 60px;
}

.nav-menu {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  transition: 0.3s;
  font-weight: 500;
}

.nav-menu a:hover, .nav-menu a.active {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}


/* ===========================================================
   4. FOOTER
   =========================================================== */
.footer .column {
  flex: 1 1 300px;
  margin: 10px;
}

.footer h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.footer p, .footer a {
  font-size: 14px;
  color: var(--background-color);
  text-decoration: none;
  margin: 5px 0;
  display: block;
}

.footer a:hover {
  color: var(--cta-color);
}

.newsletter input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  background: var(--accent-color);
  color: white;
  border-radius: 5px;
}

.newsletter button {
  width: 100%;
  padding: 10px;
  background: var(--cta-color);
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--background-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 40px 20px;
  align-items: flex-start;
}

/* Copyright Section */
.copyright {
  background-color: #1a1a1a;
  color: var(--secondary-color);
  text-align: center;
  padding: 20px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px; /* ensures vertical centering */
  border-top: 2px solid var(--primary-color);
}


/* ===========================================================
   5. HOME PAGE
   =========================================================== */
.hero { background: var(--accent-color); color: var(--primary-color); text-align: center; padding: 60px 20px; } .hero h1 {font-size:2.5rem;margin-bottom:10px;} .hero p {font-size:1.2rem;} .slideshow-container { max-width: 1000px; position: relative; margin: 20px auto; } .mySlides {display:none;} .mySlides img { width: 100%; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); } h1,h2,h3 {color: var(--primary-color);margin-bottom:10px;} .line {width:80px;height:4px;background:var(--secondary-color);margin:10px auto;} .content-section {display:flex;justify-content:center;margin:40px auto;max-width:900px;padding:20px;} .card {background:white;padding:20px;border-radius:8px;box-shadow:0 4px 8px rgba(0,0,0,0.1);} .card p {margin-bottom:12px;} .media-section {text-align:center;padding:40px 20px;} .media-cards {display:flex;flex-wrap:wrap;gap:20px;justify-content:center;margin-top:20px;} .media-card { background:white; padding:20px; border-radius:8px; width:280px; box-shadow:0 4px 8px rgba(0,0,0,0.1); } .media-card img {height:60px;margin-bottom:10px;} .media-card h3 {color:var(--cta-color);} .media-card a {color:var(--primary-color);font-weight:bold;text-decoration:none;} .ministries-section {padding:40px 20px;text-align:center;} .ministries-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:20px; margin-top:20px; } .ministry { background:white; padding:20px; border-radius:8px; box-shadow:0 4px 8px rgba(0,0,0,0.1); text-align:center; } .ministry img {width:100%;height:150px;object-fit:cover;border-radius:6px;margin-bottom:10px;} .ministry h3 {color:var(--cta-color);margin-bottom:8px;} 

/* ===========================================================
   6. ABOUT PAGE
   =========================================================== */
.hero { background: url('IMG_0028.JPG') center/cover no-repeat; height: 400px; display: flex; align-items: center; justify-content: center; position: relative; color: white; text-shadow: 2px 2px 4px rgba(0,0,0,0.6); font-size: 40px; font-weight: bold; } /* Media Section */ .media-section { text-align: center; padding: 60px 20px; } .media-section h2 { font-size: 36px; color: var(--primary-color); margin-bottom: 20px; } .media-section .line { height: 4px; background-color: var(--secondary-color); margin: 10px auto 30px; width: 60px; } .media-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; } .media-card { width: 280px; background-color: white; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); padding: 20px; transition: transform 0.3s; } .media-card:hover { transform: translateY(-5px); border-bottom: 4px solid var(--accent-color); border-top: 4px solid var(--accent-color); } .media-card img { width: 60px; height: 60px; margin-bottom: 20px; } .media-card h3 { font-size: 22px; margin-bottom: 10px; color: var(--cta-color); } .media-card p { font-size: 15px; color: #666; margin-bottom: 10px; font-family: "Montserrat", Sans-serif; } .media-card a { color: var(--primary-color); text-decoration: none; font-weight: bold; } .media-card a:hover { text-decoration: underline; } /* Call to Action */ .cta-section { background-color: var(--primary-color); color: white; text-align: center; padding: 60px 20px; } .cta-section h2 { font-size: 36px; margin-bottom: 20px; } .cta-section p { font-size: 18px; margin-bottom: 30px; } .cta-section a { background-color: var(--secondary-color); color: var(--primary-color); padding: 15px 30px; border-radius: 30px; text-decoration: none; font-weight: bold; transition: 0.3s; } .cta-section a:hover { background-color: var(--cta-color); color: white; }


/* ===========================================================
   7. APPOINTMENT PAGE
   =========================================================== */
/* Styles for booking forms and schedule layout */


/* ===========================================================
   8. RESOURCES PAGE
   =========================================================== */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(rgba(44,62,80,0.8), rgba(44,62,80,0.8)),
              url("hero-bg.jpg") center/cover no-repeat;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: auto;
}

.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-size: 2rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.resource-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, border-bottom 0.3s;
}

.resource-card:hover {
  transform: translateY(-5px);
  border-bottom: 4px solid var(--accent-color);
}

.resource-card h3 {
  color: var(--cta-color);
  font-size: 22px;
}

.resource-card p {
  margin: 10px 0 20px;
  font-size: 15px;
}

.resource-card a {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: 0.3s;
}

.resource-card a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}


/* ===========================================================
   9. SERMONS PAGE
   =========================================================== */
.nav-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; background-color: #2C3E50; padding: 10px 0; } .nav-menu a { color: white; text-decoration: none; padding: 8px 15px; } .nav-menu a:hover, .nav-menu a.active { background-color: #F1C40F; color: #2C3E50; border-radius: 5px; } .dropdown { position: relative; } .dropdown-content { display: none; position: absolute; background-color: #fff; min-width: 160px; box-shadow: 0px 8px 16px rgba(0,0,0,0.2); z-index: 1; } .dropdown:hover .dropdown-content { display: block; } .dropdown-content a { color: #333; padding: 10px; text-decoration: none; display: block; } .dropdown-content a:hover { background-color: #ddd; } .section { padding: 40px 20px; max-width: 1200px; margin: auto; } .section h2 { text-align: center; margin-bottom: 20px; color: #2C3E50; } .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; } .card { background: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); } .card h3 { color: #007bff; } .card p { font-size: 15px; } .card a { display: inline-block; margin-top: 10px; color: #E67E22; text-decoration: none; font-weight: bold; } .card a:hover { text-decoration: underline; }


/* ===========================================================
   10. BOOK PAGE
   =========================================================== */
.nav-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; background-color: #2C3E50; padding: 10px 0; } .nav-menu a { color: white; text-decoration: none; padding: 8px 15px; } .nav-menu a:hover, .nav-menu a.active { background-color: #F1C40F; color: #2C3E50; border-radius: 5px; } .dropdown { position: relative; } .dropdown-content { display: none; position: absolute; background-color: #fff; min-width: 160px; box-shadow: 0px 8px 16px rgba(0,0,0,0.2); z-index: 1; } .dropdown:hover .dropdown-content { display: block; } .dropdown-content a { color: #333; padding: 10px; text-decoration: none; display: block; } .dropdown-content a:hover { background-color: #ddd; } .section { padding: 40px 20px; max-width: 1200px; margin: auto; } .section h2 { text-align: center; margin-bottom: 20px; color: #2C3E50; } .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; } .card { background: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); } .card h3 { color: #007bff; } .card p { font-size: 15px; } .card a { display: inline-block; margin-top: 10px; color: #E67E22; text-decoration: none; font-weight: bold; } .card a:hover { text-decoration: underline; }


/* ===========================================================
   11. DEVOTIONALS PAGE
   =========================================================== */
.nav-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; background-color: #2C3E50; padding: 10px 0; } .nav-menu a { color: white; text-decoration: none; padding: 8px 15px; } .nav-menu a:hover, .nav-menu a.active { background-color: #F1C40F; color: #2C3E50; border-radius: 5px; } .dropdown { position: relative; } .dropdown-content { display: none; position: absolute; background-color: #fff; min-width: 160px; box-shadow: 0px 8px 16px rgba(0,0,0,0.2); z-index: 1; } .dropdown:hover .dropdown-content { display: block; } .dropdown-content a { color: #333; padding: 10px; text-decoration: none; display: block; } .dropdown-content a:hover { background-color: #ddd; } .section { padding: 40px 20px; max-width: 1200px; margin: auto; } .section h2 { text-align: center; margin-bottom: 20px; color: #2C3E50; } .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; } .card { background: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); } .card h3 { color: #007bff; } .card p { font-size: 15px; } .card a { display: inline-block; margin-top: 10px; color: #E67E22; text-decoration: none; font-weight: bold; } .card a:hover { text-decoration: underline; }


/* ===========================================================
   12. CONTACT PAGE
   =========================================================== */
.contact-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

.contact-section h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-card h3 {
  margin-bottom: 10px;
  color: var(--cta-color);
}

.contact-card p, .contact-card a {
  color: var(--text-color);
  margin: 5px 0;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--cta-color);
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.contact-form button {
  background-color: var(--cta-color);
  border: none;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}


/* ===========================================================
   13. TESTIMONY PAGE
   =========================================================== */
.container { max-width: 800px; margin: 20px auto; background: white; padding: 20px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); } form input, form textarea, form button { width: 100%; padding: 10px; margin: 8px 0; border: 1px solid #ccc; border-radius: 6px; font-family: inherit; } form button { background: var(--cta-color); color: white; font-weight: bold; cursor: pointer; border: none; } form button:hover { background: var(--secondary-color); color: var(--primary-color); } .testimony { background: #f9fafb; border-radius: 8px; padding: 15px; margin-bottom: 15px; border-left: 5px solid var(--primary-color); box-shadow: 0 2px 5px rgba(0,0,0,0.05); } .t-head { display: flex; align-items: center; margin-bottom: 10px; } .avatar { background: var(--primary-color); color: white; border-radius: 50%; width: 45px; height: 45px; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 18px; margin-right: 10px; } .t-photo { width: 100%; border-radius: 6px; margin-top: 10px; } .action-btns { display: flex; gap: 8px; margin-top: 10px; } .edit-btn, .delete-btn { border: none; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-size: 14px; } .edit-btn { background: var(--secondary-color); color: var(--primary-color); font-weight: bold; } .delete-btn { background: #e74c3c; color: white; } .empty { text-align: center; color: #888; padding: 20px 0; }

/* ===========================================================
   14. UPCOMING EVENTS PAGE
   =========================================================== */
.hero-events {
  background: var(--accent-color);
  color: var(--primary-color);
  text-align: center;
  padding: 60px 20px;
}

.hero-events h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-events p {
  font-size: 1.2rem;
}

.events-section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.event-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.event-card-content {
  padding: 20px;
}

.event-card h3 {
  color: var(--cta-color);
  margin-bottom: 8px;
}

.event-date {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.event-card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.event-card button {
  background: var(--cta-color);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.3s;
}

.event-card button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.add-event-btn {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.add-event-btn:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}
footer { background: var(--primary-color); color: white; text-align: center; padding: 15px; margin-top: 40px;}