/* ESO Project Styles - Orangey Gradient Navbar and Footer */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Rubik", system-ui, sans-serif;
    line-height: 1.6;
    color: #2E2E2E;                 /* dark text for readability */
    background-color: #FFF3E0;      /* soft orangey cream background */
    text-align: justify;
}

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

/* Define your custom orangey gradient */
:root {
    --eso-gradient: linear-gradient(to bottom, #FF7043, #FFD54F); /* top orange → bottom yellow */
}

/* Navbar (taller) */
nav.custom-navbar {
    background-image: var(--eso-gradient) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    border-bottom: none;
    padding-top: 1.5rem;    /* taller navbar */
    padding-bottom: 1.5rem;
}

/* Navbar inner containers transparent so gradient shows */
nav.custom-navbar .container-fluid,
nav.custom-navbar .navbar-collapse {
    background: transparent !important;
}

/* Navbar text and hover colors */
nav.custom-navbar .navbar-brand,
nav.custom-navbar .nav-link {
    color: #FFF59D !important;  /* bright yellow text */
    font-family: "Indie Flower", cursive;
    font-size: 1.6rem;           /* larger font */
    margin-right: 1rem;
}

nav.custom-navbar .nav-link:hover {
    color: #FF5722 !important;   /* bright orange hover */
}

/* Navbar toggler icon */
.navbar-toggler {
    border-color: #FFF59D !important;
}

.navbar-toggler-icon {
    background-image: none;
    color: #FFF59D;
    font-size: 1.2rem;
}

h1 .navbar-brand {
    font-size: 3rem;
    font-family: "Indie Flower", cursive;
    font-weight: 1000;
    font-style: normal;
    color: #FFF59D !important;
}

h1 .navbar-brand:hover {
    color: #FF5722 !important;
}

.fa-hill-rockslide {
    color: #FFB74D !important;
}

/* Navbar link styles */
.navbar-nav .nav-link {
    text-decoration: none !important;
    color: #FFF59D !important;
    font-family: "Indie Flower", cursive;
    font-size: 1.5rem;
}

.navbar-nav .nav-link:hover {
    color: #FF5722 !important;
}

/* Bottom nav (if used) */
.bottom-nav {
    color: #FF7043;
    padding: 0.5rem;
    text-align: center;
    font-family: "Indie Flower", cursive;
}

.bottom-nav a {
    color: #FF8F00;
    text-decoration: none !important;
}

.bottom-nav a:hover {
    color: #FF5722;
}

/* Page content images & borders */
.page-images, .circlephoto, .trusteephoto, .photo-card img, .video {
    border-radius: 5%;
    border: 1px solid #A1887F;
}

main {
    min-height: calc(100vh - 120px);
    padding: 2rem;
}

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

/* Footer matches navbar gradient */
footer {
    background-image: var(--eso-gradient);
    color: #FFF59D !important;
    padding: 1.5rem 0;
    font-family: "Rubik", system-ui, sans-serif;
    text-align: center;
}

footer a {
    color: #FFF59D !important;
    text-decoration: none;
    font-size: 1.2rem;
}

footer a:hover {
    color: #FF5722;
}

footer i {
    font-size: 1.4rem;
}

.active {
    color: #FFD54F;
    font-weight: bold;
}

/* Headings */
.headings {
    font-family: "Rubik Dirt", system-ui;
    font-weight: 400;
    font-style: normal;
    color: #FF7043; /* bright orange headings */
    text-align: center;
}

/* Mission Section layout */
.mission-section {
    display: flex;
    justify-content: left;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    text-align: justify;
}

.logo {
    max-width: 6rem;
    max-height: 6rem;
}

/* Circle photo */
.circlephoto {
    border-radius: 50%;
    border: 1px solid #A1887F;
    width: 10rem;
    height: 10rem;
    font-family: "Rubik", system-ui, sans-serif; /* ensure correct font */
}

/* Goals section layout */
section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
    margin-top: 2rem;
}

section p {
    margin: 0;
}

.sub {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 1rem;
}

/* Mobile layout */
@media (max-width: 768px) {
    section {
        flex-direction: column;
        align-items: center;
    }

    .sub {
        margin-bottom: 2rem;
    }
}

/* Carousel */
#carouselExample {
    max-width: 1000px;
    margin: 0 auto 2rem auto;
}

#carouselExample .carousel-item {
    height: 500px;
}

#carouselExample .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 5%;
    border: 1px solid #A1887F;
}

/* Trustee Layout */
.trustee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #A1887F;
}

.trustee.reverse {
    flex-direction: row-reverse;
}

.video {
    max-width: 900px;
    width: 100%;
    border: 1px solid #A1887F;
    border-radius: 5%;
    overflow: hidden; 
}

.trusteephoto {
    width: 180px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    border: 1px solid #A1887F;
    font-family: "Rubik", system-ui, sans-serif; /* ensure correct font */
}

.trustee-text {
    max-width: 700px;
}

.trustee-text h3 {
    margin-bottom: 0.5rem;
}

.trustee-text .title {
    margin-bottom: 1rem;
}

/* Mobile trustee layout */
@media (max-width: 768px) {
    .trustee,
    .trustee.reverse {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .trustee-text {
        max-width: 100%;
    }
}

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.photo-card {
    text-align: center;
}

.photo-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    border: 1px solid #A1887F;
    font-family: "Rubik", system-ui, sans-serif; /* ensure correct font */
}

.quote {
    margin-top: 1rem;
    font-style: italic;
    color: #555;
}

/* Responsive photo grid */
@media (max-width: 992px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}