/* ================================================
   FRATERNIDADE MISSIONÁRIA ÉLEOS - WEBSITE STYLES
   Official Colors:
   - Navy Blue: #1E3A5F
   - Red: #8B0000
   - Gold: #D4AF37
   - White: #FFFFFF
   ================================================ */

/* CSS Variables */
:root {
    --navy-blue: #1E3A5F;
    --red: #8B0000;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --text-color: #444444;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', 'Times New Roman', serif;
    color: var(--navy-blue);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2.2rem; font-weight: 600; }
h3 { font-size: 1.6rem; font-weight: 600; }
h4 { font-size: 1.3rem; font-weight: 500; }

a {
    color: var(--navy-blue);
    text-decoration: none;
    transition: var(--transition);
}

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

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

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

/* ================================================
   HEADER & NAVIGATION
   ================================================ */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--navy-blue);
    padding: 8px 0;
    font-size: 0.85rem;
}

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

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

.contact-info a {
    color: var(--white);
    margin-right: 20px;
}

.contact-info a:hover {
    color: var(--gold);
}

.language-selector {
    display: flex;
    gap: 10px;
}

.language-selector a {
    color: var(--white);
    font-size: 0.85rem;
    padding: 3px 8px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    opacity: 0.8;
}

.language-selector a:hover,
.language-selector a.active {
    opacity: 1;
    background: rgba(255,255,255,0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.header-main {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--navy-blue);
    margin: 5px 0;
    transition: var(--transition);
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #0f1f33 100%);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/LOGO_SITE_1024X1024.png') center center no-repeat;
    background-size: 400px;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 30px;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .subtitle {
    color: var(--gold);
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 15px;
    font-family: 'Crimson Text', serif;
}

.hero .verse {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-blue);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--navy-blue);
    border-color: var(--navy-blue);
}

.btn-outline:hover {
    background: var(--navy-blue);
    color: var(--white);
}

/* ================================================
   PAGE HERO (Internal Pages)
   ================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #0f1f33 100%);
    padding: 150px 0 60px;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-hero .breadcrumb {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.page-hero .breadcrumb a {
    color: var(--gold);
}

/* ================================================
   SECTIONS
   ================================================ */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

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

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
}

/* Alternating Background */
.bg-light {
    background: var(--light-gray);
}

.bg-navy {
    background: var(--navy-blue);
}

.bg-navy h2,
.bg-navy h3,
.bg-navy p {
    color: var(--white);
}

.bg-navy .section-title h2::after {
    background: var(--gold);
}

/* ================================================
   HOME PAGE SECTIONS
   ================================================ */

/* About Preview */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-preview-content h2 {
    margin-bottom: 25px;
}

.about-preview-content p {
    margin-bottom: 20px;
}

.about-preview-image {
    text-align: center;
}

.about-preview-image img {
    max-width: 350px;
    border-radius: 10px;
}

/* About Intro */
.about-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
}

/* Pillars / Features */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.pillar-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.pillar-card h3 {
    color: var(--red);
    margin-bottom: 15px;
}

