/* style.css - Main general styles for the whole website */

/* Basic Reset & Body Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Removes extra space below images */
}

/* Header (from common/header.html) */
header {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #4CAF50; /* Green for Gauseva */
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    margin-right: 20px;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-weight: 500;
    color: #555;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 5px; /* For the active link underline */
}

.nav-links a:hover {
    color: #4CAF50;
}

.nav-links a.active {
    color: #4CAF50; /* Green color for active link */
    font-weight: 700;
    border-bottom: 2px solid #4CAF50; /* Optional: add an underline */
    padding-bottom: 3px; /* Space for the underline */
}


/* Burger menu for mobile */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #555;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Language Switcher */
.language-switcher {
    margin-left: 20px;
}

#language-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 0.9rem;
    cursor: pointer;
}

#language-select:focus {
    outline: none;
    border-color: #4CAF50;
}

/* General Buttons */
.donate-btn-nav, .donate-btn-hero, .btn-primary {
    background-color: #FFC107; /* Amber for Donate */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 700;
    display: inline-block; /* Allows padding and margin */
    text-align: center;
}

.donate-btn-nav:hover, .donate-btn-hero:hover, .btn-primary:hover {
    background-color: #FFA000;
}

.btn-secondary {
    background-color: transparent;
    color: #4CAF50;
    padding: 10px 20px;
    border-radius: 5px;
    border: 2px solid #4CAF50;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 700;
    margin-left: 15px;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #4CAF50;
    color: #fff;
}

/* General Section Styling */
.section-padding {
    padding: 50px 0;
}

.bg-light {
    background-color: #f1f7ed; /* A very light green tint */
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: #4CAF50; /* Green */
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}
.mt-50 {
    margin-top: 50px;
}
.mb-30 {
    margin-bottom: 30px;
}


/* Hero Section (Home Page) */
.hero {
    /* background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/hero-cow.jpg') no-repeat center center/cover; */
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff; /* Override for white text on dark background */
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

/* Page Hero (Other Pages) */
.page-hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 50px; /* Space below banner */
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    position: relative;
    z-index: 2;
    color: #fff; /* Override for white text on dark background */
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: center;
    }
    .logo {
        grid-column: 1 / 2;
    }
    .language-switcher {
        grid-column: 2 / 3;
        margin-left: 0;
        justify-self: end;
    }
    .burger {
        display: block; /* <--- ADD OR ENSURE THIS LINE IS HERE */
        grid-column: 3 / 4;
        justify-self: end;
        margin-left: 15px;
    }
    .nav-links {
        grid-column: 1 / -1;
        margin-right: 0;
        margin-top: 10px;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: 20px 0;
        text-align: center;
        display: none; /* Hidden by default on mobile */
    }
    .nav-links.nav-active {
        display: flex; /* Show when active */
    }
    .nav-links li {
        margin: 15px 0;
    }
    .donate-btn-nav {
        display: none; /* Hide in mobile header, can be re-added inside nav-links if desired */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    .page-hero h1 {
        font-size: 2rem;
    }
}

/* Burger Animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}