/* General Page Setup */
body {
    background-color: #2e004f; /* Dark Purple Background */
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* Change Wrapper from Fixed to Fluid */
#wrapper {
    width: 95%;        /* Instead of 960px, use a percentage */
    max-width: 1200px; /* It won't get wider than this on big screens */
    margin: 0 auto;
    background-color: #FFFFFF;
    border: 2px solid #FFD700;
}

/* Make Images Responsive */
img {
    max-width: 100%;   /* Images will never be wider than the screen */
    height: auto;      /* Keeps the image from looking stretched */
}

/* Stack the Columns for Mobile */
/* This is a "Media Query". CS4 might not color-code this correctly, but browsers will read it! */
@media screen and (max-width: 768px) {
    #side-panel, #body-content {
        float: none;    /* Stops them from sitting side-by-side */
        width: 100%;    /* Makes them full width */
        padding: 10px;
        box-sizing: border-box;
    }
    
    #nav li {
        display: block;  /* Stacks navigation links vertically on phones */
        margin: 5px 0;
    }
}

/* Header */
#header {
    background-color: #4B0082;
    color: #FFD700;
    padding: 40px 0;
    text-align: center;
}

#header h1 {
    margin: 0;
    font-size: 42px;
}

/* NAVIGATION: Centered and Side-by-Side */
#nav-container {
    background-color: #FFD700;
    text-align: center; /* This centers the links */
    padding: 10px 0;
    border-top: 1px solid #4B0082;
    border-bottom: 1px solid #4B0082;
}

#nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

#nav li {
    display: inline-block; /* Keeps them in a row */
    margin: 0 15px;
}

#nav li a {
    text-decoration: none;
    color: #4B0082;
    font-weight: bold;
    text-transform: uppercase;
}

#nav li a:hover {
    color: #000000;
}

/* Content Layout */
#main-content {
    overflow: hidden; /* Necessary for floating columns */
    padding: 10px;
}

#side-panel {
    float: left;
    width: 280px;
    min-height: 400px;
    background-color: #f4f4f4;
    border: 1px dashed #4B0082;
}

#side-panel img {
    background: transparent !important;
    border: none;
}

#body-content {
    float: right;
    width: 630px;
    padding: 10px;
    color: #333333;
    line-height: 1.5;
}

/* Gallery Photo Grid */
.photo-grid {
    overflow: hidden;
    margin-top: 20px;
}

.photo-item {
    float: left;
    width: 290px; /* Fits two side-by-side in your 630px body */
    margin: 5px;
    border: 2px solid #FFD700;
    background-color: #f4f4f4;
}

.photo-item img {
    display: block;
}

/* Video Styling */
.video-section {
    margin-top: 40px;
    clear: both;
}

.video-container {
    margin-bottom: 20px;
    border: 3px solid #4B0082;
}

.clear {
    clear: both;
}

/* Footer */
#footer {
    background-color: #4B0082; /* Deep Purple */
    color: #FFD700;           /* Gold Text */
    text-align: center;
    padding: 30px 0;
    line-height: 1.8;
}

#footer a {
    color: #FFFFFF;           /* White for links to make them pop */
    text-decoration: none;
    font-weight: bold;
    padding: 0 10px;
}

#footer a:hover {
    color: #FFD700;           /* Turns Gold when you hover */
    text-decoration: underline;
}