/* assets/css/style.css */
/* New Custom Styles for PunkStock */

/* =========================================
   1. TEXT PAGE CONTENT STYLES
   (For pages created in Admin > Text Pages)
   ========================================= */

.user-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

/* Image Handling within Content */
.user-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Alignment Helper Classes (if used by editor) */
.user-content .align-left {
    float: left;
    margin: 0 25px 15px 0;
}

.user-content .align-right {
    float: right;
    margin: 0 0 15px 25px;
}

.user-content .align-center {
    display: block;
    margin: 30px auto;
}

/* Hero Tweaks */
.hero.hero-small {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Mobile Responsiveness for Text Pages */
@media (max-width: 768px) {
    .main-container {
        padding: 40px 20px !important;
    }
    
    .user-content {
        font-size: 16px !important;
    }
    
    /* Stack images on mobile regardless of float */
    .user-content .align-left,
    .user-content .align-right {
        float: none;
        display: block;
        margin: 20px auto;
        max-width: 100%;
    }
}

/* =========================================
   2. FOOTER STYLES
   (Horizontal Layout: Logo > Legal > Socials > Links)
   ========================================= */

.custom-footer {
    padding: 40px 20px;
    margin-top: 80px;
    width: 100%;
    box-sizing: border-box;
}

.footer-inner {
    max-width: 1400px; /* Wide container for single row */
    margin: 0 auto;
    display: flex;
    justify-content: center; /* Center the entire unit */
    align-items: center;
    flex-wrap: nowrap; /* FORCE SINGLE ROW */
    gap: 40px;
}

/* Generic Column: Force Horizontal Internal Layout */
.footer-col {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    white-space: nowrap; /* Prevent text wrapping inside columns */
}

/* Col 1: Brand (Prefix + Logo) */
.col-brand {
    /* Source order puts prefix before logo naturally */
}
.footer-prefix {
    font-size: 0.85em;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Col 2: Legal */
.col-legal {
    opacity: 0.8;
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 30px;
    font-size: 0.9em;
}

/* Col 3: Socials */
.col-social {
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 30px;
}
.social-grid {
    display: flex;
    gap: 15px;
    align-items: center;
}
.mask-icon {
    width: 20px;
    height: 20px;
    transition: opacity 0.2s;
}
.mask-icon:hover {
    opacity: 0.7;
}

/* Col 4: Links - Now properly inline */
.col-links {
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 30px;
    gap: 20px;
}
.col-links a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
    font-size: 0.95em;
}
.col-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive: Collapse nicely to stack on Tablets/Mobile */
@media (max-width: 1200px) {
    .footer-inner {
        flex-wrap: wrap; /* Allow wrapping on smaller screens */
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-col {
        border-left: none; /* Remove dividers when stacked */
        padding-left: 0;
        justify-content: center;
    }
    
    .col-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* assets/css/style.css */
/* New Custom Styles for PunkStock */

/* =========================================
   1. TEXT PAGE CONTENT STYLES
   ========================================= */

.user-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.user-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.user-content .align-left {
    float: left;
    margin: 0 25px 15px 0;
}

.user-content .align-right {
    float: right;
    margin: 0 0 15px 25px;
}

.user-content .align-center {
    display: block;
    margin: 30px auto;
}

.hero.hero-small {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .main-container {
        padding: 40px 20px !important;
    }
    
    .user-content {
        font-size: 16px !important;
    }
    
    .user-content .align-left,
    .user-content .align-right {
        float: none;
        display: block;
        margin: 20px auto;
        max-width: 100%;
    }
}

/* =========================================
   2. FOOTER STYLES (Single Row Forced)
   ========================================= */

.custom-footer {
    padding: 40px 20px;
    margin-top: 80px;
    width: 100%;
    box-sizing: border-box;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

/* Col 1: Brand */
.footer-prefix {
    font-size: 0.85em;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Col 2: Legal */
.col-legal {
    opacity: 0.8;
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 30px;
    font-size: 0.9em;
}

/* Col 3: Socials */
.col-social {
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 30px;
}
.social-grid {
    display: flex;
    gap: 15px;
    align-items: center;
}
.mask-icon {
    width: 20px;
    height: 20px;
    transition: opacity 0.2s;
}
.mask-icon:hover {
    opacity: 0.7;
}

/* Col 4: Links */
.col-links {
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 30px;
    gap: 20px;
}
.col-links a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
    font-size: 0.95em;
}
.col-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .footer-inner {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-col {
        border-left: none;
        padding-left: 0;
        justify-content: center;
    }
    
    .col-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}



/* =========================================
   3. DETAILS PAGE: DYNAMIC GRID & SEARCH BUTTON
   (Append to bottom of style.css)
   ========================================= */



/* "More Similar" Button Style 
   Note: Used in conjunction with .btn-action for shape */
.btn-more-similar {
    display: inline-flex !important;
    align-items: center;
    /* Force light colors to override default btn-action colors */
    background-color: #f8f9fa !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    border-radius: 50px !important; /* Force pill shape */
    padding: 12px 24px !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    width: auto !important; /* Prevent full width */
}

.btn-more-similar:hover {
    background-color: #e9ecef !important;
    border-color: #ccc !important;
    transform: translateX(5px); /* Slide effect */
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* --- SIDEBAR ENGINE & FILTERS --- */
.punk-sidebar {
    position: fixed; top: 0; left: -340px; width: 340px; height: 100%;
    background: white; z-index: 2000; box-shadow: 2px 0 30px rgba(0,0,0,0.15);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}
.punk-sidebar.active { left: 0; }

.sidebar-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1999;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
    backdrop-filter: blur(2px);
}
.sidebar-overlay.active { opacity: 1; pointer-events: auto; }

.sidebar-header {
    padding: 20px 25px; border-bottom: 1px solid #eee;
    display: flex; justify-content: space-between; align-items: center;
    background: #fff;
}
.sidebar-header h3 { margin: 0; font-size: 18px; font-weight: 800; color: var(--text-main); }
.close-sidebar-btn {
    background: none; border: none; font-size: 28px; cursor: pointer; color: #777; line-height: 1;
}
.close-sidebar-btn:hover { color: #e03131; }

.sidebar-scroll { flex: 1; overflow-y: auto; padding: 25px; }
.sidebar-section { margin-bottom: 35px; }
.sb-title { 
    font-size: 12px; text-transform: uppercase; letter-spacing: 1px; 
    color: #999; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; font-weight: 700;
}
.sb-label { font-size: 13px; font-weight: 700; margin-bottom: 10px; display: block; color: #333; }

/* Filter Tools */
.color-filter-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cf-dot { 
    width: 32px; height: 32px; border-radius: 50%; cursor: pointer; 
    transition: transform 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    border: 1px solid rgba(0,0,0,0.2); /* NEW: Subtle border for light colors */
}
.cf-dot:hover { transform: scale(1.15); }

.orient-btn-group { display: flex; border: 1px solid #eee; border-radius: 6px; overflow: hidden; margin-bottom: 5px; }
.orient-btn-group button {
    flex: 1; border: none; background: #fff; padding: 12px; font-size: 12px; 
    cursor: pointer; border-right: 1px solid #eee; color: #555; font-weight: 600;
}
.orient-btn-group button:last-child { border-right: none; }
.orient-btn-group button:hover { background: #f8f9fa; color: #e03131; }

/* History Grid */
.history-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hist-thumb { 
    width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; 
    border: 1px solid #eee; transition: all 0.2s; 
}
.hist-thumb:hover { border-color: #333; opacity: 0.8; }

/* Trending Cloud */
.sb-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-tag {
    font-size: 13px; background: #f1f3f5; color: #555; padding: 6px 12px; 
    border-radius: 20px; text-decoration: none; transition: all 0.2s; font-weight: 500;
}
.sb-tag:hover { background: #e03131; color: white; }

/* Trigger Button */
.btn-filter {
    background: white; border: 1px solid #ddd; color: #333;
    padding: 8px 18px; border-radius: 50px; font-weight: 700; font-size: 14px;
    cursor: pointer; display: flex; align-items: center; gap: 8px;
    transition: all 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.btn-filter:hover { border-color: #333; transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

/* --- GLOBAL FLOATING FILTER BUTTON --- */
.floating-filter-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1900; /* Above content, below Sidebar (2000) */
    background: #2c3e50; /* Dark Navy */
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0; animation: floatIn 0.5s forwards 0.5s; /* Slight delay entrance */
}

.floating-filter-btn:hover {
    transform: scale(1.05) translateY(-3px);
    background: #e03131; /* Punk Red */
    box-shadow: 0 8px 25px rgba(224, 49, 49, 0.4);
}

.floating-filter-btn .material-symbols-outlined { font-size: 20px; }

@keyframes floatIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* Mobile Adjustment */
@media (max-width: 768px) {
    .floating-filter-btn {
        bottom: 20px; left: 20px;
        padding: 10px 20px;
        font-size: 13px;
    }
}








