/* Reset basic margins */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: sans-serif; 
    line-height: 1.6; 
    position: relative; /* Necessary for the logo layer */
}

/* 1. The Watermark Logo Layer */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/TomComptonRiver.png');
    background-size: 300px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
}

/* 2. Navigation Styling */
nav { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    background: #333; 
    padding: 1rem;
    z-index: 1000; /* Keeps nav above the logo */
}

nav ul { 
    list-style: none; /* Removes bullet points */
    display: flex; 
    gap: 20px; 
    justify-content: center; /* Centers the links */
}

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

/* 3. Section Spacing */
section { 
    padding: 20px 20px; /* Space top/bottom for the fixed nav */
    min-height: 40vh; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

section {
    scroll-margin-top: 40px; /* This handles the overlapping issue when you click links */
}

/* 4. Contact Form Clean-up */
#contact form { 
    display: flex; 
    flex-direction: column; 
    width: 100%; 
    max-width: 400px; 
    gap: 10px; 
}

/* Container for your images */
.photo-gallery {
    display: flex;
    flex-direction: column; /* Stacks them vertically */
    align-items: center;    /* Keeps them centered */
    gap: 30px;              /* Space between the two stacked photos */
    margin-top: 20px;
}

.photo-gallery img {
    max-width: 100%;        /* Ensures they don't exceed the screen width */
    width: 400px;           /* Sets a standard base width */
    height: auto;           /* CRITICAL: Maintains original aspect ratio */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.podcast-links {
    display: flex;
    flex-direction: column; /* This forces the vertical stack */
    align-items: center;    /* This keeps them centered horizontally */
    gap: 15px;              /* Space between the rows */
    margin-top: 20px;
}

.podcast-links img {
    width: 200px;           /* Increased width to make them more prominent */
    height: auto;           /* Maintains aspect ratio so they aren't squished */
    transition: transform 0.2s;
}

.podcast-links img:hover {
    transform: scale(1.05); /* Slight grow effect on hover */
}

html { scroll-behavior: smooth; }