body {
    background-color: #f7f8f9;
    color: #2d2d2d;
    font-family: 'Roboto', sans-serif;
}

.date-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.date-title-top {
	display: block;
    font-size: 0.5em; 
    font-weight: 400; 
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.date-title-bottom {
	display: block;
}

.category-header {
    font-family: 'Playfair Display', serif;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.category-section {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.event-list li {
    margin-bottom: 12px;
    padding-left: 15px;
    border-left: 3px solid #eee;
}

.event-list li:hover {
    border-left: 3px solid #d4af37;
    background-color: #fcfcfc;
}

.sidebar-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border-top: 5px solid #1a1a1a;
}


.ad-placeholder {
    width: 100%;
    max-width: 728px;
    height: 90px;
    background: #eceef1;
    border: 1px dashed #ced4da;
    color: #adb5bd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.ad-placeholder-sidebar {
    width: 300px;
    height: 600px;
    background: #eceef1;
    border: 1px dashed #ced4da;
    color: #adb5bd;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* FORMULA KUTAK */
.formula-container {
    background: #ffffff;
    border-top: 5px solid #d4af37;
}

.math-display {
    font-size: 2.2rem;
    padding: 20px 0;
    overflow-x: auto;
}


@media (max-width: 768px) {
    .math-display { font-size: 1.5rem; }
    .ad-placeholder-sidebar { width: 100%;   }
}


.formula-card {
    background: #fdfdfd; 
    border: 1px solid #e0e0e0;
    border-left: 8px solid #d4af37; 
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}


.math-display {
    font-size: 2.5rem; 
    color: #1a1a1a;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 300;
}


.quote-box {
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #555;
}

.badge {
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 8px 15px;
}


.formula-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}


.category-section {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
	border-top: 5px solid #1a1a1a;
}


.formula-final-box {
    border-top: 5px solid #d4af37 !important; 
}


.math-display {
    font-size: 2.2rem;
    color: #1a1a1a;
    overflow-x: auto;
    white-space: nowrap;
    padding: 15px 0;
  
    background: linear-gradient(to right, transparent, #fff9e6, transparent);
}


.quote-wrapper {
    display: inline-block;
    min-width: 250px;
    margin-top: 20px;
}


.bg-dark {
    background-color: #1a1a1a !important;
    font-size: 0.7rem;
    letter-spacing: 1px;
}


@media (max-width: 768px) {
    .math-display {
        font-size: 1.6rem;
    }
}
.lead {
    font-size: 1.05rem;
	color: #2d2d2d !important;
}
	
	
a {
	color: #d4af37; 
    text-decoration: none; 
    border-bottom: 1px solid #d4af37; 
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    padding-bottom: 1px;
}
a:hover {
    color: #1a1a1a; 
    background-color: rgba(212, 175, 55, 0.05); 
    border-bottom: 2px solid #1a1a1a; 
    text-decoration: none;
}
.category-section a, 
.sidebar-box a, 
.formula-final-box a {
    color: #d4af37 !important; 
    text-decoration: none; 
    border-bottom: 0px solid #d4af37; 
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    padding-top: 5px;
	 padding-bottom: 5px;
	 
}


.category-section a:hover, 
.sidebar-box a:hover, 
.formula-final-box a:hover {
    color: #1a1a1a;
    background-color: rgba(212, 175, 55, 0.05); 
    border-bottom: 0px solid #1a1a1a; 
    text-decoration: none;
}


.category-section a:visited {
    color: #555;
}


.formula-final-box a {
    border-bottom-style: dashed; 
}


a:focus {
    outline: none;
    box-shadow: none;
}


.navbar {
    border-bottom: 1px solid #e0e0e0;
    padding: 0.5rem 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #1a1a1a !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 0.5rem 1.2rem !important;
    transition: color 0.3s;
	border-bottom: 2px solid #fff;
}

.navbar-nav .nav-link:hover, .navbar-nav .current  {
    color: #d4af37 !important; 
	border-bottom: 2px solid #1a1a1a;
}


.navbar-toggler {
    border: none;
    padding: 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}


@media (max-width: 991px) {
    .sticky-top-mobile {
        position: sticky;
        top: 0;
        z-index: 1020;
    }
}


.site-footer {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    font-size: 1.05rem;
}
.site-footer p {
	font-size: 1.05rem;
	color: #6c757d !important;
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    position: relative;
}


.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #6c757d !important; 
    text-decoration: none;
    border-bottom: none !important; 
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d4af37 !important; 
}


.copyright-text {
    font-size: 0.8rem;
    color: #adb5bd;
    letter-spacing: 0.5px;
}

.copyright-text strong {
    color: #495057;
}


@media (max-width: 767px) {
    .site-footer {
        text-align: center;
    }
}


.custom-input {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    background-color: #fdfdfd;
    transition: all 0.3s ease;
}


.custom-input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.15);
    background-color: #fff;
    outline: none;
}


