/**
 * Page Templates Styles
 * Testing With Renata Theme
 * 
 * Styles for Services, Events, and Contact pages.
 */

/* ================================
   PAGE COMMON STYLES
   ================================ */

.page-content-wrapper {
    padding: var(--space-12) 0;
}

.page-featured-image {
    margin-bottom: var(--space-8);
}

.page-featured-image img {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-default);
}

/* ================================
   SERVICES PAGE
   ================================ */

.services-page {
    padding-bottom: var(--space-16);
}

.services-hero {
    padding: var(--space-16) 0;
    text-align: center;
    background: 
        radial-gradient(circle at 30% 50%, var(--accent-green-muted) 0%, transparent 50%),
        var(--bg-primary);
}

.services-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
}

.services-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services List */
.services-list {
    padding: var(--space-16) 0;
}

/* Services Cards Row - 3 column layout */
.services-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.service-card-full {
    display: flex;
    flex-direction: column;
    padding: var(--space-8);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.service-card-full:hover {
    border-color: var(--accent-green);
    transform: translateY(-4px);
}

.service-card-full--purple:hover {
    border-color: var(--accent-purple);
}

.service-card-full--blue:hover {
    border-color: var(--accent-blue);
}

.service-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--accent-green-muted);
    color: var(--accent-green);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
}

.service-card-full--purple .service-card-icon {
    background-color: var(--accent-purple-muted);
    color: var(--accent-purple);
}

.service-card-full--blue .service-card-icon {
    background-color: var(--accent-blue-muted);
    color: var(--accent-blue);
}

.service-card-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
}

.service-card-description {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
    flex-grow: 1;
}

.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6);
}

.service-card-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.service-card-features li svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

.service-card-full--purple .service-card-features li svg {
    color: var(--accent-purple);
}

.service-card-full--blue .service-card-features li svg {
    color: var(--accent-blue);
}

.service-card-full .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Legacy service-item styles (kept for compatibility) */
.services-grid-full {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.service-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-12);
    align-items: center;
    padding: var(--space-12);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
}

.service-item--alt {
    grid-template-columns: 1fr 200px;
}

.service-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    background-color: var(--accent-green-muted);
    color: var(--accent-green);
    border-radius: var(--radius-2xl);
    margin: 0 auto;
}

.service-item-icon--purple {
    background-color: var(--accent-purple-muted);
    color: var(--accent-purple);
}

.service-item-icon--blue {
    background-color: var(--accent-blue-muted);
    color: var(--accent-blue);
}

.service-item-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
}

.service-item-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-8);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    color: var(--text-secondary);
}

.service-features li svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

/* Services CTA */
.services-cta {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-default);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    padding: var(--space-12);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-2xl);
}

.cta-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-2);
}

.cta-description {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ================================
   EVENTS PAGE
   ================================ */

.events-page {
    padding-bottom: var(--space-16);
}

.events-hero {
    padding: var(--space-16) 0;
    text-align: center;
    background: 
        radial-gradient(circle at 70% 50%, var(--accent-purple-muted) 0%, transparent 50%),
        var(--bg-primary);
}

.events-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
}

.events-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Events Categories */
.events-category {
    margin-bottom: var(--space-16);
}

.events-category-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-8);
}

.events-category-title .terminal-prompt {
    color: var(--accent-green);
    margin-right: var(--space-2);
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.event-card {
    padding: var(--space-6);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.event-card:hover {
    border-color: var(--accent-purple);
}

.event-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
}

.event-badge {
    padding: var(--space-1) var(--space-3);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    border-radius: var(--radius-sm);
}

.event-badge--qlub {
    background-color: var(--accent-purple-muted);
    color: var(--accent-purple);
}

.event-badge--conference {
    background-color: var(--accent-blue-muted);
    color: var(--accent-blue);
}

.event-date {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.event-card-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
    line-height: var(--leading-snug);
}

.event-card-title a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.event-card-title a:hover {
    color: var(--accent-purple);
}

.event-card-excerpt {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.event-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--accent-purple);
    transition: gap var(--transition-fast);
}

.event-card-link:hover {
    gap: var(--space-3);
}

.events-more {
    text-align: center;
}

.no-events {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-12);
    color: var(--text-secondary);
}

/* Events Timeline */
.events-timeline {
    position: relative;
    padding-left: var(--space-8);
}

.events-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--accent-purple) 0%,
        var(--border-default) 100%
    );
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-8);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: calc(-1 * var(--space-8) + 8px);
    top: 8px;
    width: 16px;
    height: 16px;
    background-color: var(--accent-purple);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
}

.timeline-content {
    padding: var(--space-6);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
}

.timeline-date {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--accent-purple);
    margin-bottom: var(--space-2);
}

.timeline-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
}

.timeline-description {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.timeline-location {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.timeline-location svg {
    color: var(--accent-purple);
}

/* Events CTA */
.events-cta {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-default);
}

/* ================================
   CONTACT PAGE
   ================================ */

.contact-page {
    padding: var(--space-16) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.contact-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
}

.contact-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

.contact-terminal {
    margin-bottom: var(--space-8);
}

.contact-social-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-4);
}

.contact-social-title .terminal-prompt {
    color: var(--accent-green);
    margin-right: var(--space-2);
}

/* Contact Form */
.contact-form-wrapper {
    position: sticky;
    top: calc(var(--header-height) + var(--space-6));
}

.contact-form-card {
    padding: var(--space-8);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
}

.form-header {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-default);
}

.form-header .terminal-prompt {
    color: var(--accent-green);
    margin-right: var(--space-2);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.contact-form .btn {
    width: 100%;
    margin-top: var(--space-4);
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 1023px) {
    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-item--alt {
        grid-template-columns: 1fr;
    }
    
    .service-item--alt .service-item-icon {
        order: -1;
    }
    
    .service-features {
        display: inline-block;
        text-align: left;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        position: static;
    }
}

@media (max-width: 639px) {
    .services-title,
    .events-title,
    .contact-title {
        font-size: var(--text-3xl);
    }
    
    .services-subtitle,
    .events-subtitle {
        font-size: var(--text-base);
    }
    
    .service-item {
        padding: var(--space-6);
    }
    
    .service-item-icon {
        width: 100px;
        height: 100px;
    }
    
    .service-item-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .service-item-title {
        font-size: var(--text-2xl);
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card {
        padding: var(--space-5);
    }
    
    .events-timeline {
        padding-left: var(--space-6);
    }
    
    .timeline-marker {
        left: calc(-1 * var(--space-6) + 8px);
    }
}



