/* Custom Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --church-primary: #2c3e50;
    --church-secondary: #3498db;
    --church-accent: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    padding-bottom: 100px;
    background-image: url('../images/fundo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/bible-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: transparent !important;
    box-shadow: none !important;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    text-shadow: none;
}

.hero-section p {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 0;
    text-shadow: none;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card-header {
    background-color: var(--church-primary);
    color: white;
    border-bottom: none;
    padding: 1.5rem;
}

.card-title {
    color: var(--church-primary);
    font-weight: 600;
}

/* Event Items */
.event-item {
    border-left: 4px solid var(--church-secondary);
    padding-left: 15px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.event-item:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: translateX(5px);
}

/* Social Links */
.social-links a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.social-links a:hover {
    color: var(--church-secondary) !important;
    transform: scale(1.2);
}

/* Admin Dashboard */
.table th {
    background-color: var(--light-color);
    color: var(--church-primary);
    font-weight: 600;
}

.table td {
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.2rem;
    }
    
    .card {
        margin-bottom: 20px;
    }
}

/* Custom Buttons */
.btn-primary {
    background-color: var(--church-primary);
    border-color: var(--church-primary);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--church-secondary);
    border-color: var(--church-secondary);
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--church-secondary);
    border-color: var(--church-secondary);
}

/* Form Styles */
.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0.75rem;
}

.form-control:focus {
    border-color: var(--church-secondary);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Footer */
footer {
    background-color: var(--church-primary);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
}

footer h5 {
    color: var(--church-secondary);
    font-weight: 600;
}

/* Contact Page */
.contact-info i {
    color: var(--church-secondary);
    margin-right: 10px;
    width: 20px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* About Page */
.rounded-circle {
    border: 3px solid var(--church-secondary);
    transition: all 0.3s ease;
}

.rounded-circle:hover {
    transform: scale(1.05);
    border-color: var(--church-accent);
}

/* Sermons Page */
.card-footer {
    background-color: transparent;
    border-top: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--church-secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--church-primary);
}

/* Admin Modal */
.modal-content {
    border: none;
    border-radius: 10px;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px 10px 0 0;
}

.modal-header .btn-close {
    color: white;
}

/* Music Player */
.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
    max-height: 80px;
    overflow: hidden;
    border-radius: 10px;
}

.music-player.minimized {
    transform: translateY(calc(100% - 40px));
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.player-title {
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.minimize-button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1rem;
}

.minimize-button:hover {
    color: var(--church-secondary);
}

.player-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.player-button {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
    padding: 0.25rem;
}

.player-button:hover {
    color: var(--church-secondary);
}

#pause-button {
    display: none;
}

.progress-container {
    flex-grow: 1;
    height: 4px;
    background-color: #ddd;
    cursor: pointer;
    margin: 0 0.5rem;
}

#progress-bar {
    height: 100%;
    background-color: var(--church-secondary);
    width: 0;
}

.time-display {
    display: flex;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: #666;
    min-width: 100px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.volume-control i {
    color: #666;
    font-size: 0.9rem;
}

#volume-slider {
    width: 60px;
}

.playlist {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: white;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.playlist.show {
    display: block;
}

.playlist-item {
    padding: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.playlist-item:hover {
    background-color: #f0f0f0;
}

.playlist-item.active {
    background-color: var(--church-secondary);
    color: white;
}

/* Prayer List Styles */
.prayer-item {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prayer-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.prayer-audio {
    width: 250px;
    height: 40px;
    border-radius: 20px;
    background-color: #f8f9fa;
}

.prayer-audio::-webkit-media-controls-panel {
    background-color: #f8f9fa;
}

.prayer-audio::-webkit-media-controls-current-time-display,
.prayer-audio::-webkit-media-controls-time-remaining-display {
    color: #495057;
}

.prayer-audio::-webkit-media-controls-play-button,
.prayer-audio::-webkit-media-controls-mute-button {
    border-radius: 50%;
    background-color: #0d6efd;
    color: white;
}

.prayer-audio::-webkit-media-controls-volume-slider {
    background-color: #0d6efd;
    border-radius: 10px;
}

.about .card, .about .card-body, .about .card-header {
    background: transparent !important;
    box-shadow: none !important;
}

/* Caso a classe .about não exista, aplicar globalmente para cards de liderança */
.card-lideranca, .card-lideranca .card-body, .card-lideranca .card-header {
    background: transparent !important;
    box-shadow: none !important;
} 