/* Corporation Template Styles - Uses colors_styles.php system */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.hero-section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

/* Override Bootstrap buttons for landing page only - scope to avoid appointment conflicts */
.hero-section .btn-primary,
.section-padding .btn-primary,
.cta-section .btn-primary {
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover,
.section-padding .btn-primary:hover,
.cta-section .btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid white;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
}

.section-padding {
    padding: 80px 0;
}

.pricing-card {
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.navbar {
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

/* Appointment Booking Isolation - Prevent template styles from interfering */
#appointments,
#customer-profile-section,
#customer_profile {
    /* Push appointment section below fixed navbar */
    padding-top: 70px;
}

#appointment-container {
    /* Reset any body styles that might interfere */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: #212529;
}

/* Ensure appointment buttons use Bootstrap defaults, not template overrides */
#appointment-container .btn-primary {
    background: #0d6efd !important;
    border: 1px solid #0d6efd !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    border-radius: 0.375rem !important;
    font-weight: 400 !important;
    transform: none !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

#appointment-container .btn-primary:hover {
    background: #0b5ed7 !important;
    border-color: #0a58ca !important;
    transform: none !important;
}

/* Customer profile button styles - disable Bootstrap defaults, use inline styles */
#customer_profile .btn,
#customer_profile .btn-sm,
#customer_profile .btn-xs {
    background-image: none !important;
    text-shadow: none !important;
    border-radius: 4px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: normal !important;
    vertical-align: middle !important;
}

/* Ensure Font Awesome icons display in buttons */
#customer_profile .btn i,
#customer_profile .btn .fa,
#customer_profile .btn .fas {
    display: inline-block !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    margin-right: 4px !important;
    font-size: inherit !important;
}

/* Force inline background colors to apply */
#customer_profile .btn[style*="background-color: #dc3545"],
#customer_profile .btn[style*="background-color: #28a745"],
#customer_profile .btn[style*="background-color:#dc3545"],
#customer_profile .btn[style*="background-color:#28a745"] {
    background: none !important;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    .section-padding {
        padding: 60px 0;
    }
    .pricing-card.featured {
        transform: none;
        margin: 2rem 0;
    }
}