/*
 * style-extracted.css
 * Utility classes extracted from inline styles
 * Created: 2026-01-18
 * Purpose: Replace inline styles with reusable classes
 *
 * Usage: Add class to element, then remove inline style attribute
 */

/* ==========================================================================
   UTILITY: Display & Visibility
   ========================================================================== */

.u-hidden {
    display: none;
}

.u-block {
    display: block;
}

.u-flex {
    display: flex;
}

.u-flex-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.u-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.u-grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* ==========================================================================
   UTILITY: Text Alignment
   ========================================================================== */

.u-text-center {
    text-align: center;
}

.u-text-right {
    text-align: right;
}

.u-text-left {
    text-align: left;
}

/* ==========================================================================
   UTILITY: Spacing
   ========================================================================== */

.u-mb-10 {
    margin-bottom: 10px;
}

.u-mb-15 {
    margin-bottom: 15px;
}

.u-mb-20 {
    margin-bottom: 20px;
}

.u-mb-30 {
    margin-bottom: 30px;
}

.u-mb-40 {
    margin-bottom: 40px;
}

.u-mb-60 {
    margin-bottom: 60px;
}

.u-mt-10 {
    margin-top: 10px;
}

.u-mt-20 {
    margin-top: 20px;
}

.u-mt-40 {
    margin-top: 40px;
}

.u-mt-60 {
    margin-top: 60px;
}

.u-my-60 {
    margin: 60px 0;
}

.u-p-20 {
    padding: 20px;
}

.u-pt-120 {
    padding-top: 120px;
}

.u-py-30 {
    padding: 30px 0;
}

/* ==========================================================================
   CARDS: Masonry Card System (Portfolio/Poetry)
   ========================================================================== */

/* Card container - masonry item */
.card-masonry {
    break-inside: avoid;
    margin-bottom: 20px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.card-masonry:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Card thumbnail image */
.card-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Card title */
.card-title {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark-purple);
}

/* Card description/excerpt */
.card-desc {
    font-family: 'Droid Serif', serif;
    color: #555;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Card meta text */
.card-meta {
    font-size: 0.9rem;
    color: #666;
}

/* Card button - outline style */
.card-btn {
    padding: 8px 16px;
    margin-top: 10px;
    font-size: 0.85rem;
    border: none;
    background: white;
    color: var(--dark-purple);
    border: 2px solid var(--dark-purple);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.card-btn:hover {
    background: var(--dark-purple);
    color: white;
}

/* ==========================================================================
   CARDS: Media/Gallery Cards
   ========================================================================== */

.card-media {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card-media-body {
    padding: 20px;
}

/* ==========================================================================
   GALLERY: Image Grid Items
   ========================================================================== */

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    break-inside: avoid;
    margin-bottom: 15px;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Square aspect ratio container */
.gallery-square {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* ==========================================================================
   MEDIA: Video Containers
   ========================================================================== */

/* 16:9 video container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    cursor: pointer;
    margin: 0;
}

/* Cover image/video fills container */
.media-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Play button overlay */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-overlay i {
    color: white;
    font-size: 30px;
    margin-left: 5px;
}

/* Play icon sizing */
.play-icon {
    width: 40px;
    height: 40px;
    margin-left: 5px;
}

/* ==========================================================================
   BUTTONS: Filter & Action Buttons
   ========================================================================== */

/* Filter button - outline */
.btn-filter {
    padding: 10px 24px;
    margin: 5px;
    background: white;
    color: var(--dark-purple);
    border: 2px solid var(--dark-purple);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--dark-purple);
    color: white;
}

/* Filter button - gradient active state */
.btn-filter-active {
    padding: 10px 24px;
    margin: 5px;
    background: linear-gradient(135deg, var(--dark-purple), var(--cyan));
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

/* CTA button - cyan */
.btn-cta {
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 20px;
    background: var(--cyan);
    color: var(--dark-purple);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(34,226,226,0.4);
}

/* Icon badge/button */
.icon-badge {
    background: var(--dark-purple);
    padding: 8px;
    border-radius: 4px;
}

/* ==========================================================================
   PROFILE: Avatar & Bio Components
   ========================================================================== */

/* Large circular avatar */
.avatar-large {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(34,226,226,0.3);
    border: 5px solid var(--cyan);
}

.avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Medium circular avatar */
.avatar-medium {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(34,226,226,0.3);
    border: 4px solid var(--cyan);
}

.avatar-medium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   MODAL: Lightbox & Overlay Components
   ========================================================================== */

.modal-content {
    position: relative;
    margin: 50px auto;
    padding: 40px;
    max-width: 800px;
    background: white;
    border-radius: 12px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    background: var(--dark-purple);
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 30px;
}

/* ==========================================================================
   CONTENT: Quote & Highlight Blocks
   ========================================================================== */

/* Quote block - light theme */
.quote-block-light {
    background: rgba(63,29,103,0.1);
    padding: 12px 18px;
    border-radius: 10px;
    color: var(--dark-purple);
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 3px solid var(--dark-purple);
    text-align: left;
}

/* Quote block - dark theme */
.quote-block-dark {
    background: rgba(255,255,255,0.1);
    padding: 12px 18px;
    border-radius: 10px;
    color: var(--white);
    font-size: 0.95rem;
    border-left: 3px solid var(--cyan);
    text-align: left;
}

/* ==========================================================================
   LAYOUT: Section & Container Helpers
   ========================================================================== */

.section-white {
    padding: 30px 0;
    background: white;
}

/* Decorative divider line */
.divider-gradient {
    width: 100%;
    height: 2px;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--cyan), transparent) 1;
    margin: 0 auto;
}

/* Featured image - rounded */
.featured-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Thumbnail image - small rounded */
.thumb-img {
    max-width: 250px;
    height: auto;
    border-radius: 12px;
}
