/* Color Palette */
:root {
    --burnt-orange: #BF5700;
    --dark-blue: #333F48;
    --light-gray: #f4f4f4;
    --white: #ffffff;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-blue);
}

h1, h2 {
    font-family: 'Roboto Slab', serif;
}

/* Navigation */
header {
    background: var(--white);
    padding: 1rem 5%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--burnt-orange);
}

.logo span {
    color: var(--dark-blue);
    font-size: 0.9rem;
}

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

nav ul li a {
    text-decoration: none;
    color: var(--dark-blue);
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* banner section */

.top-banner {
    width: 100%;
    overflow: hidden;
    /* This removes any tiny gaps below the image */
    line-height: 0; 
    background-color: var(--light-gray);
}

.banner-img {
    width: 100%;
    height: auto;
    /* Optional: Limit the height if it's meant to be a thin strip */
    max-height: 200px; 
    object-fit: cover;
    /* Optional: Adds a subtle line between this and the hero */
    border-bottom: 2px solid var(--burnt-orange);
}

/* Hero Section */
.hero {
    /* background: linear-gradient(rgba(51, 63, 72, 0.8), rgba(51, 63, 72, 0.8)), 
                url('https://via.placeholder.com/1200x600') no-repeat center center/cover; */
    background: linear-gradient(rgba(51, 63, 72, 0.7), rgba(51, 63, 72, 0.7)), 
                url('images/gatesdell.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background: var(--burnt-orange);
    color: var(--white);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1.5rem;
}

/* Main Layout */
.container {
    padding: 4rem 10%;
    max-width: 1200px;
    margin: auto;
}

.bg-light {
    background: var(--light-gray);
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-top: 5px solid var(--burnt-orange);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--dark-blue);
    color: var(--white);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none; /* Add a hamburger menu for production */
    }
}

.wrapper-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* This allows the 'wrap' effect on smaller screens */
    gap: 3rem;       /* Space between logo and text */
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-logo {
    flex: 1;
    min-width: 280px; /* Prevents the logo from getting too tiny */
    max-width: 350px;
}

.logo-image {
    width: 100%;
    height: auto;
    /* This makes the white background of the JPG blend into the hero overlay */
    mix-blend-mode: multiply; 
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.hero-text {
    flex: 2;
    text-align: left; /* Aligns text to the left so it hugs the logo */
    min-width: 300px;
}

/* Adjusting the existing Hero properties */
.hero {
    height: auto;     /* Changed from 60vh to fit the content */
    padding: 80px 0;  /* Adds nice breathing room at the top and bottom */
}

/* Mobile specific tweak */
@media (max-width: 768px) {
    .hero-text {
        text-align: center; /* Re-centers text when the logo moves to the top */
    }
}



.mission-graphic {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto 1.5rem auto !important;
    padding: 0 !important;
}

/* This targets the image itself */
.mission-graphic img {
    /* Hard limit: This makes the logo about the size of a large icon */
    height: 80px !important; 
    width: auto !important;
    
    /* Ensures it never stretches to fill the screen */
    max-width: 150px !important; 
    
    /* Centering and display logic */
    display: inline-block !important;
    margin: 0 auto !important;
    
    /* Blending for your JPG */
    mix-blend-mode: multiply;
    object-fit: contain;
}

/* Tighten up the heading immediately below it */
#about h2 {
    margin-top: 0;
}
/* Ensure the container itself is centered if it uses a grid/flex layout */
#about {
    text-align: center;
}


/* to ensure images work on mobile */
.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}



footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 10%; /* Adjust the 10% to match your main container's padding */
}

.footer-container {
    display: flex;
    justify-content: space-between; /* Pushes left and right content apart */
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Allows stacking on mobile */
    gap: 2rem;
}

.footer-left h3 {
    margin-bottom: 1rem;
    color: var(--burnt-orange);
    font-family: 'Roboto Slab', serif;
}

.footer-left p {
    margin: 0.4rem 0;
    font-size: 0.95rem;
}

.footer-left .copyright {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-right {
    flex: 0 0 auto; /* Ensures the container doesn't shrink */
    text-align: right;
}

.footer-logo {
    /* Change 150px to 200px if you want it even bigger */
    height: 150px !important; 
    width: auto !important;
    
    /* Increased the max-width to give it room to grow */
    max-width: 250px !important; 
    
    display: block;
    object-fit: contain;
    
    /* Since it's a JPG on a dark background, this adds a subtle 
       rounded corner so the white box doesn't look so sharp. */
    border-radius: 4px; 
}
/* Mobile Tweak */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-right {
        order: -1; /* Puts the logo on top when viewed on a phone */
    }
}

