﻿/* Content/Site.css */
html, body {
    width: 100%;
    overflow-y: auto;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

.header-band {
    width: 100%;
    margin: 0;
    padding: 0;
}

    .header-band img {
        width: 100%;
        height: auto;
        max-height: 300px;
        display: block;
    }

header {
    width: 100%;
}

nav#mainNavbar {
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to right, #2c3e50, #4b79a1);
    min-height: 60px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

    nav#mainNavbar.stuck {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(to right, #1a2634, #2c4a6c);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        border-bottom: 2px solid #ffd700;
    }

    nav#mainNavbar .container-fluid {
        padding: 0 20px;
    }

    nav#mainNavbar .navbar-brand,
    nav#mainNavbar .nav-link,
    nav#mainNavbar .dropdown-item {
        color: #fff;
    }

        nav#mainNavbar .nav-link:hover,
        nav#mainNavbar .dropdown-item:hover {
            color: #ffd700;
            background-color: rgba(255, 255, 255, 0.1);
        }

    nav#mainNavbar .dropdown-menu {
        background-color: #2c3e50;
        border: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 1001;
    }

    nav#mainNavbar .navbar-brand.logo {
        font-family: 'Lobster', cursive;
        font-size: 2.2rem;
        color: #ffd700;
        position: relative;
    }

        nav#mainNavbar .navbar-brand.logo:hover {
            transform: scale(1.1);
            color: #ffffff;
        }

        nav#mainNavbar .navbar-brand.logo::after {
            content: 'Art';
            font-size: 0.7rem;
            color: #ffffff;
            position: absolute;
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            opacity: 0.7;
        }

.signature-img {
    height: 40px; /* Match navbar content height (adjust if padding changes) */
    max-height: 60px; /* Match navbar min-height */
    width: auto; /* Preserve aspect ratio */
    max-width: 150px; /* Limit width to avoid stretching */
    vertical-align: middle;
}

    .signature-img:hover {
        transform: scale(1.1);
        transition: transform 0.3s ease;
    }

.container {
    max-width: 800px;
    padding: 0 20px;
    margin: 0 auto;
    margin-top: 60px; /* Adjust this value (e.g., 60px + 20px padding) */
}

