﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* In your site.css */
#staticImageCarousel {
    /* Set the maximum width for the whole carousel container */
    max-width: 700px;
    margin: 20px auto; /* Center the container on the page */
}

.carousel-item img, .carousel-img {
    width: 90%;
    /* On mobile, let the height adjust automatically to prevent gaps */
    height: auto;
    max-height: 75vh; /* Limits height to 40% of the screen on mobile */
    margin: auto;
    display: block;
    object-fit: cover; /* "Cover" often looks better on mobile to fill space */
    object-position: center;
}

/* Desktop View (Screens wider than 768px) */
@media (min-width: 768px) {
    .carousel-item img, .carousel-img {
        height: 550px; /* Restores your original desktop height */
        object-fit: contain; /* Keeps the full artwork visible on wide screens */
    }
}

.main-content {
    padding: 2rem;
    background: white;
    text-align: center;
}

.intro-text-wrapper {
    /* Current state is likely max-width: 400px or similar. */
    /* Change the max-width to allow the text to flow wider: */
    max-width: 100%; /* e.g., allow it to take up 80% of the screen */
    /* Alternatively, if the text should span nearly the whole screen, remove max-width: */
    /* max-width: none; */

    padding: 0 50px; /* Add some padding on the sides for readability */
}

/* Ensure the main heading itself can expand */
.welcome-heading {
    /* If the heading is wrapped, ensure its wrapper doesn't restrict it */
    width: auto;
}

/* --- 1. Styling for the Main Header (Logo next to H1) --- */

.main-header-container {
    /* Use Flexbox to align the image and the text horizontally */
    display: flex;
    /* Center the entire block on the page */
    justify-content: center;
    align-items: center; /* Vertically align items in the middle */
    gap: 15px; /* Add some space between the logo and the text */
    margin-bottom: 20px; /* Space below the header block */
}

    /* Ensure the logo is the correct size */
    .main-header-container .header-logo {
        /* Adjust these values to match the size in your screenshot */
        width: 135px;
        height: 135px;
    }

.page-title {
    /* Remove any default margins that might interfere with alignment */
    margin: 0;
    font-size: 2.5em; /* Example font size */
}


/* --- 2. Styling for Sub-Headers (Mission, What We Do, etc.) --- */

/* Use a common class for all sub-headers (H2) */
.section-title {
    /* This makes the <img> inside the <h2> align with the text */
    display: flex;
    align-items: center;
    gap: 8px; /* Small gap between the icon and the text */
    margin-bottom: 10px;
    /* If you want the icon to be on the left of the header text */
    /* Add any other styling like color, font-weight, etc. here */
}

    /* Style the icons/small logos inside the H2 */
    .section-title .section-icon {
        /* Ensure the icon is small and vertically aligned */
        width: 24px;
        height: 24px;
        margin: 0; /* Remove any default image margins */
    }

.header-split-container {
    /* Use Flexbox to align logo and title horizontally */
    display: flex;
    /* Vertically center the items */
    align-items: center;
    /* Set max-width if you want the header split to stop growing */
    max-width: 100%;
    margin: 0 auto; /* Center the whole container on the page */
    padding: 20px; /* Add some overall padding */
}

.navbar {
    font-family: 'Open Sans', sans-serif;
}

.navbar-nav .nav-link {
    color: #0b3d91;
    font-weight: 600;
    padding: 10px 16px;
}

    .navbar-nav .nav-link:hover {
        color: #062a63;
    }

.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-img {
    width: 100%;
    height: auto;
    max-height: 460px; /* desktop size control */
    object-fit: cover; /* crop nicely if needed */
    border-radius: 8px;
}

/* Mobile fine-tuning */
@media (max-width: 576px) {
    .gallery-img {
        max-height: 280px;
    }
}

.gallery-img-2 {
    width: 100%;
    height: auto;
    max-height: 260px; /* desktop size control */
    object-fit: cover; /* crop nicely if needed */
    border-radius: 8px;
}

