/* Náš Tip Banner Widget - Frontend Styles */

.nastip-banner-wrapper {
    width: 100%;
    margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.nastip-banner-container {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nastip-banner-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Label */
.nastip-banner-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Title */
.nastip-banner-title {
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 25px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Inner container for flexbox layout */
.nastip-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

/* Left section with all text content */
.nastip-banner-left {
    flex: 1;
    min-width: 0;
}

.nastip-banner-left p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

/* Button */
.nastip-banner-button {
    display: inline-block;
    background: #FFFFFF;
    color: #764BA2;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.nastip-banner-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(118, 75, 162, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.nastip-banner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #764BA2;
    text-decoration: none;
}

.nastip-banner-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Image section */
.nastip-banner-image {
    flex-shrink: 0;
    flex-basis: 35%;
    max-width: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nastip-banner-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: block;
}

/* Decorative elements */
.nastip-banner-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: rotate(45deg);
    pointer-events: none;
}

.nastip-banner-container::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 40%;
    height: 150%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    transform: rotate(-30deg);
    pointer-events: none;
}

/* Responsive design */
@media (min-width: 1400px) {
    .nastip-banner-container {
        padding: 45px 50px;
    }
    
    .nastip-banner-image {
        flex-basis: 30%;
        max-width: 400px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .nastip-banner-image {
        flex-basis: 35%;
        max-width: 320px;
    }
    
    .nastip-banner-container {
        padding: 35px 40px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .nastip-banner-image {
        flex-basis: 40%;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .nastip-banner-container {
        padding: 30px 25px;
    }
    
    .nastip-banner-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .nastip-banner-inner {
        flex-direction: column;
        gap: 25px;
    }
    
    .nastip-banner-left p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .nastip-banner-image {
        max-width: 100%;
        width: 100%;
        flex-basis: 100%;
    }
    
    .nastip-banner-button {
        padding: 12px 28px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .nastip-banner-container {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .nastip-banner-title {
        font-size: 20px;
    }
    
    .nastip-banner-label {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .nastip-banner-button {
        padding: 10px 24px;
        font-size: 12px;
        width: 100%;
        text-align: center;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .nastip-banner-container,
    .nastip-banner-button {
        transition: none;
    }
    
    .nastip-banner-button::before {
        transition: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .nastip-banner-wrapper {
        color-scheme: dark;
    }
}

/* Print styles */
@media print {
    .nastip-banner-container {
        background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .nastip-banner-button {
        border: 2px solid #764BA2;
        color: #764BA2 !important;
        text-decoration: none !important;
    }
}