/**
 * Frontend styles for Office Spaces Landing Pages
 */

.oslp-landing-page {
    width: 100%;
}

/* Hero Section */
.oslp-hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 40px; /* Add spacing from navigation */
}

.oslp-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.oslp-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oslp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oslp-hero-content {
    text-align: center;
    color: #fff;
    padding: 40px 20px;
    max-width: 800px;
    z-index: 3;
}

.oslp-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.oslp-hero-subtitle {
    font-size: 1.5rem;
    margin: 0 0 30px 0;
    font-weight: 300;
    opacity: 0.95;
}

/* Header Section (when no image) */
.oslp-header-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 20px 80px 20px; /* Increased top padding for spacing from navigation */
    text-align: center;
    color: #fff;
    margin-top: 40px; /* Add spacing from navigation */
}

.oslp-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.oslp-page-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.oslp-page-subtitle {
    font-size: 1.3rem;
    margin: 0 0 30px 0;
    font-weight: 300;
    opacity: 0.95;
}

/* CTA Buttons */
.oslp-cta-button {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.oslp-cta-primary {
    background: #fff;
    color: #667eea;
}

.oslp-cta-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    color: #667eea;
}

.oslp-cta-secondary {
    background: #667eea;
    color: #fff;
}

.oslp-cta-secondary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    color: #fff;
}

/* Content Section */
.oslp-content-section {
    padding: 60px 20px;
    background: #fff;
}

.oslp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content Wrapper with Sidebar */
.oslp-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.oslp-main-content {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.oslp-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.oslp-content {
    line-height: 1.8;
    color: #333;
}

.oslp-entry-content {
    font-size: 1.1rem;
}

.oslp-entry-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 40px 0 20px 0;
    color: #2c3e50;
    line-height: 1.3;
}

.oslp-entry-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
    color: #34495e;
    line-height: 1.4;
}

.oslp-entry-content p {
    margin: 0 0 20px 0;
    color: #555;
}

.oslp-entry-content ul,
.oslp-entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.oslp-entry-content li {
    margin: 10px 0;
    color: #555;
}

.oslp-entry-content strong {
    color: #2c3e50;
    font-weight: 600;
}

.oslp-entry-content a {
    color: #667eea;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.oslp-entry-content a:hover {
    color: #5568d3;
}

/* CTA Section */
.oslp-cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.oslp-cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.oslp-cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.oslp-cta-description {
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

/* Sidebar Widgets */
.oslp-widget {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.oslp-widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.oslp-widget-title .dashicons {
    color: #667eea;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Stats Widget */
.oslp-stats-widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.oslp-stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.oslp-stats-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding-left: 24px;
}

.oslp-stats-list li:last-child {
    border-bottom: none;
}

.oslp-stats-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Info Cards Widget */
.oslp-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.oslp-info-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.oslp-info-card:hover {
    background: #e9ecef;
    transform: translateX(4px);
}

.oslp-info-card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.oslp-info-card-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.oslp-info-card-content h4 {
    margin: 0 0 6px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.oslp-info-card-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.5;
}

/* CTA Sidebar Widget */
.oslp-cta-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0;
}

.oslp-cta-sidebar-box {
    padding: 32px 24px;
    text-align: center;
    color: #fff;
}

.oslp-cta-sidebar-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #fff;
}

.oslp-cta-sidebar-description {
    font-size: 0.95rem;
    margin: 0 0 24px 0;
    opacity: 0.95;
    line-height: 1.6;
}

.oslp-cta-sidebar {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: #fff;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.oslp-cta-sidebar:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    color: #667eea;
}

/* Trust Badges */
.oslp-trust-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.oslp-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.oslp-badge-icon {
    color: #46b450;
    font-weight: bold;
    font-size: 1.2rem;
}

.oslp-badge-text {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}

/* Inline CTAs */
.oslp-inline-cta-top {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: #fff;
    text-align: center;
}

.oslp-inline-cta-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #fff;
}

.oslp-inline-cta-content p {
    font-size: 1.1rem;
    margin: 0 0 24px 0;
    opacity: 0.95;
}

.oslp-inline-cta-mid {
    margin: 50px 0;
    clear: both;
    display: block !important;
    width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
}