.pillar-card h4 {
    color: var(--navy-blue);
    margin-bottom: 10px;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mission-box {
    background: rgba(255,255,255,0.1);
    padding: 35px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
}

.mission-box h3 {
    color: var(--gold);
    margin-bottom: 15px;
}

/* Values List */
.values-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.value-content h4 {
    color: var(--red);
    margin-bottom: 10px;
}

/* Quote Box */
.quote-box {
    background: var(--light-gray);
    padding: 30px;
    border-left: 4px solid var(--gold);
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.quote-box p {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.quote-box cite {
    color: var(--gold);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--red) 0%, #5a0000 100%);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================================
   SPIRITUALITY PAGE
   ================================================ */
.spirituality-block {
    max-width: 900px;
    margin: 0 auto;
}

.spirituality-block h2 {
    text-align: center;
    margin-bottom: 10px;
}

.spirituality-block h3 {
    text-align: center;
    color: var(--gold);
    margin-bottom: 30px;
}

.spirituality-block p {
    margin-bottom: 20px;
}

.foundations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.foundation-item {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.foundation-item h4 {
    color: var(--navy-blue);
    margin-bottom: 15px;
}

/* ================================================
   COURSES PAGE
   ================================================ */
.courses-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.courses-intro h2 {
    margin-bottom: 20px;
}

.course-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    overflow: hidden;
}

.course-card.featured {
    border: 2px solid var(--gold);
}

.course-header {
    background: var(--navy-blue);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.course-header h3 {
    color: var(--white);
    margin: 0;
}

.course-tag {
    background: var(--gold);
    color: var(--navy-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.course-body {
    padding: 30px;
}

.course-body h4 {
    margin-top: 20px;
    margin-bottom: 15px;
}

.course-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.course-detail {
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-detail-icon {
    font-size: 1.5rem;
}

/* Schedule Box */
.schedule-box {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.schedule-box h3 {
    text-align: center;
    margin-bottom: 30px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.semester h4 {
    color: var(--red);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

.semester ul {
    list-style: none;
}

.semester li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Books Section */
.books-section {
    margin-top: 50px;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.book-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.book-item h4 {
    font-size: 1rem;
    color: var(--navy-blue);
}

/* ================================================
   INSTITUTE PAGE
   ================================================ */
.institute-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.institute-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.institute-box {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.institute-box h3 {
    color: var(--red);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

.finalities-list {
    columns: 2;
    column-gap: 40px;
    list-style: none;
}

.finalities-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.finalities-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-section h3 {
    margin-bottom: 30px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--navy-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    overflow: hidden;
}

.contact-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.contact-text h4 {
    margin-bottom: 5px;
}

.contact-text a {
    color: var(--text-color);
}

.contact-text a:hover {
    color: var(--gold);
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: var(--navy-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    color: var(--navy-blue);
}

.contact-form-section h3 {
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-blue);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--gold);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* ================================================
   FOOTER
   ================================================ */
footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 60px 0 0;
}

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

.footer-about img {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

footer h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    overflow: hidden;
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--navy-blue);
}

.footer-social a img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        display: none;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 0;
    }
    
    /* MOBILE HEADER-TOP - VISÍVEL */
    .header-top {
        display: block;
        padding: 10px 0;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info {
        font-size: 0.75rem;
    }
    
    .contact-info a {
        margin-right: 15px;
        display: inline-block;
        margin-bottom: 5px;
    }
    
    .language-selector {
        justify-content: center;
    }
    
    .language-selector a {
        font-size: 0.75rem;
        padding: 3px 6px;
    }
    
    /* Adjust hero padding for mobile header */
    .hero {
        padding-top: 200px;
    }
    
    .page-hero {
        padding-top: 180px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .about-preview {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pillars-grid,
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .values-list,
    .institute-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .foundations-grid,
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .course-details {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-about img {
        margin: 0 auto 20px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .finalities-list {
        columns: 1;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    
    .hero {
        padding: 180px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-logo {
        width: 120px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.85rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info a {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }
}

/* ================================================
   UTILITY CLASSES
   ================================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy-blue); }
.text-red { color: var(--red); }
.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/* ================================================
   ICON STYLES - PNG ICONS
   ================================================ */

/* Ícones grandes (pillar cards) */
.icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* Ícones médios (value lists, foundations) */
.icon-img-sm {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Ícones pequenos (course details) */
.icon-img-xs {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Ícones de redes sociais */
.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Ajuste para pillar-icon com imagem */
.pillar-icon img {
    display: block;
    margin: 0 auto;
}

/* Ajuste para value-icon com imagem */
.value-icon img {
    display: block;
}

/* Ajuste para foundation-item com imagem */
.foundation-item h4 img {
    vertical-align: middle;
    margin-right: 10px;
}

/* Contact icons */
.contact-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Course detail icons */
.course-detail-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

