/*
Theme Name: Morning Light Ministries
Author: Custom
Version: 1.0
Description: Clean ministry theme (Design C inspired)
*/

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #F5EFEA;
    color: #6E5A4E;
    line-height: 1.6;
}

a { color: inherit; }

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
}

h1 {
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #E6D3A3; /* soft gold */
}

h2 {
  font-weight: 400;
  letter-spacing: 0.3px;
}

p {
  font-family: 'Open Sans', sans-serif;
  color: #7A6A5A;
}

/* HEADER */
.site-header {
    background: #F5EFEA;
    border-bottom: 1px solid #e5dcd6;
    padding: 8px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px; /* equal left + right spacing */
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

/* FINAL LOGO SIZE */
.custom-logo-link img,
.logo img {
    max-height: 100px !important;
    height: auto !important;
    width: auto !important;
}
.logo {
    max-height: 80px !important;
    height: auto !important;
    width: auto !important;
}

/* Prevent menu from squishing logo */
.main-nav {
    flex-shrink: 0;
}
.main-nav a:hover { color: #B07A7A; }

.give-btn {
    background: #B07A7A;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
}

/* HERO */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Typography upgrade */
.hero h1 {
    font-size: 54px;
    line-height: 1.2;
    color: #DCC48E;
    
}

.hero p {
    font-size: 18px;
    margin-top: 15px;
    color: #DCC48E;
}

.hero-inner { max-width: 700px; }

/* Button polish */
.btn {
    display: inline-block;
    padding: 14px 30px;
    margin: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-primary {
    background-color: #B07A7A;
    color: white;
}

.btn-secondary {
    border: 1px solid white;
    color: white;
}

/* SECTIONS */
.section {
    padding: 110px 20px;
    text-align: center;
}

.section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    margin-bottom: 20px;
}

.narrow {
    max-width: 600px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
}

.alt-bg { background-color: #EFE3DB; }

footer {
    background-color: #E8D9CF;
    text-align: center;
    padding: 30px;
    font-size: 12px;
}

/* WELCOME SECTION */
.welcome-section {
    background: #ffffff;
    padding: 120px 20px;
}

/* GRID LAYOUT */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* IMAGE CONTAINER */
.welcome-images {
    position: relative;
    display: grid;
    gap: 20px;
    z-index: 1;
}

/* IMAGES ABOVE */
.welcome-images img {
    position: relative;
    z-index: 2;
    border-radius: 10px;
}

/* BACKGROUND BLOCK BASE */
.image-bg {
    position: absolute;
    width: 520px;
    height: 220px;
    z-index: 0;
    border-radius: 12px;
}

/* FIRST SQUARE (BEIGE) */
.bg-one {
    background: #EFE3DB;
    top: -80px;
    left: -80px;
}

/* SECOND SQUARE (DUSTY ROSE) */
.bg-two {
    background: #B07A7A;
    bottom: -80px;
    right: -40px;
}

/* TEXT */
.welcome-content {
    max-width: 500px;
}

/* SCRIPT HEADER */
.script-heading {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 28px;
    color: #B07A7A;
    margin-bottom: 10px;
}

/* MAIN TITLE */
.welcome-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* PARAGRAPHS */
.welcome-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* MENU RESET */
.menu {
    list-style: none;
    display: flex;
    align-items: center;
}

.menu li {
    margin-left: 50px;
}

.menu a {
    text-decoration: none;
    font-size: 14px;
    color: #6E5A4E;
}

.menu a:hover {
    color: #B07A7A;
}

.menu li:last-child a {
    background: #B07A7A;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
}

/* DROPDOWN BASE */
.menu li {
    position: relative;
}

/* HIDE SUBMENU */
.menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    z-index: 999;
}

/* SHOW ON HOVER */
.menu li:hover > ul {
    display: flex;
}

/* SUBMENU ITEMS */
.menu ul li {
    margin: 0;
}

/* LINKS */
.menu ul a {
    padding: 10px 20px;
    display: block;
    color: #6E5A4E;
    font-size: 14px;
}

/* HOVER EFFECT */
.menu ul a:hover {
    background: #F5EFEA;
    color: #B07A7A;
}

/* REMOVE BULLETS */
.menu,
.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* WRAPPER */
.carousel-wrapper {
    position: relative;
}

/* CAROUSEL */
.post-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 40px 10px;
}

/* HIDE SCROLLBAR */
.post-carousel::-webkit-scrollbar {
    display: none;
}

/* CARD */
.post-card {
    min-width: 280px;
    max-width: 280px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

/* HOVER EFFECT */
.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* IMAGE */
.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* CONTENT */
.post-content {
    padding: 20px;
}

.post-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #6E5A4E;
}

.read-more {
    font-size: 14px;
    color: #B07A7A;
}

/* ARROWS */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #F5EFEA;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 50%;

    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #B07A7A;
    z-index: 10;
}

.carousel-btn.left {
    left: -10px;
}

.carousel-btn.right {
    right: -10px;
}

.carousel-btn:hover {
    background: #B07A7A;
    color: white;
}

/* SOFT BACKGROUND BLOCK */
.welcome-content {
    position: relative;
    padding: 30px;
    background: #F9F6F2;
    border-radius: 12px;
}

/* DECORATIVE BLOCK */
.welcome-content::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: #EFE3DB;
    z-index: -1;
    border-radius: 8px;
}



/* ===== FULL FORM BRAND OVERRIDE ===== */

.community-form * {
    font-family: 'Open Sans', sans-serif !important;
    color: #6E5A4E;
}

/* INPUT FIELDS */
.community-form input,
.community-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;

    border: 1px solid #E5DCD6;
    border-radius: 8px;

    background: #FAF7F4;
    font-size: 14px;

    transition: all 0.3s ease;
}

/* FOCUS STATE */
.community-form input:focus,
.community-form textarea:focus {
    outline: none;
    border-color: #B07A7A;
    background: white;
    box-shadow: 0 0 0 2px rgba(176,122,122,0.15);
}
.community-form label {
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
    color: #8C776B;
}
/* BUTTON */
.community-form button,
.community-form input[type="submit"],
.ff-btn-submit {
    background: #B07A7A !important;
    color: white !important;

    padding: 14px 24px !important;
    border-radius: 8px !important;
    border: none !important;

    font-size: 14px;
    letter-spacing: 0.5px;

    cursor: pointer;
    transition: all 0.3s ease;
}

/* HOVER */
.community-form button:hover,
.ff-btn-submit:hover {
    background: #9a6666 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.community-form {
    max-width: 500px;
    margin: 0 auto;
}
/* REMOVE DEFAULT STYLING */
.ff-el-group,
.ff-el-form-control {
    background: transparent !important;
    border: none !important;
}
.community-box {
    background: white;
    border-radius: 14px;
    padding: 60px 40px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}