/**
 * Helidat.cz - Banner šablony
 * Styly pro reklamní bannery 300x300px
 * Podpora absolutního pozicování prvků
 * 
 * Použití:
 * <link rel="stylesheet" href="https://helidat.cz/banner-builder/sablony.css">
 */

/* Reset a základ */
.heli-banner {
    width: 300px;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1a1a2e;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.heli-banner * {
    box-sizing: border-box;
}

/* Overlay */
.heli-banner-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Content container - pro absolutní pozicování */
.heli-banner-content {
    position: absolute;
    inset: 0;
    padding: 0;
}

/* Všechny prvky uvnitř content jsou absolutně pozicované */
.heli-banner-content > * {
    position: absolute;
    margin: 0;
    max-width: 90%;
}

/* Badge */
.heli-banner-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Title */
.heli-banner h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Price */
.heli-banner-price {
    font-size: 16px;
    font-weight: 700;
}

/* Date */
.heli-banner-date {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.heli-banner-date i {
    width: 14px;
    text-align: center;
}

/* Location */
.heli-banner-location {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
    white-space: nowrap;
}

.heli-banner-location i {
    width: 14px;
    text-align: center;
}

/* Description / Subtitle */
.heli-banner-description,
.heli-banner-subtitle {
    font-size: 13px;
    line-height: 1.3;
    opacity: 0.9;
}

/* Custom text elements */
.heli-banner-custom {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
}

/* Button */
.heli-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.heli-banner-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}


/* =============================================
   BAREVNÉ VARIANTY
   ============================================= */

/* --- DARK --- */
.heli-banner--dark {
    background-color: #1a1a2e;
}

.heli-banner--dark .heli-banner-overlay {
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.heli-banner--dark .heli-banner-content {
    color: #ffffff;
}

.heli-banner--dark .heli-banner-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.heli-banner--dark .heli-banner-btn {
    background: #ffffff;
    color: #1a1a2e;
}

.heli-banner--dark .heli-banner-btn:hover {
    background: #f0f0f0;
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}


/* --- LIGHT --- */
.heli-banner--light {
    background-color: #f8f9fa;
}

.heli-banner--light .heli-banner-overlay {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 40%,
        rgba(255, 255, 255, 0.9) 100%
    );
}

.heli-banner--light .heli-banner-content {
    color: #1a1a2e;
}

.heli-banner--light .heli-banner-badge {
    background: #1a1a2e;
    color: #ffffff;
}

.heli-banner--light .heli-banner-btn {
    background: #1a1a2e;
    color: #ffffff;
}

.heli-banner--light .heli-banner-btn:hover {
    background: #2d2d4a;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.3);
}


/* --- BLUE --- */
.heli-banner--blue {
    background-color: #1e40af;
}

.heli-banner--blue .heli-banner-overlay {
    background: linear-gradient(180deg, 
        rgba(30, 64, 175, 0) 0%, 
        rgba(30, 64, 175, 0.4) 40%,
        rgba(30, 64, 175, 0.9) 100%
    );
}

.heli-banner--blue .heli-banner-content {
    color: #ffffff;
}

.heli-banner--blue .heli-banner-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.heli-banner--blue .heli-banner-price {
    color: #93c5fd;
}

.heli-banner--blue .heli-banner-btn {
    background: #ffffff;
    color: #1e40af;
}

.heli-banner--blue .heli-banner-btn:hover {
    background: #dbeafe;
    color: #1e40af;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}


/* --- GREEN --- */
.heli-banner--green {
    background-color: #065f46;
}

.heli-banner--green .heli-banner-overlay {
    background: linear-gradient(180deg, 
        rgba(6, 95, 70, 0) 0%, 
        rgba(6, 95, 70, 0.4) 40%,
        rgba(6, 95, 70, 0.9) 100%
    );
}

.heli-banner--green .heli-banner-content {
    color: #ffffff;
}

.heli-banner--green .heli-banner-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.heli-banner--green .heli-banner-price {
    color: #6ee7b7;
}

.heli-banner--green .heli-banner-btn {
    background: #ffffff;
    color: #065f46;
}

.heli-banner--green .heli-banner-btn:hover {
    background: #d1fae5;
    color: #065f46;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}


/* --- RED --- */
.heli-banner--red {
    background-color: #991b1b;
}

.heli-banner--red .heli-banner-overlay {
    background: linear-gradient(180deg, 
        rgba(153, 27, 27, 0) 0%, 
        rgba(153, 27, 27, 0.4) 40%,
        rgba(153, 27, 27, 0.9) 100%
    );
}

.heli-banner--red .heli-banner-content {
    color: #ffffff;
}

.heli-banner--red .heli-banner-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.heli-banner--red .heli-banner-price {
    color: #fca5a5;
}

.heli-banner--red .heli-banner-btn {
    background: #ffffff;
    color: #991b1b;
}

.heli-banner--red .heli-banner-btn:hover {
    background: #fee2e2;
    color: #991b1b;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}


/* --- ORANGE --- */
.heli-banner--orange {
    background-color: #9a3412;
}

.heli-banner--orange .heli-banner-overlay {
    background: linear-gradient(180deg, 
        rgba(154, 52, 18, 0) 0%, 
        rgba(154, 52, 18, 0.4) 40%,
        rgba(154, 52, 18, 0.9) 100%
    );
}

.heli-banner--orange .heli-banner-content {
    color: #ffffff;
}

.heli-banner--orange .heli-banner-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.heli-banner--orange .heli-banner-price {
    color: #fdba74;
}

.heli-banner--orange .heli-banner-btn {
    background: #ffffff;
    color: #9a3412;
}

.heli-banner--orange .heli-banner-btn:hover {
    background: #ffedd5;
    color: #9a3412;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}


/* =============================================
   RESPONZIVITA
   ============================================= */

@media (max-width: 320px) {
    .heli-banner {
        width: 280px;
        height: 280px;
    }
    
    .heli-banner h3 {
        font-size: 16px;
    }
    
    .heli-banner-price {
        font-size: 14px;
    }
    
    .heli-banner-btn {
        padding: 6px 14px;
        font-size: 11px;
    }
}