.oslp-inline-cta-box {
    padding: 40px;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

.oslp-inline-cta-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #2c3e50;
}

.oslp-inline-cta-box p {
    font-size: 1rem;
    color: #6c757d;
    margin: 0 0 24px 0;
}

.oslp-cta-inline {
    display: inline-block;
    padding: 16px 40px;
    background: #667eea;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-size: 1.1rem;
}

.oslp-cta-inline:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    color: #fff;
}

/* Social Proof Section */
.oslp-social-proof {
    display: flex;
    gap: 30px;
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    border-radius: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.oslp-proof-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.oslp-proof-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
    line-height: 1;
}

.oslp-proof-label {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
}

/* Urgency Widget */
.oslp-urgency-widget {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border: 2px solid #ff6b6b;
}

.oslp-urgency-content {
    text-align: center;
}

.oslp-urgency-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

.oslp-urgency-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #c92a2a;
}

.oslp-urgency-text {
    font-size: 1rem;
    color: #495057;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.oslp-urgency-timer {
    padding: 10px;
    background: #fff;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #c92a2a;
    font-weight: 600;
}

/* Testimonial Widget */
.oslp-testimonial-widget {
    background: linear-gradient(135deg, #e7f5ff 0%, #ffffff 100%);
    border-left: 4px solid #667eea;
}

.oslp-testimonial-content {
    text-align: center;
}

.oslp-testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.oslp-testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: #495057;
    margin: 0 0 16px 0;
    line-height: 1.6;
}

.oslp-testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.oslp-testimonial-author strong {
    color: #2c3e50;
    font-size: 0.95rem;
}

.oslp-testimonial-author span {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .oslp-content-wrapper {
        flex-direction: column;
    }
    
    .oslp-sidebar {
        width: 100%;
    }
    
    .oslp-info-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .oslp-info-card {
        flex: 1;
        min-width: 250px;
    }
}

@media screen and (max-width: 768px) {
    .oslp-hero-section {
        margin-top: 20px;
    }
    
    .oslp-header-section {
        margin-top: 20px;
        padding: 60px 20px 50px 20px;
    }
    
    .oslp-hero-title,
    .oslp-page-title {
        font-size: 2.2rem;
    }
    
    .oslp-hero-subtitle,
    .oslp-page-subtitle {
        font-size: 1.1rem;
    }
    
    .oslp-hero-section {
        min-height: 400px;
    }
    
    .oslp-content-section {
        padding: 40px 20px;
    }
    
    .oslp-content-wrapper {
        gap: 30px;
    }
    
    .oslp-entry-content {
        font-size: 1rem;
    }
    
    .oslp-entry-content h2 {
        font-size: 1.6rem;
    }
    
    .oslp-entry-content h3 {
        font-size: 1.3rem;
    }
    
    .oslp-widget {
        padding: 20px;
    }
    
    .oslp-info-cards {
        flex-direction: column;
    }
    
    .oslp-info-card {
        min-width: 100%;
    }
    
    .oslp-trust-badges {
        flex-direction: column;
        gap: 12px;
    }
    
    .oslp-trust-badge {
        justify-content: center;
    }
    
    .oslp-inline-cta-top {
        padding: 24px 20px;
    }
    
    .oslp-inline-cta-content h3 {
        font-size: 1.4rem;
    }
    
    .oslp-inline-cta-box {
        padding: 30px 20px;
    }
    
    .oslp-inline-cta-box h3 {
        font-size: 1.3rem;
    }
    
    .oslp-social-proof {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }
    
    .oslp-proof-item {
        min-width: 100%;
    }
    
    .oslp-proof-number {
        font-size: 2rem;
    }
    
    .oslp-cta-section {
        padding: 50px 20px;
    }
    
    .oslp-cta-box {
        padding: 30px 20px;
    }
    
    .oslp-cta-title {
        font-size: 1.8rem;
    }
    
    .oslp-cta-button {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width: 480px) {
    .oslp-hero-title,
    .oslp-page-title {
        font-size: 1.8rem;
    }
    
    .oslp-hero-subtitle,
    .oslp-page-subtitle {
        font-size: 1rem;
    }
    
    .oslp-hero-section {
        min-height: 350px;
    }
    
    .oslp-cta-button {
        width: 100%;
    }
}

