body {
    background-image: url('../img/ruvas.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

hr {
    border: none;
    height: 2px;
    background-color: #c79e45;
    margin: 20px 0;
}

/** General section styling */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Add background to standalone sections (not content-section or heading) */
section:not(.content-section):not(.heading) {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    margin-bottom: 30px;
}

/* Heading section - centered content */
.heading {
    margin-top: 80px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 40px;
}

.heading h1 {
    font-size: 3em;
    color: #FFD700;
}


.heading h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #C0C0C0;
}

h3 {
   color: #C0C0C0;
}


.heading p {
    margin: 10px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: whitesmoke;
}

/* YouTube video styling */
.heading iframe {
    margin: 20px 0;
    border: 4px solid #FFD700;
    border-radius: 8px;
}

/* Content sections with image and text layout */
.content-section {
    display: flex;
    flex-direction: column;
    margin: 40px 0;
}

.content-section h2 {
    text-align: center;
    width: 100%;
    font-size: 2.2em;
    color: #FFD700;
    margin-bottom: 30px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 8px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

/* Container for the side-by-side content */
.content-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    min-height: 400px;
}

/* Image container - center left */
.image-container {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border: 3px solid #FFD700;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Video styling */
.image-container video {
    max-width: 100%;
    height: auto;
    border: 3px solid #FFD700;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* General img and video styling (for any not in image-container) */
img, video {
    border: 3px solid #FFD700;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Text container - center right */
.text-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    border: 1px solid #FFD700;
}

.text-container p {
    line-height: 1.6;
    margin: 15px 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.text-container a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
}

.text-container a:hover {
    color: #FFFF00;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 1);
}

/* General link styling for all sections */
a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFFF00;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 1);
}

/* Navigation bar styling */
.homebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    z-index: 1000;
    border-top: 2px solid #FFD700;
    border-bottom: 2px solid #FFD700;

}

.homebar ul {
    list-style: none;
    margin: 0;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.homebar li {
    margin-right: 20px;
}

.homebar a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    padding: 5px 10px;
    transition: color 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.homebar a:hover {
    color: #FFD700;
}

/* Bold text styling */
b, strong, h2 {
    color: #a887e9;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2px 4px;
    border-radius: 3px;
    display: inline-block;
}

/* Emphasized text styling */
em {
    color: #FFA500 ;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

p {
    font-size: 1.2em;
    line-height: 1.6;
}



/* Responsive design */
@media (max-width: 768px) {
    .content-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .image-container {
        flex: none;
        width: 100%;
    }
    
    .text-container {
        padding: 20px;
    }
    
    .heading iframe {
        width: 100%;
        height: 250px;
    }
    
    .heading h1 {
        font-size: 2.2em;
    }
    
    .heading h2 {
        font-size: 1.4em;
    }
}