/* Global Styles - Black and Gold Theme */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0f1c;
    margin: 0;
    padding: 0;
    color: #f2c94c;
    line-height: 1.8;
    font-size: 1.05rem;
}

header, footer {
    background-color: #000000;
    color: #f2c94c;
    padding: 20px;
    text-align: center;
}

header nav ul.nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

header nav ul.nav li a {
    color: #f2c94c;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

header nav ul.nav li a:hover {
    color: #ffd700;
}

section {
    margin-bottom: 60px;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    color: #f2c94c;
    border: none;
    background: none;
    box-shadow: none;
}

h2 {
    font-size: 2rem;
    color: #f2c94c;
    border: none;
    background: none;
    box-shadow: none;
}

h3 {
    font-size: 1.5rem;
    color: #f2c94c;
    text-align: center;
    border: none;
    background: none;
    box-shadow: none;
    padding: 0; /* removes shifted padding */
    margin: 20px 0; /* nice vertical spacing */
}


p, li {
    line-height: 1.8;
}

ul {
    padding-left: 20px;
}

a {
    color: #f2c94c;
    text-decoration: underline;
}

a:hover {
    color: #ffd700;
}

a:focus, button:focus, .button:focus, input:focus, textarea:focus {
    outline: 2px solid #ffd700;
    outline-offset: 3px;
}

.button, button, input[type="submit"] {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f2c94c;
    color: #0a0f1c;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.button:hover, button:hover, input[type="submit"]:hover {
    background-color: #ffd700;
    color: #000000;
}

input[type="text"],
input[type="email"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px solid #f2c94c;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
    background-color: #141d2b;
    color: #f2c94c;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 5px #ffd700;
}

form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

#testimonial-carousel .testimonial {
    display: none;
    font-style: italic;
    background-color: #141d2b;
    color: #f2c94c;
    padding: 20px;
    border-left: 5px solid #f2c94c;
    border-radius: 4px;
}

#testimonial-carousel .testimonial:first-child {
    display: block;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service {
    background-color: #141d2b;
    border-left: 5px solid #f2c94c;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    color: #f2c94c;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(242, 201, 76, 0.3);
}

.contact-info, .map {
    margin-top: 20px;
}

footer p {
    margin: 10px 0 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    header nav ul.nav {
        flex-direction: column;
        gap: 10px;
    }

    .service-list {
        grid-template-columns: 1fr;
    }
}
header nav ul.nav li .active {
    color: #ffffff;
    text-decoration: underline;
}
 figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
}

 figcaption {
    margin-top: 10px;
    font-style: italic;
    color: #f2c94c;
    text-align: center;
    font-size: 1.1rem;
}
main {
    max-width: 1200px; /* Page won't stretch too wide */
    width: 90%; /* Flexible with screen size */
    margin: 0 auto; /* Center main content horizontally */
}

/* Media Query for Tablets (768px and below) */
@media (max-width: 768px) {
    main {
        max-width: 95%;
        width: 95%;

    }
    section > p,
    section > ul {
        padding-left: 5rem; /* Reduce padding for better mobile view */
    }

}

/* Media Query for Mobile Phones (480px and below) */
@media (max-width: 480px) {
    main {
        max-width: 100%;
        width: 100%;

    }
    section > p,
    section > ul {

    }

}

/* Optional: Media Query for extra-large desktops (1400px and up) */
@media (min-width: 1400px) {
    main {
        max-width: 1400px;
    }
}
.map iframe {
    width: 100%;
    height: 300px;
    border: 0; /* removes old frameborder */
    border-radius: 8px;
}