/* 1. General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* 2. Header & Nav */
/* Cleaned Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    z-index: 1; /* Sits behind the main content */
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(Header.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* The Scrolling Section */
main {
    position: relative;
    z-index: 2; /* Sits on top of the header */
    margin-top: 80vh; /* Pushes the gallery down past the header image */
    background-color: #f4f4f4; /* Solid color hides the header as you scroll */
    padding: 50px 20px;
    min-height: 100vh;
}

nav ul {
    padding: 0;
    list-style: none;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* 3. The Gallery Layout (Flexbox) */
#gallery {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line */
    justify-content: center; /* Centers the photos */
    padding: 20px;
    gap: 30px; /* Space between your photos */
}

/* 4. Individual Print Styling */
article {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    width: 300px; /* Fixed width for a uniform look */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

article img {
    max-width: 100%; /* Makes image fit inside the article */
    height: auto;
}

/* 5. Buttons */
button {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background: #218838;
}

header {
    /* 1. Fix the header so it doesn't move */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh; /* Takes up 80% of the screen height */
    z-index: 1; /* Sits at the bottom layer */

    /* 2. Background Image Settings */
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(Header\ photo\ minimized.jpg);
    background-size: cover;
    background-position: center;
    
    /* 3. Center the Logo and Nav vertically */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 550px; /* Adjust size as needed */
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex; /* Makes the list items horizontal */
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 4. The Scrolling Effect */
main {
    position: relative;
    z-index: 2; /* Sits on top of the header */
    margin-top: 80vh; /* Must match the header height to start at the right spot */
    background-color: #f4f4f4; /* Solid color hides the header as you scroll */
    padding: 50px 0;
}
#gallery h2 {
    width: 100%;
    text-align: center; /* Optional: This will center the title above your photos */
    margin-bottom: 30px; /* Adds some breathing room before the photos start */
}
/* Hover Interaction Banner links
/* This is how the links look normally */
nav a {
    color: white; /* Based on your current header setup */
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease; /* Makes the color change smooth instead of instant */
}

/* This is what happens when you hover over them */
nav a:hover {
    color: #ff9900; /* Replace this with any color you like, maybe a gold or soft blue */
}
/*Hover interaction Gallery
/* The 'Resting' State */
article {
    background: #fff;
    padding: 15px;
    width: 300px;
    text-align: center;
    border-radius: 8px; /* Rounds the corners slightly for a modern look */
    
    /* This makes the movement smooth instead of jerky */
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    
    /* A subtle initial shadow */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

/* The 'Hover' State */
article:hover {
    /* Moves the card up by 10 pixels */
    transform: translateY(-10px); 
    
    /* Makes the shadow larger and blurrier to simulate height */
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2); 
}
/*Background color
/* Update the global background */
body {
    background-color: #353839; /* Onyx Grey */
    color: #f4f4f4; /* Light text so it's readable against dark grey */
}

/* Update the scrolling section */
main {
    position: relative;
    z-index: 2;
    margin-top: 80vh;
    background-color: #353839; /* Match the Onyx Grey */
    padding: 50px 20px;
    min-height: 100vh;
}

/* Optional: Update your photo cards to be a slightly different grey so they stand out */
article {
    background: #4c5152; /* Slightly darker than onyx for depth */
    color: white;
    /* Keep your existing transition and box-shadow here */
}
\\Change Header2 color
#gallery h2 {
    color: #ffffff; /* Sets the text color to white */
    width: 100%; /* Keeps it on its own line */
    text-align: center; /* Centers the text */
    margin-bottom: 40px; /* Adds space before the photos start */
}
body {
    background-color: #353935; /* Your Onyx Grey */
    color: #f4f4f4; /* This makes all general text a soft white */
}

#about h4 {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

/* 1. Desktop/General Styles */
.divider-image {
    height: 400px; 
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('Banner 2.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

/* 2. Mobile Specific Styles (Separated) */
@media only screen and (max-width: 768px) {
    .divider-image {
        height: 250px; 
        /* This fixes the "zoomed in" look on iPhones */
        background-attachment: scroll !important;
        background-size: cover; 
    }
}