/**
 * Dental UK Intake Child Theme - Main Styles
 *
 * Mobile-first, minimal CSS for Core Web Vitals optimization
 */

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* ==========================================================================
   Lead Form
   ========================================================================== */

.dental-lead-form-wrapper {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
}

.form-title {
    margin-bottom: 20px;
    font-size: 24px;
    color: #1a73e8;
}

.dental-form .form-row {
    margin-bottom: 20px;
}

.dental-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.dental-form input[type="text"],
.dental-form input[type="email"],
.dental-form input[type="tel"],
.dental-form input[type="url"],
.dental-form select,
.dental-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.dental-form textarea {
    resize: vertical;
}

.dental-form input[type="file"] {
    padding: 10px 0;
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #1a73e8;
    color: #fff;
}

.btn-primary:hover {
    background: #1557b0;
}

.btn-secondary {
    background: #5f6368;
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1a73e8;
    color: #1a73e8;
}

.btn-outline:hover {
    background: #1a73e8;
    color: #fff;
}

.form-message {
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==========================================================================
   Sticky WhatsApp Button
   ========================================================================== */

.dental-sticky-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #fff;
    padding: 15px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    transition: all 0.3s ease;
}

/* Move WhatsApp button up when consent banner is visible */
body.consent-banner-visible .dental-sticky-whatsapp {
    bottom: 120px;
}

.dental-sticky-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.dental-sticky-whatsapp svg {
    width: 24px;
    height: 24px;
}

.whatsapp-text {
    font-weight: 600;
}

@media (max-width: 768px) {
    .whatsapp-text {
        display: none;
    }

    .dental-sticky-whatsapp {
        padding: 12px;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }

    /* Move up more on mobile when consent banner is visible */
    body.consent-banner-visible .dental-sticky-whatsapp {
        bottom: 180px;
    }
}

/* ==========================================================================
   Medical Disclaimer
   ========================================================================== */

.dental-medical-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    margin: 40px 0;
    border-radius: 4px;
}

.disclaimer-title {
    margin-bottom: 10px;
    color: #856404;
}

.disclaimer-text {
    font-size: 14px;
    color: #856404;
    margin: 0;
}

/* ==========================================================================
   Treatment Cards
   ========================================================================== */

.treatments-section {
    padding: 60px 0;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.treatment-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.treatment-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.treatment-card h3 {
    color: #1a73e8;
    margin-bottom: 15px;
}

.treatment-card p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.treatment-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}

.treatment-benefits span {
    font-size: 14px;
    color: #27ae60;
    font-weight: 500;
}

.treatment-price {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
    padding: 15px;
    background: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid #1a73e8;
}

.uk-price {
    font-size: 14px;
    color: #999;
}

.uk-price del {
    text-decoration: line-through;
    color: #999;
}

.turkey-price {
    font-size: 24px;
    font-weight: 700;
    color: #1a73e8;
}

.savings {
    font-size: 14px;
    font-weight: 600;
    color: #27ae60;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.dental-breadcrumbs {
    padding: 20px 0;
    background: #f5f5f5;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: inline;
}

.breadcrumb-item a {
    color: #1a73e8;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #666;
}

.breadcrumb-separator {
    color: #999;
}

/* ==========================================================================
   Thank You Page
   ========================================================================== */

.thank-you-hero {
    text-align: center;
    padding: 60px 0;
}

.thank-you-content h1 {
    color: #1a73e8;
    margin-bottom: 15px;
}

.next-steps {
    margin: 40px 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.next-steps ol {
    padding-left: 20px;
}

.next-steps li {
    margin-bottom: 15px;
}

.quick-contact {
    margin-top: 40px;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .dental-lead-form-wrapper {
        padding: 20px;
    }

    .treatments-section {
        padding: 40px 0;
    }

    .treatment-grid {
        gap: 20px;
    }
}
