/* ==========================================================================
   1. GLOBAL MASTER FONTS & PARALLAX BACKGROUND ENGINE
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    html {
    scroll-behavior: smooth;
}
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #111;
    /* This creates your premium floating immersive wallpaper look */
    background-image: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), url('images/studio-bg.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* Heading Font Frameworks */
header h1, .pricing-card h3 {
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}
h2, .art-info h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}
.section-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #555;
    margin-bottom: 40px;
    text-align: center;
}

/* ==========================================================================
   2. HEADER STICKY NAVIGATION NAVIGATION
   ========================================================================== */
header {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: #555;
    margin-left: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease, border-bottom 0.2s ease;
    padding-bottom: 5px;
}
.nav-links a:hover {
    color: #000;
    border-bottom: 2px solid #111;
}

/* ==========================================================================
   3. HERO INTRODUCTION LAYOUT
   ========================================================================== */
.hero-section {
    text-align: center;
    padding: 100px 20px;
    margin: 0 auto;
    max-width: 800px;
}
.hero-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.hero-section p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 35px;
}
.cta-btn {
    display: inline-block;
    background-color: #111;
    color: #fff;
    text-decoration: none;
    padding: 14px 35px;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.2s ease;
}
.cta-btn:hover {
    background-color: #333;
}

/* ==========================================================================
   4. DETAILED PREMIUM FROSTED GALLERY GRID (10 SLOTS)
   ========================================================================== */
