/**
 * Schedule Your Visit Section Styles
 * Synergy Health Theme
 * Full-width 50/50 CTA section with image and content
 */

/* ========================================
   SECTION BASE
   ======================================== */

.schedule-visit-section {
    display: flex;
    width: 100%;
    min-height: 600px;
}

/* ========================================
   IMAGE SIDE (Left 50%)
   ======================================== */

.syv-image-side {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.syv-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ========================================
   CONTENT SIDE (Right 50%)
   ======================================== */

.syv-content-side {
    flex: 1;
    background-color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.syv-content-wrapper {
    max-width: 600px;
    text-align: left;
}

/* ========================================
   TEXT CONTENT
   ======================================== */

.syv-heading {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    margin: 0 0 24px 0;
}

.syv-subheading {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--white);
    margin: 0 0 48px 0;
}

/* ========================================
   BUTTONS
   ======================================== */

.syv-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
}

.syv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--btn-padding-md);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    min-width: 280px;
    border: 3px solid var(--white);
}

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

.syv-btn-secondary:hover {
    background-color: var(--white);
    color: var(--teal);
    transform: translateY(-2px);
}

.syv-btn-primary {
    background-color: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.syv-btn-primary:hover {
    background-color: var(--red-dark);
    border-color: var(--red-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

/* Desktop Large (1200px) */
@media (max-width: 1200px) {
    .syv-heading {
        font-size: 42px;
    }
    
    .syv-subheading {
        font-size: 19px;
        margin-bottom: 40px;
    }
    
    .syv-content-side {
        padding: 60px 40px;
    }
}

/* Tablet Landscape (1024px) */
@media (max-width: 1024px) {
    .schedule-visit-section {
        flex-direction: column;
        min-height: auto;
    }
    
    .syv-image-side {
        order: 1;
    }
    
    .syv-content-side {
        order: 2;
        padding: 60px 40px;
    }
    
    .syv-heading {
        font-size: 38px;
    }
    
    .syv-subheading {
        font-size: 18px;
    }
    
    .syv-btn {
        min-width: 260px;
    }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
    .syv-content-side {
        padding: 50px 30px;
    }
    
    .syv-content-wrapper {
        text-align: center;
    }
    
    .syv-heading {
        font-size: 34px;
        margin-bottom: 20px;
    }
    
    .syv-subheading {
        font-size: 17px;
        margin-bottom: 35px;
    }
    
    .syv-buttons {
        flex-direction: column;
        gap: 16px;
        justify-content: center;
    }
    
    .syv-btn {
        padding: 14px 40px;
        font-size: 17px;
        min-width: 240px;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .syv-content-side {
        padding: 40px 20px;
    }
    
    .syv-heading {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .syv-subheading {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .syv-buttons {
        gap: 14px;
    }
    
    .syv-btn {
        padding: 14px 32px;
        font-size: 16px;
        min-width: 240px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

/* Focus Styles for Keyboard Navigation */
.syv-btn-secondary:focus {
    outline: 3px solid var(--white);
    outline-offset: 4px;
}
.syv-btn-primary:focus {
    outline: 3px solid var(--red);
    outline-offset: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .syv-btn {
        transition: none;
    }
}