.gallery-container {
    padding: 20px 0;
    max-width: 800px; /* Can increase for larger screens if needed */
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.gallery-item {
    position: relative;
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.dl-horizontal dt {
    white-space: normal;
}

input,
select,
textarea {
    max-width: 280px;
}

main h2, main h3 {
    margin: 0 0 20px 0; /* Remove any default left/right margins */
    padding: 0 20px; /* Match .container and .bio-container */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/*ABOUT PAGE*/
/* Bio container */
.bio-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px; /* Match the .container padding for alignment */
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.6;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

.bio-section {
    margin-bottom: 20px;
}

.bio-container img.bio-image {
    width: 200px !important;
    height: 200px !important;
    max-width: 200px !important;
    max-height: 200px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

.bio-container img.bio-image-left {
    float: left !important;
    margin: 0 20px 10px 0 !important;
}

.bio-container img.bio-image-right {
    float: right !important;
    margin: 0 0 10px 20px !important;
}

.bio-section::after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width: 768px) {
    .bio-section {
        text-align: center;
    }

    .bio-container img.bio-image,
    .bio-container img.bio-image-left,
    .bio-container img.bio-image-right {
        float: none !important;
        margin: 0 auto 20px !important;
        width: 100% !important;
        max-width: 300px !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
    }
}

/* Contact Form Styles */
.contact-form {
    max-width: 500px;
    margin: 20px auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    max-width: 500px; /* Override default max-width: 280px for inputs */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

    .form-control:focus {
        border-color: #ffd700;
        outline: none;
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }

.submit-button {
    padding: 10px 20px;
    background-color: #2c3e50; /* Matches navbar gradient start */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .submit-button:hover {
        background-color: #ffd700; /* Matches navbar hover color */
        color: #2c3e50;
    }

.success-message {
    color: #28a745;
    margin-bottom: 15px;
    text-align: center;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* FAQ Styles */
.faq-list {
    max-width: 800px;
    margin: 20px auto;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-list h5 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem; /* Smaller size for h5, adjust as needed */
    color: #2c3e50; /* Matches navbar gradient start */
}

.faq-list p {
    margin: 0 0 10px 0;
    text-align: justify;
    font-size: 1rem;
}

/* Responsive Grid for Gallery */
@media (min-width: 790px) {
    .gallery-container {
        max-width: 790px; /* 3 × 250px + 2 × 20px gap = 790px */
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 250px); /* 3 columns on large screens */
    }
}

@media (max-width: 789px) and (min-width: 540px) {
    .gallery-container {
        max-width: 540px; /* 2 × 250px + 1 × 20px gap = 520px + 20px padding */
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 250px); /* 2 columns on medium screens */
    }
}

@media (max-width: 539px) {
    .gallery-container {
        max-width: 290px; /* 1 × 250px + 2 × 20px padding = 290px */
    }

    .gallery-grid {
        grid-template-columns: 250px; /* 1 column on small screens */
    }
}


/* Modal image container for navigation arrows */
.image-container {
    position: relative;
    width: 100%;
}

/* Enhanced navigation arrows */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 10;
    text-decoration: none; /* Remove underline */
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 1;
    }

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    width: 40px;
    height: 40px;
    background-color: #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev-icon {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffd700"%3E%3Cpath d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6z"/%3E%3C/svg%3E');
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
}

.carousel-control-next-icon {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffd700"%3E%3Cpath d="M8.59 16.59L13.17 12l-4.58-4.59L10 6l6 6-6 6z"/%3E%3C/svg%3E');
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Footer styles */
.footer {
    background-color: #f8f9fa; /* Match bg-light */
    color: #2c3e50; /* Dark blue for visibility */
    padding: 20px 0;
    margin-top: 40px;
    width: 100%;
    text-align: center;
}

    .footer .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer p {
        margin: 0;
        font-size: 0.9rem;
        color: #2c3e50; /* Dark blue to match navbar */
    }

.footer-legal {
    font-size: 0.8rem;
    color: #2c3e50; /* Dark blue */
    line-height: 1.4;
    max-width: 690px;
    text-align: justify;
}

.footer-links {
    display: flex;
    gap: 120px; /* ~20-30 spaces */
    justify-content: center; /* Center links */
    margin-top: 10px;
}

.footer-link {
    color: #2c3e50 !important; /* Match copyright text */
    font-weight: bold; /* Bold to hint clickable */
    text-decoration: none !important; /* No underline */
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffd700 !important; /* Gold on hover */
}

.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2c3e50; /* Match navbar */
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 600px;
    width: 90%;
    text-align: center;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-link {
    color: #ffd700 !important; /* Gold to match hover */
    text-decoration: none !important;
    font-size: 0.9rem;
}

    .cookie-link:hover {
        color: #fff !important;
    }

@media (max-width: 539px) {
    .cookie-popup {
        bottom: 10px;
        padding: 15px;
    }
}

/* Subscription Form Styles */
.subscribe-section {
    background: linear-gradient(135deg, #6B7280, #1F2937);
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    margin: 30px auto;
    max-width: 600px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

    .subscribe-section h3 {
        font-size: 1.8rem;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .subscribe-section p {
        font-size: 1rem;
        margin-bottom: 20px;
        opacity: 0.9;
    }

.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.subscribe-input {
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    width: 250px;
    max-width: 100%;
    outline: none;
    transition: box-shadow 0.3s ease;
}

    .subscribe-input:focus {
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    }

.subscribe-button {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    background-color: #10B981;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .subscribe-button:hover {
        background-color: #059669;
        transform: translateY(-2px);
    }

    .subscribe-button:active {
        transform: translateY(0);
    }

.subscribe-message {
    margin-top: 15px;
    font-size: 0.9rem;
    display: none;
}

.success {
    color: #10B981;
}

.error {
    color: #EF4444;
}

/* Responsive Design */
@media (max-width: 480px) {
    .subscribe-form {
        flex-direction: column;
        align-items: center;
    }

    .subscribe-input {
        width: 100%;
    }
}