/**
 * Ad Banner Block Styles
 * Рекламний блок (резервний)
 */

/* ============================================
   SECTION: Ad Banner
   ============================================ */

.gotuimo-ad-banner {
    padding: 40px 0;
    background: #f8f9fa;
}

/* Container */
.gotuimo-ad-banner .gotuimo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   AD WRAPPER
   ============================================ */

.gotuimo-ad-wrapper {
    position: relative;
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ============================================
   AD LABEL (Sponsored)
   ============================================ */

.gotuimo-ad-label {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    z-index: 10;
}

/* ============================================
   ACTIVE BANNER
   ============================================ */

.gotuimo-ad-banner--active .gotuimo-ad-link,
.gotuimo-ad-banner--active .gotuimo-ad-image-wrapper {
    display: block;
    width: 100%;
}

.gotuimo-ad-banner--active .gotuimo-ad-link {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gotuimo-ad-banner--active .gotuimo-ad-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.gotuimo-ad-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Size Variants for Active Banner */
.gotuimo-ad-banner--active.gotuimo-ad-banner--large .gotuimo-ad-wrapper {
    max-height: 250px;
}

.gotuimo-ad-banner--active.gotuimo-ad-banner--medium .gotuimo-ad-wrapper {
    max-height: 150px;
}

.gotuimo-ad-banner--active.gotuimo-ad-banner--small .gotuimo-ad-wrapper {
    max-height: 100px;
}

/* ============================================
   PLACEHOLDER
   ============================================ */

.gotuimo-ad-banner--placeholder .gotuimo-ad-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
}

.gotuimo-ad-placeholder-content {
    text-align: center;
    max-width: 600px;
}

/* Icon */
.gotuimo-ad-placeholder-icon {
    margin-bottom: 20px;
}

.gotuimo-ad-placeholder-icon svg {
    width: 64px;
    height: 64px;
    color: #adb5bd;
    opacity: 0.6;
}

/* Text */
.gotuimo-ad-placeholder-title {
    font-size: 24px;
    font-weight: 700;
    color: #495057;
    margin: 0 0 12px;
}

.gotuimo-ad-placeholder-subtitle {
    font-size: 15px;
    color: #6c757d;
    margin: 0 0 24px;
    line-height: 1.5;
}

/* CTA Button */
.gotuimo-ad-placeholder-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.gotuimo-ad-placeholder-btn:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.gotuimo-ad-placeholder-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.gotuimo-ad-placeholder-btn:hover svg {
    transform: translateX(3px);
}

/* ============================================
   SIZE VARIANTS (Placeholder)
   ============================================ */

.gotuimo-ad-banner--placeholder.gotuimo-ad-banner--large .gotuimo-ad-wrapper {
    min-height: 250px;
}

.gotuimo-ad-banner--placeholder.gotuimo-ad-banner--medium .gotuimo-ad-wrapper {
    min-height: 150px;
}

.gotuimo-ad-banner--placeholder.gotuimo-ad-banner--small .gotuimo-ad-wrapper {
    min-height: 100px;
}

.gotuimo-ad-banner--placeholder.gotuimo-ad-banner--small .gotuimo-ad-placeholder-icon svg {
    width: 48px;
    height: 48px;
}

.gotuimo-ad-banner--placeholder.gotuimo-ad-banner--small .gotuimo-ad-placeholder-title {
    font-size: 18px;
}

.gotuimo-ad-banner--placeholder.gotuimo-ad-banner--small .gotuimo-ad-placeholder-subtitle {
    font-size: 14px;
    margin-bottom: 16px;
}

/* ============================================
   STYLE VARIANTS
   ============================================ */

/* Minimal Style */
.gotuimo-ad-banner--minimal {
    padding: 30px 0;
    background: transparent;
}

.gotuimo-ad-banner--minimal .gotuimo-ad-wrapper {
    box-shadow: none;
    border: 1px solid #e9ecef;
}

.gotuimo-ad-banner--minimal.gotuimo-ad-banner--placeholder .gotuimo-ad-wrapper {
    border-style: solid;
    background: white;
}

/* Gradient Style */
.gotuimo-ad-banner--gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gotuimo-ad-banner--gradient .gotuimo-ad-wrapper {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.gotuimo-ad-banner--gradient.gotuimo-ad-banner--placeholder .gotuimo-ad-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

.gotuimo-ad-banner--gradient .gotuimo-ad-placeholder-title {
    color: #667eea;
}

.gotuimo-ad-banner--gradient .gotuimo-ad-placeholder-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gotuimo-ad-banner--gradient .gotuimo-ad-placeholder-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .gotuimo-ad-banner {
        padding: 30px 0;
    }
    
    .gotuimo-ad-banner--active.gotuimo-ad-banner--large .gotuimo-ad-wrapper {
        max-height: 180px;
    }
    
    .gotuimo-ad-banner--placeholder .gotuimo-ad-wrapper {
        min-height: 180px;
        padding: 30px 20px;
    }
    
    .gotuimo-ad-placeholder-title {
        font-size: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .gotuimo-ad-banner {
        padding: 24px 0;
    }
    
    .gotuimo-ad-banner--active.gotuimo-ad-banner--large .gotuimo-ad-wrapper,
    .gotuimo-ad-banner--active.gotuimo-ad-banner--medium .gotuimo-ad-wrapper {
        max-height: 120px;
    }
    
    .gotuimo-ad-banner--placeholder .gotuimo-ad-wrapper {
        min-height: 150px;
        padding: 24px 16px;
    }
    
    .gotuimo-ad-placeholder-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .gotuimo-ad-placeholder-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .gotuimo-ad-placeholder-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .gotuimo-ad-placeholder-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .gotuimo-ad-label {
        font-size: 10px;
        padding: 3px 10px;
        top: 8px;
        right: 8px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .gotuimo-ad-banner--placeholder.gotuimo-ad-banner--large .gotuimo-ad-wrapper {
        min-height: 120px;
    }
    
    .gotuimo-ad-placeholder-title {
        font-size: 16px;
    }
    
    .gotuimo-ad-placeholder-subtitle {
        font-size: 13px;
    }
    
    .gotuimo-ad-placeholder-cta {
        display: none; /* Hide CTA on very small screens */
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.gotuimo-ad-banner a:focus {
    outline: 2px solid #667eea;
    outline-offset: 4px;
}

/* Print Styles */
@media print {
    .gotuimo-ad-banner {
        display: none;
    }
}

