/* ===================================
   uTurn Ministry - Custom Styles
   Modern, Clean, Professional Design
   =================================== */

/* ===== Global Styles ===== */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --accent-color: #2c3e50;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', serif;
    font-weight: 600;
    line-height: 1.3;
}

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

/* ===== Navigation Enhancements ===== */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    transition: transform 0.3s ease;
}

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

.nav-link {
    position: relative;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ===== Hero Section ===== */
.hero-section {
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center !important;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.hero-section p {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1.2s ease;
}

/* ===== Cards & Hover Effects ===== */
.card {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* ===== Buttons ===== */
.btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13,110,253,0.4);
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
}

/* ===== Section Spacing ===== */
section {
    padding: 4rem 0;
}

.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* ===== Typography Enhancements ===== */
.display-3, .display-5 {
    font-weight: 700;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* ===== Video Container ===== */
.ratio {
    transition: transform 0.3s ease;
}

.ratio:hover {
    transform: scale(1.02);
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll animations */
.fade-in {
    animation: fadeIn 0.8s ease;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px !important;
        padding-top: 80px !important;
    }

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

    .display-5 {
        font-size: 1.75rem !important;
    }

    .fs-4 {
        font-size: 1.1rem !important;
    }

    section {
        padding: 2rem 0;
    }

    .btn-lg {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand span {
        font-size: 1rem;
    }

    .navbar-brand img {
        height: 30px !important;
    }

    .card-body {
        padding: 1rem;
    }
}

/* ===== Loading Spinner (Optional) ===== */
.spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

/* ===== Accessibility ===== */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

/* ===== Custom Utilities ===== */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

/* ===== Smooth transitions for all interactive elements ===== */
a, button, .card, .btn, .nav-link {
    transition: all 0.3s ease;
}