.btn-contact-submit {
    background-color: #1a1a1a;
    color: #d4af37;
    border: 2px solid #1a1a1a;
    border-radius: 50px; 
    transition: all 0.3s ease;
}

.btn-contact-submit:hover {
    background-color: #d4af37;
    color: #1a1a1a;
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}


.form-label {
    color: #495057;
    letter-spacing: 0.5px;
}


.custom-input::placeholder {
    color: #adb5bd;
    font-size: 0.9rem;
}

.scrollup {
    width: 40px;
    height: 40px;
    opacity: 0.3;
    position: fixed;
    bottom: 30px;
    right: 50px;
    display: none;
    text-indent: -9999px;
    background: url(/img/up-arrow.png) no-repeat;
	text-decoration: none !important;
	border-bottom: 0px !important;
}
.logo, .logo:hover {
	background: none !important;
	text-decoration: none !important;
	border-bottom: 0px !important;
}
.logo img {
	border: 0 !important;
}
.obavezno_polje {
	color: #FF0000 !important;
}

 .btn-dalje:hover span {
  transform: translateX(4px);
}

.category-header-link {
	display: block !important;
	border: 0 !important;
	width: 100% !important;
	color: #1a1a1a  !important;
}
.event-content {
    flex: 1; /* Zauzima sav prostor levo od slike */
}
 .event-image {
    max-width: 40%; 
    height: auto;
    border-radius: 4px;
    border: 1px solid #555;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    display: block;
	float: right;
	clear: both;
	margin-left: 15px;
	margin-bottom: 15px;
}

 .event-image-m {
    max-width: 20%; 
    max-height: 80px;
	width: auto;
    border-radius: 4px;
    border: 1px solid #555;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    display: block;
	float: right;
	clear: both;
	margin-left: 15px;
	margin-bottom: 15px;
}

@media (max-width: 768px) {
    .event-card {
     
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .event-image {
     
        max-width: 80%;
        margin-top: 15px;
    }
	
	  .event-image-m {
     
        max-width: 40%;
        margin-top: 15px;
    }
    
    .event-card:hover {
        transform: translateY(-5px); 
    }
}


@media (max-width: 480px) {
    .event-image {
        max-width: 100%;
    }
	
	.event-image-m {
        max-width: 40%;
    }
    
    .event-year {
        font-size: 1.1rem;
    }
}
.prelom {
	clear: both !important;
	display:block;
	width: 100%;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
	margin-top: 60px !important;
}

.share-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #2d2d2d; /* Tamna pozadina */
    color: #d4af37; /* Zlatna boja ikonica */
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #444;
}

.share-btn:hover {
    background-color: #d4af37;
    color: #1a1a1a; /* Obrnute boje na hover */
    transform: translateY(-3px);
}

/* Specificna ikonica za kopiranje linka može biti svetlija */
.share-btn.copy:hover {
    background-color: #f4f4f4;
    color: #1a1a1a;
}

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