/* GENERAL */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #404040;
    color: #f2f2f2;
}

main {
    padding: 20px;
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.hero-img {
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    margin-top: 20px;
}

/* BUTTON */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 10px;
    transition: 0.2s ease;
}

.btn:hover {
    background: #555;
}

/* SERVICES SECTION */
.services {
    margin-top: 40px;
}

.services h2 {
    text-align: center;
    margin-bottom: 25px;
}

/* Responsive image gallery */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.service-gallery img {
    width: 100%;
    border-radius: 8px;
}

/* Service descriptions */
.service-list {
    display: grid;
    gap: 20px;
}

.service {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.service h3 {
    margin-top: 0;
}

.service-img {
    width: 100%;
    margin-top: 25px;
    border-radius: 10px;
}

/* FAVORITE SHOT */
.favorite-shot {
    text-align: center;
    margin: 50px 0;
}

.favorite-shot h2 {
    margin-bottom: 10px;
}

/* ABOUT SECTION */
.about {
    margin-top: 40px;
}

.about h2 {
    margin-bottom: 10px;
}

.about img {
    width: 300%;
    border-radius: 10px;
    margin-top: 20px;
}

/* CONTACT SECTION */
.contact {
    text-align: center;
    margin: 40px 0;
}

.contact a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.contact a:hover {
    text-decoration: underline;
}

/* MOBILE TWEAKS */
@media (max-width: 768px) {
    main {
        padding: 15px;
    }

    .service {
        padding: 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
/* --- Footer Fix: Resize FNDS Logo & Tighten Footer --- */

.site-footer {
    padding: 15px 10px;
    text-align: center;
    background: #333;
    color: #fff;
}

.site-footer p {
    margin: 5px 0;
}

.site-footer img {
    max-width: 35px;   /* adjust this number if you want it smaller */
    height: auto;
    display: block;
    margin: 8px auto 0;
}

/* Mobile footer tightening */
@media (max-width: 768px) {
    .site-footer img {
        max-width: 90px;
    }
}
/* --- Center Navigation Bar --- */
nav {
    width: 100%;
    text-align: center;
}

nav ul {
    display: flex;
    justify-content: center; /* centers the nav items */
    align-items: center;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    text-decoration: none;
    color: #f2f2f2; /* matches your off‑white theme */
    font-weight: 600;
}

/* Mobile nav layout */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 12px;
    }
}
.service {
    background: #222;   /* dark background */
    color: #f2f2f2;     /* off‑white text */
    padding: 20px;
    border-radius: 8px;
}
/* --- Contact Section Text Fix --- */
.contact {
    color: #f2f2f2; /* off‑white text */
    text-align: center;
}

.contact a {
    color: #f2f2f2; /* off‑white links */
    text-decoration: none;
    font-weight: bold;
}

.contact a:hover {
    color: #ffffff; /* brighter white on hover */
}
/* Mobile-only FNDS logo size */
@media (max-width: 768px) {
    .site-footer img {
        max-width: 50px;  /* smaller logo on phones */
        height: auto;
    }
}
/* --- Mobile Bottom Box Fix --- */
@media (max-width: 768px) {

    /* Fixes spacing and prevents oversized boxes */
    .service,
    .about,
    .favorite-shot,
    .contact {
        padding: 15px;
        margin: 15px 0;
        width: 100%;
        box-sizing: border-box;
    }

    /* Ensures images don’t stretch the box */
    .service img,
    .about img,
    .favorite-shot img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 10px auto;
    }

    /* Fixes text alignment issues */
    .contact,
    .about,
    .favorite-shot {
        text-align: center;
    }
}
/* --- Solo Session Black Box --- */
.solo-black {
    background: #000 !important;
    color: #fff !important;
}

.solo-black h3 {
    color: #fff !important;
}
/* --- Make header scroll normally (not fixed) --- */
header, nav {
    position: relative !important;
    top: auto !important;
}
/* Centered, rounded Back to Top button */
.back-to-top {
    display: block;
    margin: 40px auto;        /* centers the button */
    padding: 12px 24px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;      /* makes it rounded */
    width: fit-content;
    font-weight: bold;
    transition: 0.2s ease;
}

.back-to-top:hover {
    background: #555;
}
/* Center the top hero graphic */
.hero-image {
    display: block;
    margin: 0 auto;
    text-align: center;
}
.centered-img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
/* Match Portfolio background to homepage */

body {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    color: #fff;
}
.back-button {
    display: inline-block;
    padding: 10px 18px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: bold;
    transition: 0.2s ease;
}

.back-button:hover {
    background: #555;
}
/* Centered, rounded Back to Admin button */
.back-button2 {
    display: block;
    margin: 20px auto;        /* centers the button */
    padding: 12px 24px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;      /* rounded button */
    font-weight: bold;
    width: fit-content;
    transition: 0.2s ease;
}

.back-button:hover {
    background: #555;
}
/* Centered, rounded Back to Admin button */
.back-button {
    display: block;
    margin: 20px auto;
    padding: 12px 24px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    width: fit-content;
    text-align: center;
    transition: 0.2s ease;
}

.back-button:hover {
    background: #555;
}

/* Save button styling */
.save-button {
    padding: 12px 24px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s ease;
}

.save-button:hover {
    background: #0055aa;
}

/* Admin container */
.admin-container {
    width: 400px;
    margin: 40px auto;
    background: #111;
    padding: 20px;
    border-radius: 10px;
}

.admin-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background: #222;
    border: 1px solid #444;
    color: #fff;
}
