/* Global Styles */
* {
    font-family: "Quicksand", sans-serif;
    box-sizing: border-box;
}

/* Body */
body {
    background-image: url('../images/background-image.png');
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    font-style: normal;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

/* Navigation */
.navbar, .footer {
    width: 100%;
    color: #fff;
    background-color: #0000ff;
    text-align:center;
    list-style-type:none;
}

.navbar ul {
    list-style-type: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.navbar li {
    display: inline;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    padding: 14px 24px;
}

.navbar a:hover {
    background-color: #000099;
    text-shadow: 1px 1px #000, 2px 2px 4px #50ecec;
    transition: background-color 0.3s ease, text-shadow 0.3s ease;
}

.footer {
    width: 100%;
    color: #fff;
    background-color: #0000ff;
    text-align:center;
    list-style-type:none;
}

.navbarfooter, #legal_footer {
    width: 100%;
    color: #fff;
    background-color: #0000ff;
    text-align:center;
    display: inline;
    list-style-type:none;
}


/* Contact Section */
.contact-form-container {
    font-size: 24px;
    padding: 10px;
    color: #fff;
    text-shadow: 1px 1px #000, 2px 2px 4px #50ecec;
    text-align: left;
}

/* Form Layout */
form {
    max-width: 600px;
}

/* Form Labels and Inputs */
.contact label,
.contact input,
.contact textarea {
    color: #fff;
    background-color: #333;
    border: 1px solid #fff;
    padding: 0px;
    width: 100%;
    margin: 0px;
}

.contact label {
    display: block;
}

.contact textarea {
    height: 150px;
}

/* Headings */
h1, h2, h3 {
    text-align: center;
    font-weight: 400;
    padding: 10px;
    letter-spacing: 1px;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 24px;
    color: #fff;
    text-shadow: 1px 1px #000, 4px 2px 4px #50ecec;
}

/* Paragraphs and Containers */
p, .shallowdof, div {
    padding: 10px;
}

/* Buttons */
.button {
    background-color: #0000ff;
    border: none;
    color: #fff;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: block;
    max-width: fit-content;
    margin: auto;
    font-size: 16px;
    cursor: pointer;
}

/* Images */
.logo {
    margin: auto;
    width: 100px;
    padding-top: 10px;
    padding-bottom:10px;
}

img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}
/* Home Page Photos Layout */
.home-photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.home-photos img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 2px 2px 8px rgba(256, 256, 256, 1.0);
}

.poorlighting {
    width: 200px;
}

.century, .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
    align-items: center;
}

.image-grid img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    border-radius: 8px;
    object-fit: contain;
    object-position: center top;
}

.about, .drone, .camera, .passion, .apple, .ball, .deepdof, .singleportrait, .familyportrait, .seniorportrait, .wedding {
    display: block;
    margin: auto;
    width: 50%;
}

/* Forms */
fieldset {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: transparent;
}

legend {
    text-align: center;
    padding: 10px;
    font-weight: bold;
}

label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Submit Button Styling */
.submit-button {
    background-color: #0000ff;
    color: white;
    padding:0px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    display: flex;
    text-align: center;
    margin-top: 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding:10px;
    align-items: center;
}

.pgallery {
    text-align: center;
    font-size: 22px;
}

#seca {
    display: flex;
    width: 80%;
    margin: 0 auto;
}

.imagea {
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
}

#secb {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.imageb {
    height: 200px;
    object-fit: contain;
    object-position: center top;
}

.image-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.image-row figure {
    text-align: center;
    max-width: 100%;
}

.imagea {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Footer Styling */
.footer {
    background-color: #0000ff;
    padding: 20px 10px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    margin-top: 40px;
    border-top: 3px solid #fff;
}

.navbarfooter ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.navbarfooter li {
    display: inline;
}

.navbarfooter a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 16px;
}

.navbarfooter a:hover {
    background-color: #000099;
    text-shadow: 1px 1px #000, 2px 2px 4px #50ecec;
    transition: all 0.3s ease;
}

.footer p {
    margin: 10px 0 0 0;
    font-size: 13px;
    opacity: 0.9;
}
.ig {
    width: 32px;
    height: 32px;
}
/* Media Queries for Responsive Design */
@media only screen and (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
    }

    .century, .simba, .Dunkin_cup, .playing_piano, .panning, .stopped_motion, .girls, .apple, .high, .singleportrait {
        width: 90%;
        padding: 10px;
        text-align: center;
        background-color: #f2f2f2;
        border-radius: 10px;
        box-sizing: border-box;
    }
}

@media (prefers-color-scheme: light) {
    a {
        color: #87CEEB;
    }

    a:hover {
        color: #0f0;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    a {
        color: yellow;
    }

    a:hover {
        color: #0f0;
    }
}

/* Mobile Styles */
@media only screen and (max-width: 600px) {
    .logo {
        width: 150px;
    }

    .navbar {
        padding: 8px 0;
        text-align: center;
    }

    .navbar a {
        padding: 5px 8px;
    }

    #seca {
        display: inherit;
        width: 100%;
    }
}

