/* ============================================
   Ruwe Holy Ghost Church EA - Public Website
   Colors: Black, White, Red, Gradients
   Fonts: Sorts Mill Goudy (Italic), Lora, Roboto
   Mobile-First Responsive Design
   ============================================ */

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-red: #dc143c;
    --color-dark-gray: #1a1a1a;
    --color-light-gray: #f5f5f5;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Lora', serif;
    --font-accent: 'Sorts Mill Goudy', serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-black);
    background: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HEADER STYLES
   ============================================ */

.site-header {
    background: var(--color-black);
    color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-top {
    background: linear-gradient(135deg, var(--color-dark-gray) 0%, var(--color-black) 100%);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    display: none;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-contact span {
    margin-right: 1.5rem;
}

.header-contact i {
    margin-right: 0.3rem;
    color: var(--color-red);
}

.header-social a {
    color: var(--color-white);
    margin-left: 1rem;
    transition: color 0.3s;
}

.header-social a:hover {
    color: var(--color-red);
}

.main-nav {
    padding: 0.8rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-white);
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 0.8rem;
}

.logo-text {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    display: none;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-white);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: var(--color-black);
    list-style: none;
    padding: 2rem 0;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.nav-menu.active {
    right: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    color: var(--color-white);
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--color-dark-gray);
    border-left-color: var(--color-red);
}

.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    list-style: none;
    background: var(--color-dark-gray);
    margin: 0;
    padding: 0.5rem 0;
    min-width: 220px;
    z-index: 1000;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.active {
    display: block;
}

.nav-dropdown-menu a {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    color: var(--color-white);
    border-left: 3px solid transparent;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background: var(--color-black);
    color: var(--color-red);
    border-left-color: var(--color-red);
}

.nav-menu .btn-donate {
    margin: 1rem 1.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--color-red);
    border-radius: 5px;
    text-align: center;
    border-left: none !important;
}

.nav-menu .btn-donate:hover {
    background: #b01030;
}

.nav-menu .login-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-red);
    color: var(--color-white);
    margin-left: 1rem;
    transition: all 0.3s;
    border-left: none !important;
}

.nav-menu .login-icon:hover {
    background: #b01030;
    transform: scale(1.1);
}

.nav-menu .login-icon i {
    font-size: 1.5rem;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.site-footer {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-gray) 100%);
    color: var(--color-white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: var(--font-secondary);
    color: var(--color-red);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-tagline {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.footer-motto {
    font-family: var(--font-accent);
    font-size: 21px;
    color: var(--color-red);
    margin: 0.5rem 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--color-red);
}

.footer-section p {
    margin: 0.5rem 0;
    line-height: 1.8;
}

.footer-section i {
    color: var(--color-red);
    margin-right: 0.5rem;
    width: 20px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark-gray);
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 1.9rem;
}

.footer-social a:hover {
    background: var(--color-red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom p {
    margin: 0.3rem 0;
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ============================================
   MAIN CONTENT STYLES
   ============================================ */

.main-content {
    min-height: 60vh;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom left, var(--color-red) 0%, var(--color-black) 100%);
    color: var(--color-white);
    padding: 4rem 1rem;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .tagline {
    font-family: var(--font-accent);
    font-size: 21px;
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--color-red);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #b01030;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(220, 20, 60, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* Section Styles */
.section {
    padding: 3rem 1rem;
}

.section-dark {
    background: linear-gradient(135deg, var(--color-dark-gray) 0%, var(--color-black) 100%);
    color: var(--color-white);
}

.section-light {
    background: var(--color-light-gray);
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.section-title.red {
    color: var(--color-red);
}

.section-subtitle {
    font-family: var(--font-accent);
    font-size: 21px;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Content Blocks */
.content-block {
    margin-bottom: 2rem;
}

.content-block h2 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-red);
}

.content-block h3 {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--color-red);
}

.content-block p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-block ul,
.content-block ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-block li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: var(--color-white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
    font-family: var(--font-secondary);
    color: var(--color-red);
    margin-bottom: 1rem;
}

.card.dark {
    background: var(--color-dark-gray);
    color: var(--color-white);
}

/* Martyrs List */
.martyrs-list {
    list-style: none;
    margin-left: 0;
}

.martyrs-list li {
    padding: 1rem;
    background: var(--color-white);
    margin-bottom: 1rem;
    border-left: 4px solid var(--color-red);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.martyrs-list li strong {
    color: var(--color-red);
    font-size: 1.1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-red);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    background: var(--color-red);
    border-radius: 50%;
}

.timeline-item h4 {
    font-family: var(--font-secondary);
    color: var(--color-red);
    margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--color-light-gray);
    border-radius: 8px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-red);
    margin-right: 1rem;
    min-width: 30px;
}

.contact-item a {
    color: var(--color-black);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--color-red);
}

/* Map Container */
.map-container {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.payment-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.payment-card h3 {
    font-family: var(--font-secondary);
    color: var(--color-red);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.payment-card .payment-detail {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--color-light-gray);
    border-radius: 5px;
}

.payment-card .payment-label {
    font-weight: 700;
    color: var(--color-black);
    display: block;
    margin-bottom: 0.3rem;
}

.payment-card .payment-value {
    font-size: 1.2rem;
    color: var(--color-red);
    font-weight: 500;
}

/* Social Links Grid */
.social-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--color-light-gray);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-black);
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.8rem;
    margin-right: 1rem;
    min-width: 40px;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (min-width: 600px) {
    .header-top {
        display: block;
    }
    
    .logo-text {
        display: inline;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* ============================================
   RESPONSIVE - DESKTOP
   ============================================ */

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        max-width: none;
        display: flex;
        padding: 0;
        background: transparent;
        overflow: visible;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        padding: 0.5rem 1rem;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: transparent;
        border-bottom-color: var(--color-red);
        border-left-color: transparent;
    }
    
    .nav-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
        max-height: 70vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-dropdown-menu a {
        border-left: none;
        border-bottom: none;
    }

    .nav-dropdown-menu a:hover,
    .nav-dropdown-menu a.active {
        background: var(--color-black);
        border-bottom: none;
    }
    
    .nav-menu .btn-donate {
        margin: 0 0 0 1rem;
        padding: 0.6rem 1.2rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero .tagline {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 4rem 1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .site-header,
    .site-footer,
    .whatsapp-float,
    .btn {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
}
