/* Color Palette & Variables */
:root {
    --navy-blue: #1b2a47; /* From MSGF Logo */
    --coral-red: #e64d3b; /* From MSGF Logo */
    --soft-blush: #fcf5f5; /* Feminine soft touch background */
    --rose-gold: #c78b81;
    --text-dark: #333333;
    --text-light: #7a7a7a;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Playfair Display', serif;
}

.text-navy {
    color: var(--navy-blue) !important;
}

.text-coral {
    color: var(--coral-red) !important;
}

.bg-navy {
    background-color: var(--navy-blue) !important;
}

.bg-light-pink {
    background-color: var(--soft-blush) !important;
}

/* Navigation */
.navbar {
    transition: all 0.4s ease-in-out;
    background-color: transparent;
    padding: 20px 0;
}

    .navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        padding: 10px 0;
    }

.navbar-brand .brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #ffffff;;
    transition: color 0.3s;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(10deg);
}

.navbar-dark-text .nav-link,
.navbar-dark-text .brand-text {
    color: var(--navy-blue) !important;
}

.nav-link {
    font-weight: 500;
    color: white !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: var(--navy-blue) !important;
}

.navbar.scrolled .navbar-brand .brand-text {
    color: var(--navy-blue) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--coral-red);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: url('../img/hero.jpg') center center/cover no-repeat;
    position: relative;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27,42,71,0.85) 0%, rgba(230,77,59,0.4) 100%);
}

.page-header {
    height: 40vh;
    padding-top: 80px;
    position: relative;
}

/* Buttons */
.custom-btn {
    background-color: var(--coral-red);
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

    .custom-btn:hover {
        background-color: var(--navy-blue);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(27, 42, 71, 0.2) !important;
    }

/* Custom Elements */
.image-zoom {
    transition: transform 0.6s ease;
}

.image-card-wrapper:hover .image-zoom {
    transform: scale(1.05);
}

.custom-card {
    transition: all 0.4s ease;
}

    .custom-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    }

.read-more-link {
    transition: all 0.3s ease;
}

    .read-more-link:hover {
        color: var(--navy-blue) !important;
        padding-left: 5px;
    }

/* Forms */
.custom-input {
    border: 1px solid rgba(27, 42, 71, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    background-color: #fff;
    transition: all 0.3s ease;
}

    .custom-input:focus {
        border-color: var(--rose-gold);
        box-shadow: 0 0 0 0.25rem rgba(199, 139, 129, 0.2);
    }

/* Footer */
.footer-link {
    transition: color 0.3s ease;
}

    .footer-link:hover {
        color: var(--coral-red) !important;
    }

.footer-social-link {
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

    .footer-social-link:hover {
        color: var(--coral-red) !important;
        transform: translateY(-3px);
    }

/* Article Specific Styles (You can move these to styles.css) */
.article-hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(to bottom, rgba(27, 42, 71, 0.3), rgba(27, 42, 71, 0.9)), url('../img/article-hero.jpg') center/cover no-repeat;
    padding-top: 80px; /* Accounts for fixed nav */
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
}

    .article-body p::first-letter {
        /* Drop Cap for first paragraph */
        float: left;
        font-family: 'Playfair Display', serif;
        font-size: 4rem;
        line-height: 0.8;
        padding-right: 12px;
        padding-top: 8px;
        color: var(--coral-red);
    }

.custom-blockquote {
    border-left: 4px solid var(--coral-red);
    background-color: var(--soft-blush);
    padding: 2rem;
    border-radius: 0 16px 16px 0;
    margin: 2.5rem 0;
}

    .custom-blockquote p {
        font-family: 'Playfair Display', serif;
        font-size: 1.3rem;
        font-style: italic;
        color: var(--navy-blue);
        margin-bottom: 0;
    }
/* Override drop cap for subsequent paragraphs */
.article-body p:not(:first-of-type)::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    padding: 0;
    color: inherit;
}

/* Event Page Specific Styles */
.event-date-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    color: var(--navy-blue);
    min-width: 70px;
}

    .event-date-badge .day {
        color: var(--coral-red);
    }

.btn-event-outline {
    border: 2px solid var(--coral-red);
    color: var(--coral-red);
    transition: all 0.3s ease;
    background: transparent;
}

    .btn-event-outline:hover {
        background: var(--coral-red);
        color: white;
        box-shadow: 0 5px 15px rgba(230, 77, 59, 0.2);
    }

/* Smooth Filter Transitions */
.event-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

    .event-item.filter-hidden {
        opacity: 0 !important;
        transform: scale(0.8);
        pointer-events: none;
    }

    .event-item.filter-removed {
        display: none !important;
    }

/* Gallery Specific Styles */
.gallery-item {
    border-radius: 1rem; /* rounded-4 equivalent */
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

    .gallery-item img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .gallery-item:hover img {
        transform: scale(1.08);
    }

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(27, 42, 71, 0.8) 0%, rgba(27, 42, 71, 0) 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.sidebar-sticky {
    top: 100px;
}

.social-share-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--soft-blush);
    color: var(--navy-blue);
    transition: all 0.3s ease;
}

    .social-share-btn:hover {
        background: var(--coral-red);
        color: white;
        transform: translateY(-3px);
    }