/* ==========================================================================
   Meeting Page Styles
   ========================================================================== */

:root {
    --color-text: #1a1a1a;
    --color-text-light: #4a4a4a;
    --color-background: #ffffff;
    --color-background-alt: #f5f5f5;
    --color-accent: #0d7377;
    --color-accent-hover: #0a5d60;
    --color-secondary: #7FB141;
    --color-secondary-hover: #729E3A;
    --color-border: #e0e0e0;
    --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-background-alt);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ==========================================================================
   Main Container
   ========================================================================== */

.meeting-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.meeting-hero {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.meeting-hero h1 {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    color: var(--color-text);
}

.meeting-hero .tagline {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Meeting Options Cards
   ========================================================================== */

.meeting-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.75px; /* 75% reduction from 15px */
    margin-bottom: 3.75px; /* 75% reduction from 15px */
    max-width: 800px; /* Fixed width, doesn't resize with window */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem; /* Reduced gap */
    background: white;
    padding: 0.5rem 0.4rem; /* 75% reduction: was 1.25rem 1rem, now ~0.5rem 0.4rem */
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--color-text);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem; /* Smaller font */
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent);
}

.card-icon {
    font-size: 1.75rem; /* Smaller icons */
    line-height: 1;
}

.card-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem; /* Smaller SVG icons */
    height: 1.75rem;
}

.card-icon-svg svg {
    width: 100%;
    height: 100%;
    color: currentColor;
}

.card-text {
    font-size: 0.85rem; /* Smaller text */
    font-weight: 600;
    color: var(--color-text);
}

/* Desktop: Show text, all 5 cards in one row */
@media (min-width: 768px) {
    .meeting-options {
        grid-template-columns: repeat(5, 1fr); /* Changed from 4 to 5 to fit all cards in one row */
        gap: 3.75px; /* 75% reduction from 15px */
    }
    
    .contact-card {
        padding: 0.5rem 0.4rem; /* Smaller padding */
    }
    
    .card-icon {
        font-size: 1.75rem; /* Smaller icons */
    }
    
    .card-text {
        font-size: 0.85rem; /* Smaller text */
    }
}

/* Mobile: All 5 icons in a single tile, horizontally aligned */
@media (max-width: 767px) {
    .meeting-options {
        display: flex; /* Use flexbox to align all icons horizontally */
        flex-wrap: nowrap;
        justify-content: space-between; /* Evenly space icons */
        align-items: center;
        gap: 0; /* No gap between cards since they're in one tile */
        width: 300px; /* Fixed width - no horizontal scaling */
        max-width: 300px; /* Lock the width */
        background: white; /* Single tile background */
        padding: 0.75rem;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        margin-left: auto; /* Center the container */
        margin-right: auto;
    }
    
    .card-text {
        display: none;
    }
    
    .contact-card {
        padding: 0.5rem 0.25rem; /* Smaller padding */
        min-height: auto;
        max-width: none;
        width: auto;
        flex: 0 0 auto; /* Don't grow or shrink, maintain natural size */
        background: transparent; /* Remove individual card background */
        box-shadow: none; /* Remove individual card shadow */
        border: none; /* Remove border */
    }
    
    .contact-card:hover {
        transform: none; /* Remove hover transform on mobile */
        box-shadow: none;
        border-color: transparent;
    }
    
    .card-icon {
        font-size: 1.5rem; /* Smaller icons */
    }
    
    .card-icon-svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 115, 119, 0.3);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(127, 177, 65, 0.3);
}

.external-icon {
    fill: currentColor;
}

/* ==========================================================================
   Embedded Scheduler
   ========================================================================== */

.meeting-embed {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.meeting-embed h2 {
    text-align: center;
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    color: var(--color-text);
}

.embed-container {
    position: relative;
    width: 100%;
    height: 800px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.embed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Hide HubSpot chat widget within the meetings iframe (desktop only) */
.iframe-chat-blocker {
    display: none;
}

@media (min-width: 768px) {
    .iframe-chat-blocker {
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100px;
        height: 100px;
        background: white;
        z-index: 10;
        pointer-events: none;
    }
}

.embed-fallback {
    text-align: center;
    margin-top: 1rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.embed-fallback a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

.embed-fallback a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: white;
    padding: 2rem 1.5rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid var(--color-border);
}

footer p {
    margin: 0.5rem 0;
    color: var(--color-text-light);
}

footer a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 767px) {
    .meeting-hero h1 {
        font-size: 2rem;
    }
    
    .meeting-hero .tagline {
        font-size: 1rem;
    }
    
    .embed-container {
        height: 600px;
    }
    
    .meeting-container {
        padding: 1rem;
    }
    
    .meeting-hero,
    .meeting-embed {
        padding: 1.5rem;
    }
}

