/* Leland LightHouse Youth Center - Custom Styles */
/* Coastal-Inspired Color Palette */

:root {
    --deep-water: #25272B;
    --aqua: #8D9E99;
    --thunderstorm: #5A6366;
    --butter: #F4E885;
    --sky: #C6CFD1;
    --porcelain: #F3F1E9;

    /* Legacy mappings for compatibility */
    --primary-color: var(--aqua);
    --secondary-color: var(--sky);
    --lighthouse-gold: var(--butter);
    --text-color: var(--deep-water);
    --light-bg: var(--porcelain);

    /* Typography */
    --font-subhead: 'Birdie', Georgia, serif;
    --font-header: 'Century Schoolbook', 'Century Schoolbook L', 'Bookman Old Style', serif;
    --font-accent: 'Libre Caslon Text', Georgia, serif;
    --font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

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

main {
    flex: 1;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--aqua) 0%, var(--sky) 100%) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: var(--font-header);
    font-weight: 400;
    font-size: 1.5rem;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400;
}

.nav-link:hover {
    color: var(--butter) !important;
}

.nav-link.active {
    border-bottom: 3px solid var(--butter);
    color: white !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--aqua) 0%, var(--sky) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-family: var(--font-header);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero .lead {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero img {
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.hero img:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid var(--sky);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: white;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(141, 158, 153, 0.3);
    border-color: var(--aqua);
}

.card-header {
    font-family: var(--font-header);
    background-color: var(--aqua);
    color: white;
    font-weight: 400;
    border-bottom: 2px solid var(--butter);
}

.card-title {
    font-family: var(--font-header);
    color: var(--deep-water);
}

.card-text {
    font-family: var(--font-body);
}

.card-icon {
    font-size: 3rem;
    color: var(--aqua);
    margin-bottom: 15px;
}

/* Scripture References */
.scripture-references {
    background-color: var(--porcelain);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--aqua);
}

.scripture-references p {
    color: var(--deep-water);
    line-height: 1.6;
}

.scripture-references i.fa-bible {
    color: var(--aqua);
    margin-right: 5px;
}

/* Programs & Events */
.program-card, .event-card {
    margin-bottom: 30px;
}

.program-icon, .event-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background-color: var(--porcelain);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info {
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
}

.contact-info i {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Footer */
footer {
    margin-top: auto;
    background-color: var(--deep-water) !important;
}

footer a:hover {
    color: var(--butter) !important;
    transition: color 0.3s ease;
}

.social-links a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: scale(1.2);
    color: var(--butter) !important;
}

footer .border-secondary {
    border-color: var(--sky) !important;
}

/* Buttons */
.btn, .btn-primary, .btn-secondary, .btn-success, .btn-light {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--aqua);
    border-color: var(--aqua);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--sky);
    border-color: var(--sky);
    color: var(--deep-water);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-success {
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Section Titles */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--lighthouse-gold);
}

/* Call to Action sections */
.bg-primary {
    background: linear-gradient(135deg, var(--aqua) 0%, var(--sky) 100%) !important;
}

.bg-light {
    background-color: var(--porcelain) !important;
}

/* Text colors */
.text-primary {
    color: var(--aqua) !important;
}

.text-muted {
    color: var(--sky) !important;
}

/* Alert styling */
.alert-warning {
    background-color: var(--butter);
    border-color: var(--butter);
    color: var(--deep-water);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    color: var(--deep-water);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

/* Subhead styling */
.subhead, .lead {
    font-family: var(--font-subhead);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Accent header styling */
.accent-header, .section-title {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
}

/* Body text */
p, li, td, th, label, .body-text {
    font-family: var(--font-body);
    font-weight: 400;
}

/* Badges */
.badge.bg-success {
    background-color: var(--aqua) !important;
}

.badge.bg-warning {
    background-color: var(--butter) !important;
    color: var(--deep-water) !important;
}

/* Links */
a {
    color: var(--aqua);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Borders */
hr {
    border-color: var(--sky);
}

/* Outline buttons */
.btn-outline-primary {
    color: var(--aqua);
    border-color: var(--aqua);
}

.btn-outline-primary:hover {
    background-color: var(--aqua);
    border-color: var(--aqua);
    color: white;
}

.btn-light {
    background-color: var(--porcelain);
    border-color: var(--sky);
    color: var(--deep-water);
}

.btn-light:hover {
    background-color: var(--sky);
    border-color: var(--aqua);
    color: var(--deep-water);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--butter);
    color: var(--butter);
}

/* Forms */
.form-control:focus {
    border-color: var(--aqua);
    box-shadow: 0 0 0 0.2rem rgba(141, 158, 153, 0.25);
}

.form-check-input:checked {
    background-color: var(--aqua);
    border-color: var(--aqua);
}

.form-check-input:focus {
    border-color: var(--aqua);
    box-shadow: 0 0 0 0.25rem rgba(141, 158, 153, 0.25);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--porcelain);
}

::-webkit-scrollbar-thumb {
    background: var(--aqua);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--sky);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .card-icon {
        font-size: 2rem;
    }
}

/* Bible Reference Styling */
.bible-ref {
    color: var(--primary);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: var(--primary);
    transition: all 0.2s ease;
}

.bible-ref:hover {
    color: var(--sky);
    text-decoration-style: solid;
    font-weight: 500;
}

/* Bible Modal Custom Styling */
#bibleModal .modal-body blockquote {
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 1rem 1.5rem;
    background-color: var(--porcelain);
    border-left: 4px solid var(--primary);
    margin-bottom: 1rem;
}

#bibleModal .modal-body sup {
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.25rem;
}
