/**
 * Xeora Homepage Sections Styles - Tenants, Events, Products
 * Additional sections styling following the existing design pattern
 * 
 * @package Xeora
 * @subpackage Assets/CSS
 */

/* ==========================================
   TENANTS/CASE STUDIES SECTION
========================================== */
.xeora-tenants {
    background: linear-gradient(180deg, #fef5ff 0%, white 100%);
}

.xeora-tenants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.xeora-tenant-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #fce7f3;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.xeora-tenant-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

/* Banner Style */
.xeora-tenant-banner {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xeora-tenant-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

/* Logo on banner - changed from circular to rounded square */
.xeora-tenant-logo-banner {
    position: relative;
    z-index: 2;
    width: 120px;
    height: 120px;
    border-radius: 12px; /* Rounded corners instead of circle */
    overflow: hidden;
    border: 4px solid white;
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    padding: 16px; /* More padding for square logo */
}

.xeora-tenant-logo-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Keeps full logo visible */
}

/* Content area */
.xeora-tenant-content {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.xeora-tenant-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

/* Logo without banner - also changed to rounded square */
.xeora-tenant-logo {
    width: 80px;
    height: 80px;
    border-radius: 10px; /* Rounded corners instead of circle */
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #f0f0f0;
    background: #fff;
    padding: 10px; /* Padding for square logo */
}

.xeora-tenant-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Keeps full logo visible */
}

.xeora-tenant-info {
    flex: 1;
}

.xeora-tenant-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1a202c;
}

.xeora-tenant-industry {
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.xeora-tenant-testimonial {
    flex: 1;
    margin-bottom: 20px;
}

.xeora-testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
    font-style: italic;
}

.xeora-testimonial-text::before {
    content: '\201C';
    font-size: 48px;
    color: #e2e8f0;
    line-height: 0;
    vertical-align: -0.3em;
    margin-right: 8px;
}

.xeora-tenant-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    margin-top: auto;
}

.xeora-tenant-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.xeora-tenant-link:hover {
    color: #764ba2;
    gap: 12px;
}

/* ==========================================
   EVENTS SECTION
========================================== */
.xeora-events {
    background: linear-gradient(180deg, white 0%, #f7fafc 100%);
}

.xeora-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.xeora-event-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.xeora-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.xeora-event-status {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.xeora-event-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.xeora-event-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.xeora-event-content {
    padding: 32px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.xeora-event-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 12px;
}

.xeora-event-date-icon {
    font-size: 16px;
}

.xeora-event-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #1a202c;
    line-height: 1.3;
}

.xeora-event-type {
    margin: 0 0 16px 0;
}

.xeora-event-type-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f4ff;
    color: #667eea;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.xeora-event-description {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 20px 0;
    flex: 1;
}

.xeora-event-card .xeora-btn {
    align-self: flex-start;
}

.xeora-event-upcoming {
    border-color: #667eea;
}

.xeora-event-past {
    opacity: 0.8;
}

/* ==========================================
   PRODUCTS SECTION
========================================== */
.xeora-products {
    background: white;
}

.xeora-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.xeora-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.xeora-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.xeora-product-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.xeora-product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.xeora-product-card:hover .xeora-product-overlay {
    opacity: 1;
}

.xeora-product-info {
    padding: 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.xeora-product-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1a202c;
}

.xeora-product-category {
    font-size: 13px;
    color: #667eea;
    font-weight: 600;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.xeora-product-description {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 20px 0;
    flex: 1;
}

.xeora-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
}

.xeora-product-price {
    font-size: 24px;
    font-weight: 800;
    color: #667eea;
}

.xeora-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.xeora-product-link:hover {
    color: #764ba2;
    gap: 12px;
}

/* ==========================================
   PACKAGES SECTION
========================================== */
.xeora-packages {
    background: linear-gradient(180deg, #f7fafc 0%, white 100%);
}

.xeora-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.xeora-package-card {
    padding: 40px 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.xeora-package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.xeora-package-featured {
    border-color: #667eea;
    background: linear-gradient(180deg, #f0f4ff 0%, white 100%);
}

.xeora-package-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.xeora-package-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.xeora-package-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.xeora-package-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #1a202c;
}

.xeora-package-description {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0 0 32px 0;
}

/* ==========================================
   BUTTONS
========================================== */
.xeora-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.xeora-btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.xeora-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.xeora-btn-white {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.xeora-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.xeora-icon-arrow {
    transition: transform 0.3s ease;
}

.xeora-btn:hover .xeora-icon-arrow {
    transform: translateX(4px);
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 768px) {
    .xeora-tenants-grid,
    .xeora-events-grid,
    .xeora-products-grid,
    .xeora-packages-grid {
        grid-template-columns: 1fr;
    }
    
    .xeora-tenant-header {
        flex-direction: column;
        text-align: center;
    }
    
    .xeora-tenant-banner {
        height: 150px;
    }
    
    .xeora-tenant-logo-banner {
        width: 100px;
        height: 100px;
        padding: 12px;
    }
    
    .xeora-product-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .xeora-product-link {
        justify-content: center;
    }
}