/**
 * Hay Holiday Cottage Banner Styles
 * Sticky bottom banner for homepage
 */

/* Banner container */
#hay-cottage-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #ffffff;
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#hay-cottage-banner.hay-cottage-banner-visible {
    transform: translateY(0);
}

/* Content wrapper */
.hay-cottage-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 12px;
}

/* Text section */
.hay-cottage-banner-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.hay-cottage-banner-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.hay-cottage-banner-message {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #ffffff;
}

.hay-cottage-banner-message strong {
    color: #c9a961;
    font-weight: 600;
}

/* Actions section */
.hay-cottage-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* View button */
.hay-cottage-banner-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #c9a961;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hay-cottage-banner-btn:hover,
.hay-cottage-banner-btn:focus {
    background-color: #b89850;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(201, 169, 97, 0.4);
    outline: none;
}

.hay-cottage-banner-btn:focus {
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.3);
}

/* Close button */
.hay-cottage-banner-close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #999;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.hay-cottage-banner-close:hover,
.hay-cottage-banner-close:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    outline: none;
}

.hay-cottage-banner-close:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

/* Mobile styles */
@media (max-width: 600px) {
    .hay-cottage-banner-content {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        gap: 10px;
    }

    .hay-cottage-banner-text {
        justify-content: center;
        text-align: center;
    }

    .hay-cottage-banner-message {
        font-size: 13px;
    }

    .hay-cottage-banner-actions {
        justify-content: center;
    }

    .hay-cottage-banner-btn {
        flex: 1;
        text-align: center;
    }
}

/* Tablet styles */
@media (min-width: 601px) and (max-width: 900px) {
    .hay-cottage-banner-message {
        font-size: 13px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    #hay-cottage-banner {
        transition: none;
    }
}

/* Print styles - hide banner */
@media print {
    #hay-cottage-banner {
        display: none !important;
    }
}
