@charset "utf-8";
/* CSS Document */

/* ==========================================================================
   GLOBAL RESET & VARIABLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0d0d11;
    --bg-card: #16161f;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --accent: #6366f1; /* Royal Indigo Accent */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Merriweather', serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   STRUCTURE & NAVIGATION
   ========================================================================== */
.site-header {
    background-color: rgba(13, 13, 17, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-dot {
    color: var(--accent);
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: var(--text-primary);
}


/* ==========================================================================
   NAVIGATION DROPDOWN SYSTEM (PASTED HERE - ACTIVE ON ALL DEVICES)
   ========================================================================== */

/* 1. Tell the parent list item to act as the anchor point */
.site-nav ul li {
    position: relative; /* Crucial so the dropdown positions itself right under this item */
    display: inline-block;
}

/* 2. Hide the dropdown menu completely by default and style its container */
.site-nav ul .dropdown {
    display: none; /* Hides it from view */
    position: absolute;
    top: 100%; /* Positions it directly below the parent link */
    left: 0;
    background-color: var(--bg-card); /* Matches your dark card background */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    min-width: 160px;
    padding: 0.75rem 0;
    margin: 0;
    list-style: none;
    z-index: 1000; /* Ensures it floats above page content */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Style the individual sub-links inside the dropdown */
.site-nav ul .dropdown li {
    display: block; /* Stacks them vertically instead of horizontally */
    width: 100%;
}

.site-nav ul .dropdown li a {
    display: block;
    padding: 0.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: left;
}

/* Visual feedback when hovering over a sub-link */
.site-nav ul .dropdown li a:hover {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.03);
}

/* 3. THE MAGIC TRICK: Show the dropdown when hovering over the parent list item */
.site-nav ul li:hover .dropdown {
    display: block; /* Instantly reveals the menu on hover */
}


/* ==========================================================================
   COMMON LAYOUT COMPONENTS (GRID & HERO)
   ========================================================================== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero-section {
    padding: 6rem 0;
    max-width: 800px;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-section p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* The grid holding the cards */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.portfolio-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* --- FIX FOR ALIANZ COUNSELING HORIZONTAL IMAGE --- */
.card-img-wrapper {
    width: 100%;
    background-color: transparent; 
    overflow: hidden;
    display: block; 
}

.card-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.card-content {
    padding: 1.5rem;
}

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    margin-top: 6rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-socials a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.2s ease;
}

.footer-socials a:hover {
    color: var(--text-primary);
}


/* ==========================================
   MASONRY GALLERY LAYOUT
   ========================================== */

/* Base Layout for Desktops (3 Columns) */
.masonry-gallery {
    column-count: 3;
    column-gap: 1.5rem;
    margin-bottom: 6rem;
    width: 100%;             /* Fills available width */
    max-width: 1600px;       /* Keeps it from getting ridiculously wide on huge TVs */
    margin-left: auto;       /* Centers the gallery if it hits max-width */
    margin-right: auto;
}

/* Big / Ultra-Wide Desktop Displays (4 Columns) */
@media (min-width: 1600px) {
    .masonry-gallery {
        column-count: 4;
    }
}

/* Tablets & Small Laptops (2 Columns) */
@media (max-width: 1024px) {
    .masonry-gallery {
        column-count: 2;
    }
}



/* ==========================================
   1. BASE / DESKTOP STYLES (Always First)
   ========================================== */

.masonry-gallery {
    column-count: 3;
    column-gap: 1.5rem;
    margin-bottom: 6rem;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1.5rem;
    break-inside: avoid;
}


/* ==========================================
   2. MEDIA QUERIES / OVERRIDES (Always Last)
   ========================================== */

/* Tablets */
@media (max-width: 1024px) {
    .masonry-gallery {
        column-count: 2;
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    .masonry-gallery {
        column-count: 1 !important;
    }
}



/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (KEEP THIS SECTION AT THE VERY BOTTOM)
   ========================================================================== */
@media (max-width: 768px) {
    .header-container, .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-socials a {
        margin: 0 0.75rem;
    }

    .book-feature-container {
        grid-template-columns: 1fr !important; 
        gap: 2.5rem !important;
    }
    
    .book-sidebar {
        position: relative !important; 
        top: 0 !important;
        max-width: 240px;
        margin: 0 auto; 
    }
    
    .reading-excerpt {
        font-size: 1.05rem !important; 
        line-height: 1.75 !important;
    }
    
    .media-gallery-grid {
        grid-template-columns: 1fr !important;
    }
    
    .video-card {
        grid-column: span 1 !important;
    }
    
    /* ==========================================================================
       OPTION A: SONIC & MUSIC SPECIFIC COMPONENT STYLES
       ========================================================================== */

    /* Badge tags for categories */
    .card-content span {
        display: inline-block;
        font-size: 0.75rem;
        text-transform: uppercase;
        background: rgba(99, 102, 241, 0.12);
        color: var(--accent);
        padding: 0.25rem 0.65rem;
        border-radius: 4px;
        font-weight: 600;
        letter-spacing: 0.05em;
        margin-bottom: 0.75rem;
    }

    /* Specific spacing tweaks for portfolio headers within cards */
    .card-content h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        letter-spacing: -0.01em;
        color: var(--text-primary);
    }

    .card-content p {
        color: var(--text-secondary);
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Outer Outbound Redirect Gateway Container */
    .artist-redirect-cta, .cta-contact {
        margin-top: 6rem;
        padding: 4rem 2rem;
        background-color: var(--bg-card);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.03);
        text-align: center;
    }

    .artist-redirect-cta span {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        color: var(--accent);
        font-weight: 800;
        display: block;
        margin-bottom: 1rem;
    }

    .artist-redirect-cta h2 {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 1rem;
        letter-spacing: -0.02em;
    }

    /* The clean, interactive button link leading to your separate domain */
    .artist-redirect-cta a {
        display: inline-block;
        background-color: transparent;
        color: var(--text-primary);
        padding: 0.8rem 2.5rem;
        border-radius: 4px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        border: 2px solid var(--accent);
        transition: all 0.25s ease-in-out;
    }

    /* Simple hover animation to make the site feel responsive and alive */
    .artist-redirect-cta a:hover {
        background-color: var(--accent);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    }

    /* Video wrapper mapping for full-width iframe embeds */
    .video-container {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        border-radius: 8px 8px 0 0;
    }
	
	.masonry-gallery {
    column-count: 1 !important; /* Stack into a clean, single column on phones */
	}
}