:root {
    --primary-color: #2C3E50;
    --secondary-color: #34495E;
    --accent-color: #d19a74;
    --light-color: #e9f2f4;
    --dark-color: #2C3E50;
}

body {
    font-family: 'PT Sans', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

/* Hero Section */

.logo-in-banner {
    top: 20px;
    left: 20px;
    z-index: 10;
}

.logo-in-banner img {
    height: auto;
    max-width: 100%;
    display: block;
    max-height: 60px;
}

.hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)),
                url('https://pavlina.rs/images/Pavlina7.jpg') center top/cover;
    padding: 180px 0;
}

.hero-section h1 {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 3.5rem;
}

.event-details {
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    
   .detail-row {
        font-size: 14px !important;
    } 
}

.detail-row i {
    color: white;
    width: 20px;
    text-align: center;
}

/* About Section */
.about-section {
    background-color: black;
    color: white;
}

.about-wrapper {
    display: flex;
    min-height: 600px;
}

.about-content {
    width: 50%;
    padding: 100px 0;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.about-image {
    width: 50%;
    background: url('https://pavlina.rs/images/Hero_img.jpg') center/cover;
}

.about-section .section-title {
    color: white;
}

/* Dimitrije Section */
.dimitrije-section {
    background-color: white;
}

.info-card {
    background-color: var(--light-color);
    border-radius: 10px;
    border: solid thin #cedde1;
    box-shadow: none;
}

.goal-link {
    text-decoration: none;
    display: block;
}

.goal-box {
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.goal-box:hover {
    background-color: #0C393D;
    cursor: pointer;
}

.goal-success-text {
    text-decoration: underline;
    font-size: 1.2rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background-color: var(--light-color);
}

.donation-card {
    background-color: white;
    border-radius: 10px;
    border: solid thin #cedde1;
    box-shadow: none;
}

.account-info {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0;
}

.purpose {
    color: var(--accent-color);
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
}

.footer a {
    color: var(--light-color);
    text-decoration: none;
    margin: 0 10px;
}

.bg-dark {
    background-color: #010101 !important;
}



a:not(.btn) {
    color: inherit !important;
    text-decoration: none !important;
}

a:not(.btn):hover {
    color: var(--accent-color) !important;
}

.about-content a:not(.btn) {
    color: var(--accent-color) !important;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0;
    }
    
    .about-wrapper {
        flex-direction: column;
    }
    
    .about-content,
    .about-image {
        width: 100%;
    }
    
    .about-image {
        min-height: 300px;
        order: -1; /* Slika ide iznad teksta na mobilnom */
    }
    
    .hero-section h1 {
        font-size: calc(3.5rem * 0.85); /* Smanjujemo za 15% */
    }
    
    .about-section::after {
        width: 100%;
        opacity: 0.3;
    }
}

/* Dodatno smanjenje za još manje ekrane */
@media (max-width: 576px) {
    .hero-section h1 {
        font-size: calc(3.5rem * 0.75); /* Još malo smanjujemo za najmanje ekrane */
    }
}

/* Organizer Section */
.organizer-section {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.organizer-section .info-card {
    background-color: white;
    border: solid thin #cedde1;
    box-shadow: none;
}

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

/* Dodajemo font za naslove */
h1, h2, h3, h4, h5, h6,
.section-title {
    font-family: 'PT Sans', sans-serif;
}

/* Eksplicitno postavljamo PT Sans za paragrafe i ostale tekstove */
p, .event-details, .account-info, .purpose {
    font-family: 'PT Sans', sans-serif;
} 

.monomakh {
    font-family: 'Monomakh', serif;
}

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

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

a {
    transition: color 0.3s ease;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(0, 0, 0, 0.3) !important;
    transform: scale(1.1);
}

.social-icon-image {
    width: 20px;
    height: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-icon:hover .social-icon-image {
    opacity: 1;
}

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

.qr-code {
    width: 200px;
    height: 200px;
}

/* Dodajemo stilove za logo placeholdere */
.partners-logos {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
}

.logo-placeholder {
    background: rgba(255, 255, 255, 0.05);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Stilovi za partner logoe */
.partner-logo {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Uklanjamo staru event-image klasu jer više nije potrebna */
.event-image {
    display: none;
}

/* Prilagođavamo dugme za svetlu pozadinu */
.organizer-section .btn-light {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.organizer-section .btn-light:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

::-moz-selection { /* Code for Firefox */
  color: #d19a74;
  background: #23565b;
}

::selection {
  color: #d19a74;
  background: #23565b;
}