.gallery-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.gallery-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.art-card {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.art-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    background-color: rgba(0,0,0,0.05);
    cursor: pointer;
}
.art-info {
    padding: 20px;
    text-align: left;
}
.art-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}
.art-info p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.card-price {
    font-weight: bold;
    font-size: 1.1rem;
    color: #111;
}
.status {
    padding: 4px 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 3px;
    display: inline-block;
}
.available { background-color: #e6f4ea; color: #137333; }
.sold { background-color: #fce8e6; color: #c5221f; }

/* ==========================================================================
   5. ACCOLADES, ACCREDITATIONS & CERTIFICATES MEDIA GRID
   ========================================================================== */
.accolades-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.accolades-section h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.accolades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.accolade-card {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.accolade-thumb {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}
.accolade-meta {
    text-align: left;
    margin-top: 15px;
}
.accolade-meta h4 { font-size: 1.1rem; margin-bottom: 5px; }
.accolade-meta p { color: #666; font-size: 0.9rem; }

/* ==========================================================================
   6. JAVASCRIPT POPUP INTERACTIVE LIGHTBOX
   ========================================================================== */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}
.lightbox-content {
    max-width: 85%;
    max-height: 85%;
    border-radius: 4px;
}
.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* ==========================================================================
   7. PROPORTIONAL PRICING CARD MATRIX
   ========================================================================== */
.pricing-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.pricing-section h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}
.pricing-card {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 6px;
    padding: 40px 30px;
    flex: 1;
    min-width: 300px;
    max-width: 360px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.pricing-card.featured {
    border: 2px solid rgba(17, 17, 17, 0.3) !important;
}
.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 12px;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
}
.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.size-dims {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.price-start {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: #111;
}
.pricing-features {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #333;
    font-size: 0.95rem;
}
.pricing-features li::before {
    content: "✓ ";
    color: #111;
    font-weight: bold;
}
/* Moving Highlight Selector Frame Triggered by JS Click Loop */
.pricing-card.selected-card {
    border: 2px solid #111 !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.85) !important;
}

/* ==========================================================================
   8. INTERACTIVE FAQ ACCORDION LAYOUT
   ========================================================================== */
.faq-section {
    padding: 80px 20px;
    background-color: transparent !important;
}
.faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}
.faq-container {
    max-width: 750px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 15px 0;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.faq-answer p {
    color: #444;
    padding: 10px 0 15px 0;
    line-height: 1.6;
    font-size: 1rem;
}
.faq-item.active .faq-answer {
    max-height: 200px;
}
.faq-item.active .faq-question span {
    transform: rotate(45deg);
    display: inline-block;
}

/* ==========================================================================
   9. IMMERSIVE INQUIRY & CONTACT FORM PANEL
   ========================================================================== */
.contact-section {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 6px;
    padding: 60px 40px;
    max-width: 600px;
    margin: 40px auto 80px auto;
    text-align: center;
}
.contact-section h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.contact-section p {
color: #444;
margin-bottom: 30px;
}
.contact-form {
display: flex;
flex-direction: column;
text-align: left;
}
.contact-form label {
font-weight: 600;
margin-top: 15px;
margin-bottom: 5px;
font-size: 0.9rem;
}
.contact-form input, .contact-form textarea {
padding: 12px;
border: 1px solid #ccc;
background: rgba(255, 255, 255, 0.5);
border-radius: 4px;
font-size: 1rem;
font-family: inherit;
}
.submit-btn {
margin-top: 25px;
background-color: #111;
color: #fff;
padding: 14px;
border: none;
border-radius: 4px;
font-size: 1rem;
font-weight: bold;
cursor: pointer;
transition: background 0.2s ease;
}
.submit-btn:hover {
background-color: #333;
}
/* ==========================================================================
10. SCROLL-DRIVEN OBSERVATION ACCELERATION
========================================================================== */
.reveal-up {
opacity: 0;
transform: translateY(40px);
transition: opacity 0.8s cubic-bezier(0.215, 0.610, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1);
}
.reveal-pop {
opacity: 0;
transform: scale(0.9);
transition: opacity 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.active-motion {
opacity: 1;
transform: translateY(0) scale(1);
}
/* Hover Pointer Transitions */
.art-card, .accolade-card, .pricing-card {
transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0 4px 15px rgba(0,0,0,0.02);
}
.art-card:hover, .accolade-card:hover {
transform: translateY(-10px) scale(1.02);
box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
/* ==========================================================================
11. CLIENT TESTIMONIAL CARDS LAYOUT
========================================================================== */
.testimonials-section {
padding: 80px 20px;
max-width: 1200px;
margin: 0 auto;
text-align: center;
}
.testimonials-section h2 {
font-size: 2.2rem;
margin-bottom: 50px;
}
.testimonials-grid {
display: flex;
justify-content: center;
gap: 30px;
flex-wrap: wrap;
}
.testimonial-card {
background: rgba(255, 255, 255, 0.65) !important;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.4) !important;
border-radius: 6px;
padding: 40px 30px;
flex: 1;
min-width: 300px;
max-width: 500px;
box-shadow: 0 4px 15px rgba(0,0,0,0.02);
text-align: left;
}
.testimonial-card .quote {
font-style: italic;
color: #333;
font-size: 1.1rem;
margin-bottom: 20px;
line-height: 1.7;
}
.testimonial-card h4 {
font-size: 0.95rem;
color: #111;
text-transform: uppercase;
letter-spacing: 1px;
}
/* ==========================================================================
12. CLIENT PORTAL MASTER FOOTER
========================================================================== */
footer {
background-color: #111;
color: #fff;
padding: 50px 20px;
text-align: center;
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 30px;
}
.footer-socials p {
color: #aaa;
font-size: 0.95rem;
margin-bottom: 12px;
}
.social-links a {
color: #fff;
text-decoration: none;
margin: 0 15px;
font-weight: bold;
font-size: 1rem;
transition: color 0.2s ease;
}
.social-links a:hover {
color: #aaa;
}
.footer-copyright p {
color: #666;
font-size: 0.85rem;
border-top: 1px solid #222;
padding-top: 20px;
}
/* ==========================================================================
13. PORTABLE MOBILE MEDIA VIEWPORT ADJUSTMENT
========================================================================== */
@media (max-width: 768px) {
.header-container {
flex-direction: column;
gap: 15px;
}
.nav-links {
display: flex;
flex-direction: column;
gap: 10px;
text-align: center;
}
.nav-links a {
margin-left: 0;
}
.hero-section h2 {
font-size: 2.2rem;
}
}
/* --- Top Moving Announcement Banner --- */
.top-announcement-bar {
    background-color: #111; /* Sleek elegant dark banner */
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 2000;
}
.moving-banner-text {
    display: flex;
    white-space: nowrap;
    gap: 50px;
    animation: marquee-slide 25s linear infinite; /* Smooth continuous sliding motion */
}
.moving-banner-text:hover {
    animation-play-state: paused; /* Pauses sliding when a user hovers over it to read */
}
.moving-banner-text span {
    padding-right: 50px;
}

/* The infinite scrolling loop engine */
@keyframes marquee-slide {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
/* --- Advanced Sub-Gallery Modal Workspace --- */
.studio-modal {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 18, 15, 0.85);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    padding: 40px 10px;
}
.modal-workspace {
    background: rgba(255, 255, 255, 0.85);
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    color: #111;
}

/* Sub-Artwork Dynamic Grid Card Layout */
.sub-art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}
.sub-art-card {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 6px;
    padding: 15px;
}
.sub-art-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; }
.sub-art-meta { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; }

/* Checkout & M-Pesa Panel Styling */
.payment-checkout-box {
    border-top: 2px dashed rgba(0,0,0,0.1);
    padding-top: 30px;
    margin-top: 40px;
}
.payment-channel {
    background: rgba(255,255,255,0.5);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: left;
}
.mpesa-input-row {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.mpesa-input-row input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}
.mpesa-input-row button {
    background: #1b9343; /* M-Pesa Signature Green */
    color: white;
    border: none;
    padding: 0 25px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

/* Guestbook Comments Styling */
.comments-board {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 30px;
    margin-top: 40px;
    text-align: left;
}
.comments-output-stream {
    max-height: 250px;
    overflow-y: auto;
    background: rgba(0,0,0,0.02);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.comment-bubble {
    background: white;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 3px solid #111;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.comment-bubble h5 { font-weight: 600; font-size: 0.9rem; margin-bottom: 3px; color: #555; }
.comment-submission-block { display: flex; flex-direction: column; gap: 10px; }
.comment-submission-block input, .comment-submission-block textarea { padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }
.comment-submission-block button { background: #111; color: white; border: none; padding: 10px; font-weight: bold; cursor: pointer; border-radius: 4px; }
/* --- Paste at the absolute bottom of style.css --- */

/* Brand Logo Entrances */
.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #111; }
.studio-logo { height: 40px; width: auto; object-fit: contain; }
.logo-text { font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: 700; letter-spacing: 1px; }
.hero-logo-container { margin-bottom: 20px; text-align: center; }
.hero-studio-logo { width: 110px; height: auto; object-fit: contain; }
.explore-lbl { display: inline-block; font-size: 0.85rem; font-weight: bold; color: #111; margin-top: 10px; border-bottom: 1px solid #111; }

/* Sub-Gallery Immersive Overlay Panel */
.studio-modal {
    display: none; position: fixed; z-index: 5000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(20, 18, 15, 0.75); backdrop-filter: blur(12px); overflow-y: auto; padding: 40px 15px;
}
.modal-workspace {
    background: rgba(253, 252, 248, 0.95); max-width: 950px; margin: 0 auto; padding: 35px;
    border-radius: 12px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.25); text-align: center;
}
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 35px; font-weight: bold; cursor: pointer; }
.sub-art-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; margin: 35px 0; }
.sub-art-card { background: rgba(255,255,255,0.8); border-radius: 6px; padding: 15px; text-align: left; border: 1px solid rgba(0,0,0,0.05); }
.sub-art-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; }
.sub-art-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }

/* Checkout Channels & Review Inputs */
.payment-checkout-box, .comments-board { border-top: 1px dashed rgba(0,0,0,0.15); padding-top: 35px; margin-top: 35px; text-align: left; }
.payment-channel { background: rgba(255, 255, 255, 0.45) !important; backdrop-filter: blur(16px); padding: 20px; margin-bottom: 15px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.5) !important; }
.mpesa-input-row { display: flex; gap: 15px; margin-top: 12px; }
.mpesa-input-row input { flex: 1; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }
.mpesa-input-row button { background: #1b9343; color: white; border: none; padding: 0 25px; font-weight: bold; border-radius: 4px; cursor: pointer; }
.paypal-placeholder-btn { width: 100%; background: #0070ba; color: white; border: none; padding: 12px; font-weight: bold; border-radius: 4px; margin-top: 12px; cursor: pointer; }
.comments-output-stream { max-height: 220px; overflow-y: auto; background: rgba(0,0,0,0.02); padding: 15px; border-radius: 4px; margin-bottom: 20px; }
.comment-bubble { background: rgba(255, 255, 255, 0.45) !important; padding: 12px; margin-bottom: 10px; border-left: 3px solid #111; text-align: left; border-radius: 4px; }
.comment-bubble h5 { font-size: 0.9rem; margin-bottom: 4px; color: #444; }
.comment-submission-block { display: flex; flex-direction: column; gap: 10px; }
.comment-submission-block input, .comment-submission-block textarea { padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }
.comment-submission-block button { background: #111; color: white; border: none; padding: 10px; font-weight: bold; border-radius: 4px; cursor: pointer; }
/* --- 1. SMOOTH HOVER EFFECTS ON ART CARDS --- */
.art-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Makes cards lift up smoothly and cast a soft shadow when hovered */
.art-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Softens the image inside the card on hover */
.art-card img {
    transition: filter 0.4s ease;
}
.art-card:hover img {
    filter: brightness(1.03);
}


/* --- 2. ENTRANCE ANIMATIONS WHEN THE PAGE LOADS --- */
/* The Hero Section Fade-In */
.hero-section {
    animation: fadeInEntrance 1.2s cubic-bezier(0.215, 0.610, 0.355, 1) forwards;
}

/* The Gallery Grid Fade-Up */
.art-grid {
    animation: fadeUpEntrance 1.4s cubic-bezier(0.215, 0.610, 0.355, 1) forwards;
}

/* --- ANIMATION TIMELINES (KEYFRAMES) --- */
@keyframes fadeInEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUpEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
