:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-offwhite: #f5f5f5;
    --color-red: #d81313;
    --color-gold: #edb627;
    --font-nosifer: 'Nosifer', cursive;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--color-offwhite);
    background-color: var(--color-black);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

body::after {
    content: "";
    background-image: url('images/Veins of the Veld - FIlm Independent - MAIN_2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 1; /* This creates the 30% darkened effect */
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: fixed;
    z-index: -1;
}

main {
    background-color: rgba(0, 0, 0, 0.7); /* This adds an additional dark overlay */
    position: relative;
    z-index: 1;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    color: var(--color-gold);
    font-weight: bold;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

#navbar {
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-family: var(--font-nosifer);
    font-size: 1.5rem;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--color-offwhite);
}

.cta-button, .social-button {
    display: block;
    width: fit-content;
    margin: 2rem auto;
    color: var(--color-white);
    background-color: var(--color-red);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: bold;
    text-align: center;
}

.cta-button:hover, .cta-button:focus,
.social-button:hover, .social-button:focus {
    background-color: var(--color-gold);
    color: var(--color-black);
    text-decoration: none;
}

.cta-button:visited, .social-button:visited {
    color: var(--color-white);
}

/* If you want the social button text to be gold initially */
.social-button {
    color: var(--color-gold);
}

/* For any anchor tags within social buttons, if needed */
.social-button a {
    color: inherit;
    text-decoration: none;
}



a {
    color: var(--color-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: var(--color-gold);
    text-decoration: underline;
}

a:visited {
    color: var(--color-red); /* This ensures links don't change color after being clicked */
}


#hero {
    background-image: url('images/Veins of the Veld - FIlm Independent - MAIN_2.png');
    background-size: cover;
    background-position: center;
    height: 50vh; /* Reduced to 50vh as requested */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#hero h1 {
    font-family: var(--font-nosifer);
    color: var(--color-red);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

#team .team-image {
	height: 50vh;
}

#team ul {
	list-style-type: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.progress-bar {
    width: 80%;
    height: 20px;
    background-color: var(--color-offwhite);
    border-radius: 10px;
    overflow: hidden;
 margin-left: auto;
    margin-right: auto;
}

.progress {
    width: 0;
    height: 100%;
    background-color: var(--color-red);
    transition: width 0.5s ease;
}

#floating-donate {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: var(--color-black);
    margin: 15% auto;
    padding: 2rem;
    border: 1px solid var(--color-gold);
    width: 80%;
    max-width: 500px;
}

.close {
    color: var(--color-offwhite);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--color-red);
}

section {
    padding: 3rem 2rem;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 10px;
    margin-bottom: 1rem;
}

section h2, section h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

section p, section ul, section ol {
    text-align: center; /* or justify for a cleaner look, but be cautious with justification on narrow screens */
}

section p, section ol, section ul {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

section ol {
    padding-left: 0;
    list-style-position: inside;
}

section ol li {
    margin-bottom: 0.5rem;
}

section ul {
    list-style-position: inside;
}

.tight-list {
	max-width:35%;
	text-align: left;
}

.highlight {
color: var(--color-gold);
}

.highlight-red {
color: var(--color-red);
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.2rem;
    }

    #hero h1 {
        font-size: 2rem;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

.imdb-icon {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    margin-left: 5px;
}

.instagram-logo {
    width: 50px;
    height: 50px;
    vertical-align: middle;
    margin-right: 10px;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 5px;
  font-size: 20px;
  color: #fff;
  transition: all 0.3s ease;
}

.share-button:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.facebook { background-color: #3b5998; }
.twitter { background-color: #1da1f2; }
.linkedin { background-color: #0077b5; }
.instagram { 
  background: #f09433; 
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
}
.tiktok { 
  background: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tiktok i {
  color: #fff;
  -webkit-text-stroke: 2px #FE2C55;
}
.pinterest { background-color: #bd081c; }
.reddit { background-color: #ff4500; }
.whatsapp { background-color: #25d366; }