/* Mobile fine-tuning */
@media (max-width: 356px) {
    .gallery-img-2 {
        max-height: 180px;
    }
}

/* --- 3. Title Content Area (70% Width) --- */

.header-title-content {
    /* Set the width to 70% of the parent container */
    width: 80%;
    /* Align text to the left within its 70% area */
    text-align: left;
}

.page-title {
    /* Ensure no residual margins push the content around */
    margin: 0;
    font-size: 2.8em; /* Adjust font size to fit the space */
    font-weight: bold;
}

.three-columns {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-left:10px;
}

.column {
    flex: 1;
    min-width: 280px; /* allows wrap on small screens */
}

/* Image + Text row */
.media-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Image */
.media-image img {
    width: 180px;
    height: 170px;
    border-radius: 50%;
    max-width: 100%;
    border-radius: 8px;
}

/* Text */
.media-text ul {
    padding-left: 18px;
}

/* 📱 Mobile */
@media (max-width: 768px) {
    .media-row {
        flex-direction: column;
        text-align: center;
    }

    .media-image img {
        width: 100%;
        max-width: 240px;
        margin: auto;
    }

    .media-text {
        text-align: left;
    }
}


.table th {
    font-weight: normal;
}

.header-container {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
    max-width: 95%;
    margin: auto;
}

/* Logo */
.header-logo-wrapper {
    flex-shrink: 0;
}

.header-logo {
    width: 460px;
    height: auto;
    max-width: 100%;
}

.header-logo-layout {
    width: 90px;
    height: auto;
    max-width: 100%;
}

/* Content */
.header-title-content {
    flex: 1;
}

.header-title {
    font-family: 'Prata', serif;
    text-align: center;
    margin-bottom: 16px;
}

.header-description {
    font-size: 1.1rem;
    text-align: justify;
}

/* 📱 Mobile & Tablet */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .header-logo {
        width: 210px;
    }

    .header-logo-layout {
        width: 90px;
    }

    .header-description {
        text-align: justify;
        font-size: 1rem;
    }

  
}

.nova-script-regular {
    font-family: 'Nova Script', system-ui !important;
    font-weight: 300;
    font-style: normal;
    color: darkblue;
}

/* 📱 Mobile & Tablet */
@media (max-width: 768px) {
    .nova-script-regular {
        font-family: 'Nova Script', system-ui !important;
        font-size:12px;
        font-style: normal;
        color: darkblue;
    }
}

    .open-sans-font {
        font-family: "Open Sans", sans-serif;
    }

    .contact-btn {
        background-color: #0b3d91;
        color: white !important;
        padding: 6px 14px;
        border-radius: 5px;
        margin-left: 5px;
    }

        .contact-btn:hover {
            background-color: #062a63;
        }

    h3 {
        color: darkblue;
    }

    h2 {
        color: darkblue;
    }

    .site-footer {
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #f8f9fa;
        text-align: center;
        padding: 15px;
    }

    .main-menu {
        list-style: none;
        display: flex;
        justify-content: right;
        padding: 0;
        margin-left: 30px;
    }

        .main-menu li {
            position: relative;
        }

        .main-menu > li > a {
            text-decoration: none;
            padding: 10px 16px;
            display: block;
        }

    /* Submenu */
    .submenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        list-style: none;
        padding: 0;
        margin: 0;
        background: white;
        border: 1px solid #ddd;
        min-width: 160px;
        z-index: 999;
    }

        .submenu li a {
            padding: 8px 14px;
            display: block;
            white-space: nowrap;
        }

    /* show dropdown */
    .dropdown:hover .submenu {
        display: block;
    }

    /* hover effect */
    .main-menu a:hover {
        background: #258cfb; /*#f3f3f3;*/
        color: darkblue;
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    padding: 20px;
}

.thumb-wrapper {
    width: 160px;
    text-align: center;
    margin: 5px;
}

.artist-name {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
}

.edit-link {
    font-size: 12px;
    margin-top: 3px;
}

.gallery-thumb {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}
