/* ==========================================================================
   Walls of Türkiye - Daily Graffiti Widget Stylesheet
   ========================================================================== */

/* Variables for custom layout overrides */
:root {
    --wot-accent: #ffaa00;
    --wot-accent-glow: rgba(255, 170, 0, 0.25);
    --wot-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Widget Container */
.wot-widget-container {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.5;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 16px;
    margin: 15px 0;
    overflow: hidden;
    position: relative;
    transition: var(--wot-transition);
}

.wot-widget-container *, 
.wot-widget-container *::before, 
.wot-widget-container *::after {
    box-sizing: border-box;
}

/* Close Button */
.wot-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: inherit;
    opacity: 0.6;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: var(--wot-transition);
    z-index: 10;
}

.wot-close-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Card Body Layout */
.wot-card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

/* Image styling */
.wot-card-image {
    width: 100%;
    height: 380px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: var(--wot-transition);
}

.wot-widget-container:hover .wot-card-image {
    transform: scale(1.01);
}

/* Content wrapper (Info + Action side-by-side) */
.wot-card-content-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 12px;
}

/* Info Styling */
.wot-card-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wot-badge {
    display: none; /* Hide badge as requested */
}

.wot-card-title {
    display: none; /* Hide title as requested */
}

.wot-card-artist {
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: inherit;
    line-height: 1.2 !important;
}

.wot-card-location {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    opacity: 0.8;
    color: inherit;
}

.wot-crew-text {
    font-size: 11px;
    opacity: 0.8;
    font-style: italic;
}

/* Discover Button Container */
.wot-card-action {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
}

/* Discover Button */
.wot-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--wot-accent);
    color: var(--wot-accent) !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    border-radius: 6px;
    transition: var(--wot-transition);
    white-space: nowrap;
}

.wot-card-btn:hover {
    background: var(--wot-accent);
    color: #121212 !important;
    box-shadow: 0 0 10px var(--wot-accent-glow);
}

.wot-icon-arrow {
    transition: var(--wot-transition);
}

.wot-card-btn:hover .wot-icon-arrow {
    transform: translate(1px, -1px);
}

/* ==========================================================================
   Display Styles Layouts
   ========================================================================== */

/* Floating Card style (Bottom Center Wide) */
.wot-style-floating {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 99999;
    animation: wotSlideUp 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Fixed Bottom Bar style */
.wot-style-fixed-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    z-index: 99999;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
    animation: wotSlideUp 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.wot-style-fixed-bar .wot-card-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 0 20px;
    flex-direction: row;
    align-items: center;
}

.wot-style-fixed-bar .wot-card-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
}

.wot-style-fixed-bar .wot-card-content-wrap {
    flex-direction: row;
    align-items: center;
    flex-grow: 1;
}

.wot-style-fixed-bar .wot-close-btn {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.wot-style-fixed-bar .wot-close-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Inline card style */
.wot-style-inline {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}


/* ==========================================================================
   Theme Styles
   ========================================================================== */

/* Light Theme */
.wot-theme-light {
    background-color: #ffffff;
    color: #1a1a1a;
    border: 1px solid #e0e0e0;
}
.wot-theme-light .wot-close-btn {
    color: #666;
}

/* Dark Theme */
.wot-theme-dark {
    background-color: #121212;
    color: #ffffff;
    border: 1px solid #282828;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 170, 0, 0.05);
}
.wot-theme-dark .wot-close-btn {
    color: #aaa;
}
.wot-theme-dark .wot-card-image {
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* Glassmorphism Theme (Default Premium) */
.wot-theme-glassmorphism {
    background: rgba(18, 18, 18, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.wot-theme-glassmorphism .wot-close-btn {
    color: #ccc;
}
.wot-theme-glassmorphism .wot-card-btn {
    background: rgba(255, 170, 0, 0.08);
}
.wot-theme-glassmorphism .wot-card-btn:hover {
    background: var(--wot-accent);
    color: #121212 !important;
}

/* Custom Theme (Inherited) */
.wot-theme-custom {
    background-color: inherit;
    color: inherit;
    border: 1px solid currentColor;
}


/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes wotSlideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* ==========================================================================
   Responsive / Mobile Styles
   ========================================================================== */
@media screen and (max-width: 600px) {
    /* Floating layout behaves like full bottom bar on mobile */
    .wot-style-floating {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        border-radius: 12px 12px 0 0;
        margin: 0;
    }
    
    .wot-card-body {
        gap: 12px;
        flex-direction: column !important; /* Force stack on mobile */
    }
    
    .wot-card-image {
        width: 100% !important;
        height: 160px !important;
    }

    .wot-card-content-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }
    
    .wot-card-title {
        font-size: 14px !important;
    }
    
    .wot-card-artist, 
    .wot-card-location {
        font-size: 11px !important;
    }
    
    .wot-card-action {
        width: 100%;
    }

    .wot-card-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
        font-size: 11px;
    }
    
    /* Fixed bottom bar padding on mobile */
    .wot-style-fixed-bar .wot-card-body {
        padding: 16px;
        padding-right: 35px;
    }
}
