/* ============================================
   FELLOWSHIP INTERNATIONAL ROMANIAN CHURCH
   Modern Website Styles
   ============================================ */

:root {
    --primary-red: #DC143C;
    --primary-blue: #003366;
    --light-blue: #1E5A96;
    --white: #F3F5F9;
    --off-white: #EFF1F6;
    --dark-text: #2C3E50;
    --light-gray: #E8EEF5;
    --medium-gray: #DDE3ED;
    --border-color: #DDD;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: linear-gradient(135deg, #F3F5F9 0%, #E8EEF5 100%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    background: linear-gradient(135deg, #F3F5F9 0%, #EFF1F6 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #DDE3ED;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
}

.nav-logo {
    height: 75px;
    width: auto;
    object-fit: contain;
    border-radius: 5px;
}

.nav-brand i {
    font-size: 1.8rem;
}

.nav-brand span {
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-red);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    border-radius: 3px;
    transition: 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 50%, var(--primary-red) 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    animation: fadeInDown 0.8s ease;
}

.hero-logo {
    height: 200px;
    width: auto;
    object-fit: contain;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Cardo', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    opacity: 0.95;
}

.hero-text {
    font-size: 1.1rem;
    margin: 10px 0;
    font-style: italic;
    opacity: 0.9;
}

.church-name {
    font-family: 'Cardo', serif;
    font-size: 2.2rem;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 700;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
    margin-top: 10px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.cta-button:hover {
    background: #B01030;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.4);
}

.directions-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary-blue);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.directions-button:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.4);
}

.directions-button i {
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

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

.invitation-btn:hover {
    background: #B01030;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(220, 20, 60, 0.3);
}

.about-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
}

.about-btn:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.contact-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
}

.contact-btn:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.events-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
}

.events-btn:hover {
    background: #1877F2;
    color: var(--white);
    border: 2px solid #1877F2;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(24, 119, 242, 0.3);
}

.hero-button i {
    font-size: 1rem;
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Cardo', serif;
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--light-blue);
    font-size: 1.1rem;
    margin-bottom: 50px;
    font-weight: 300;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background: linear-gradient(135deg, #E8EEF5 0%, #DDE3ED 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: linear-gradient(135deg, #F3F5F9 0%, #EFF1F6 100%);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-red);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--dark-text);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.service-details {
    display: block;
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
}

/* ============================================
   INVITATION SECTION
   ============================================ */

.invitation {
    background: linear-gradient(135deg, #F3F5F9 0%, #EFF1F6 100%);
    padding: 80px 0;
}

.flyer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 6px solid var(--primary-red);
}

.flyer-image {
    position: relative;
}

.flyer-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.flyer-image img:hover {
    transform: scale(1.02);
}

.flyer-info h3 {
    font-family: 'Cardo', serif;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.flyer-info p {
    color: var(--dark-text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-times {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.time-slot {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #F3F5F9 0%, #EFF1F6 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.time-slot:hover {
    background: linear-gradient(135deg, #EBF0FA 0%, #E3EBF8 100%);
    transform: translateX(5px);
}

.time-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.time-slot h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 3px;
    font-weight: 600;
}

.time-slot p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   ABOUT US SECTION
   ============================================ */

.about {
    background: linear-gradient(135deg, #F3F5F9 0%, #EFF1F6 100%);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.about-column {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-red);
}

.about-column h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-column p {
    color: var(--dark-text);
    line-height: 1.8;
    font-size: 1rem;
}

.about-history {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 50px;
    border-radius: 10px;
    text-align: center;
}

.about-history h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-history p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    background: linear-gradient(135deg, #E8EEF5 0%, #DDE3ED 100%);
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: scale(1.05) rotateY(2deg);
    box-shadow: var(--shadow-lg);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 50%, #0D4A8A 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3.5rem;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-placeholder {
    background: linear-gradient(135deg, var(--light-blue) 0%, #0D4A8A 50%, var(--primary-red) 100%);
}

.gallery-placeholder i {
    margin-bottom: 10px;
}

.gallery-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

/* ============================================
   EVENTS & FACEBOOK SECTION
   ============================================ */

.events {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 50%, #1E5A96 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

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

.events .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.facebook-container {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.facebook-box {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-top: 5px solid #1877F2;
    transition: all 0.3s ease;
}

.facebook-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.facebook-icon-large {
    font-size: 4rem;
    color: #1877F2;
    margin-bottom: 20px;
}

.facebook-box h3 {
    font-family: 'Cardo', serif;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.facebook-box p {
    color: var(--dark-text);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1877F2;
    color: var(--white);
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #1877F2;
}

.facebook-link:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.facebook-link i {
    font-size: 1.3rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 50%, #0D4A8A 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

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

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--primary-red);
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-details h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details p,
.contact-details a {
    color: rgba(255, 255, 255, 0.95);
}

.contact-details a {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-details a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.social-icon:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    border-radius: 10px;
}

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

.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--primary-red);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-bottom p {
    margin: 5px 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #F3F5F9;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
    }

    .hero-logo {
        height: 80px;
    }

    .hero {
        min-height: 400px;
        padding: 50px 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .church-name {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .directions-button {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .hero-buttons {
        gap: 12px;
    }

    .hero-button {
        padding: 12px 22px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    section {
        padding: 50px 0;
    }

    .services-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .flyer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-container iframe {
        height: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        height: 50px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .church-name {
        font-size: 1.2rem;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .event-card {
        padding: 20px;
    }

    .contact-item {
        gap: 15px;
    }

    .flyer-info h3 {
        font-size: 1.5rem;
    }

    .facebook-box {
        padding: 40px 25px;
    }

    .facebook-box h3 {
        font-size: 1.5rem;
    }

    .time-slot {
        padding: 12px;
        gap: 15px;
    }

    .time-icon {
        font-size: 1.5rem;
    }

    .time-slot h4 {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-button {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}