:root {
    --primary-color: #004160;
    --secondary-color: #99cc66; /* Baseado no verde da Santa Casa */
    --accent-color: #00b199;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --font-heading: 'Open Sans', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Header */
.top-header {
    position: relative;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

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

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.top-bar .social-icons a {
    color: var(--white);
    margin-left: 15px;
}

.top-bar .social-icons a:hover {
    color: var(--secondary-color);
}

.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
}

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

.logo img {
    height: 70px;
    max-width: 200px;
    object-fit: contain;
    background-color: #f0f0f0; /* placeholder bg */
    border-radius: 4px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 14px;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.btn-donate {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 65, 96, 0.8), rgba(0, 65, 96, 0.8)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
}

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

/* Services */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.service-card {
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.btn-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

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

.about-image {
    flex: 1;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding-top: 60px;
}

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

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-col.links-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-col.contact-col p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col.contact-col i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.about-col .social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 20px;
}

.about-col .social-icons a:hover {
    background: var(--secondary-color);
}

/* Dropdown Menu */
.main-nav ul li.dropdown {
    position: relative;
}
.main-nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    list-style: none;
    min-width: 150px;
    z-index: 1000;
    padding: 0;
    flex-direction: column;
    gap: 0;
}
.main-nav ul li.dropdown:hover .dropdown-menu {
    display: flex;
}
.main-nav ul li.dropdown .dropdown-menu li {
    margin: 0;
}
.main-nav ul li.dropdown .dropdown-menu a {
    padding: 10px 15px;
    display: block;
    text-transform: none;
    font-size: 14px;
}
.main-nav ul li.dropdown .dropdown-menu a:hover {
    background: var(--bg-light);
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}
.lightbox-modal.active {
    display: flex;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.lightbox-close:hover {
    color: var(--secondary-color);
}
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    user-select: none;
    transition: 0.3s;
}
.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--secondary-color);
}
.lightbox-prev {
    left: 20px;
}
.lightbox-next {
    right: 20px;
}
