/* Reset margins and padding for html and body */
body {
    margin: 0;
    padding: 0;
    height: 100%; /* Ensure the body spans the full height */
    background-color: #FFF9F2;
}

/* Full-width purple section starting from the very top */
#contactInfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e0aaff; /* Bright purple background */
    padding: 10px 20px;
    color: #000; /* Black color for text */
    width: 100%; /* Ensures it covers full width */
    box-sizing: border-box; /* Accounts for padding within width */
    margin-top: 0; /* Ensures no extra spacing at the top */
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.text-center {
    text-align: center !important;
}

.pb-2, .py-2 {
    padding-bottom: .5rem !important;
    padding-top: .5rem !important;
}

.py-2-custom {
    padding-bottom: .5rem !important;
}

#contactBar {
    /*background-color: green;*/
    color: white !important;
    height: 1.5rem
}

.wave {
    background-color: white;
/ / transform: rotate(180 deg);
}

.text-white {
    color: #fff !important;
}

.text-black {
    color: #000 !important;
}

.text-blue {
    color: rgba(0, 136, 255, 1);
}

#quote {
    font-style: italic;
    font-size: 0.9em;
    color: #000;
    flex: 1;
    text-align: left;
}

#quoteAuthor {
    display: block;
    font-size: 0.8em;
    margin-top: 2px;
    text-align: left;
}

#contactLinks {
    display: flex;
    align-items: center;
    gap: 20px; /* More distance between icons */
    flex: 1;
    justify-content: center;
}

#contactLinks img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease; /* Smooth hover effect */
}

#contactLinks a:hover img {
    transform: scale(1.1); /* Slight zoom on hover */
}

#address {
    font-size: 0.9em;
    text-align: right;
    flex: 1;
}

/* Header Styling */
header {
    text-align: center;
    background-color: #f8f9fa;
    margin-top: 0; /* Ensure no margin at the top */
}

#indexBodyHeader1 {
    font-size: 2em;
    margin: 0;
}

/* Navigation Styling */
nav {
    display: flex;
    justify-content: center;
    background-color: #f0f0f0;
    padding: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Main Content Styling */
main {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 20px;
    position: relative;
}

h1, h2, p {
    color: rgba(0, 0, 0, 0.8); /* Text color for readability over the background */
    position: relative;
}

/* Footer Placeholder */
footer {
    text-align: center;
    padding: 20px;
    background-color: #f0f0f0;
    color: #333;
    font-size: 0.9em;
}

/* Additional Utility Styles */
ul {
    padding-left: 20px; /* Indent unordered lists */
}

strong {
    font-weight: bold;
}


/* Navigacija */
/*menu animation*/
.menu-label {
    font-size: 11px;
    font-weight: 600;
    padding-top: 26px;
}

.navbar-light .navbar-toggler {
    border: none;
}

.nav-item {
    padding: 6px;
    padding-bottom: 6px;
    font-size: 18px;
    font-weight: 500;
    color: black;
}

.nav-item:hover {
    color: green;
}

.nav-link {
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    border-bottom: 2px solid green;
    color: green !important;
}

.navbar {
    background-color: white;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.742);
}

/*Sadržaj*/
section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.hero-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.hero-section-custom {
    padding-top: 10px;
}

.hero-section-custom-program {
    padding-top: 30px;
}

.hero-text {
    font-size: 22px;
    font-weight: 400;
}

.btn-primary {
    background-color: green;
    border-color: green;
    padding: 10px 20px;

}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: green !important;
    border-color: green !important;
}

.btn-secondary {
    background-color: white;
    border-color: green;
    padding: 10px 20px;
    color: green;

}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    background-color: white !important;
    border-color: green !important;
    color: green !important;
}

.buttons {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
}

.btn:focus {
    box-shadow: none !important;
}

.btn-with-fixed-width-1 {
    width: 230px;
}

.image-text-container {
    display: flex; /* Use flexbox to align items horizontally */
    align-items: flex-start; /* Vertically center align the image and text */
    margin-bottom: 40px; /* Add some space between sections */
}

.image-text-container img {
    margin-right: 20px; /* Add space between the image and text */
}

.text-content {
    display: flex;
    flex-direction: column; /* Stack the headline and paragraph vertically */
}

.text-content h3 {
    margin: 0; /* Remove any margin from the headline */
}

.text-content p {
    margin-top: 10px; /* Add some space between the headline and paragraph */
}

.navbar-brand img {
    max-width: 270px; /* Adjust as necessary */
    height: 3.6em; /* Ensures the image scales proportionally */
}

/* boje */
.main-color-green {
    fill: rgba(0, 128, 0, 0.8);
    background-color: rgba(0, 128, 0, 0.8);
}

.main-color-blue {
    fill: rgba(0, 136, 255, 0.8);
    background-color: rgba(0, 136, 255, 0.8);
}

.blue-infobox {
    background-color: rgba(0, 136, 255, 0.6);
}

.orange-warning {
    background-color: rgba(255, 160, 0, 0.6);
}

/* Centering the map */
#location {
    display: flex;
    flex-direction: column;
    align-items: center; /* Horizontal centering */
    justify-content: center; /* Vertical centering */
    min-height: calc(100vh - 100px); /* Full viewport height minus header height */
    text-align: center;
}

.map-responsive {
    position: relative;
    width: 100%; /* Full width for responsiveness */
    max-width: 600px; /* Optional: limit maximum width */
    height: 0;
    padding-bottom: 75%; /* Maintain aspect ratio */
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info {
    font-size: 16px;
    line-height: 1.5;
    color: #333; /* Default text color */
}

.contact-info a {
    color: #007bff; /* Matches the main-color-blue */
}

.contact-info a:hover {
    text-decoration: underline;
    color: #0056b3; /* Darker shade for hover */
}

/* misc */
.picture-in-flex{
    width: 100%;
    height: auto;
}

.naslov-svake-strane{
    margin-top: 4em;
}

/* Remove underline for the Viber link */
#contactBar a[href^="viber://"]:hover {
    text-decoration: none; /* Remove underline for Viber link */
}

/* Remove underline for the Facebook link */
#contactBar a[href*="facebook.com"]:hover {
    text-decoration: none; /* Remove underline for Facebook link */
}