/* Custom CSS for Katelyn Post's Business System */

/* CSS Custom Properties for Brand Colors */
:root {
    --forest-green: #264734;
    --chartreuse: #EDF486;
    --lilac: #E6E1F0;
    --tangerine: #ED682C;
    --cream: #F4F0E2;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--forest-green);
    background-color: var(--lilac);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', serif;
    font-weight: 600;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.accent-text {
    color: var(--tangerine);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-medium);
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Brand Styling */
.brand-text {
    font-family: 'Inter', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest-green);
    text-decoration: none;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(38, 71, 52, 0.1);
}

.nav-link {
    color: var(--forest-green) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--tangerine) !important;
}

/* Keyframes for breathing pulse effect */
@keyframes breathe {
    0% {
        box-shadow: 0 0 0 0 rgba(38, 71, 52, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(38, 71, 52, 0.1);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(38, 71, 52, 0);
        transform: scale(1);
    }
}

@keyframes breathe-outline {
    0% {
        box-shadow: 0 0 0 0 rgba(38, 71, 52, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(38, 71, 52, 0.08);
        transform: scale(1.015);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(38, 71, 52, 0);
        transform: scale(1);
    }
}

@keyframes breathe-success {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(40, 167, 69, 0.1);
        transform: scale(1.015);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
        transform: scale(1);
    }
}

@keyframes breathe-warning {
    0% {
        box-shadow: 0 0 0 0 rgba(237, 104, 44, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(237, 104, 44, 0.1);
        transform: scale(1.015);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(237, 104, 44, 0);
        transform: scale(1);
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--forest-green);
    border-color: var(--forest-green);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    animation: breathe 3s ease-in-out infinite;
}

.btn-primary:hover {
    background-color: #1e3829;
    border-color: #1e3829;
    transform: translateY(-1px);
    animation: none;
}

.btn-outline-primary {
    color: var(--forest-green);
    border-color: var(--forest-green);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    animation: breathe-outline 3.5s ease-in-out infinite;
}

.btn-outline-primary:hover {
    background-color: var(--forest-green);
    border-color: var(--forest-green);
    transform: translateY(-1px);
    animation: none;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Success buttons with breathing effect */
.btn-success {
    animation: breathe-success 4s ease-in-out infinite;
}

.btn-success:hover {
    animation: none;
}

/* Warning/tangerine buttons with breathing effect */
.btn-warning {
    background-color: var(--tangerine);
    border-color: var(--tangerine);
    color: white;
    animation: breathe-warning 3.8s ease-in-out infinite;
}

.btn-warning:hover {
    background-color: #d85a26;
    border-color: #d85a26;
    animation: none;
}

/* CTA class for extra emphasis */
.btn-cta {
    animation: breathe 2.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.btn-cta:hover {
    animation: none;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .btn-primary,
    .btn-outline-primary,
    .btn-success,
    .btn-warning,
    .btn-cta {
        animation: none;
    }
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--lilac) 100%);
}

.hero-actions {
    margin-top: 2rem;
}

.hero-image {
    text-align: center;
}

/* Services Section */
.services-section {
    background-color: var(--lilac);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.service-card {
    background: var(--lilac);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    border-color: var(--chartreuse);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--lilac);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--chartreuse);
}

.feather-lg {
    width: 40px !important;
    height: 40px !important;
    color: var(--forest-green);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
    padding: 4rem 0;
}

.about-points {
    padding: 2rem 0;
}

.point {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.point i {
    margin-right: 0.75rem;
}

/* Forms */
.form-container {
    background: var(--lilac);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.form-title {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.form-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    color: var(--forest-green);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--lilac);
    padding-bottom: 0.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--forest-green);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--chartreuse);
    box-shadow: 0 0 0 0.2rem rgba(237, 244, 134, 0.25);
}

.form-text {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Service Options */
.service-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-option {
    margin-bottom: 0;
}

.service-option .form-check-label {
    display: block;
    width: 100%;
    padding: 0;
    cursor: pointer;
}

.option-content {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: var(--lilac);
    transition: all 0.3s ease;
}

.service-option input[type="radio"]:checked + .form-check-label .option-content {
    border-color: var(--chartreuse);
    background-color: rgba(237, 244, 134, 0.1);
}

.option-content:hover {
    border-color: var(--lilac);
    background-color: rgba(229, 238, 30, 0.05);
}

.option-icon {
    margin-right: 1rem;
    color: var(--forest-green);
}

.option-content strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.option-content p {
    margin: 0;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* Service-specific Questions */
.service-questions {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.time-slot {
    margin-bottom: 0;
}

.time-slot .form-check-label {
    display: block;
    width: 100%;
    cursor: pointer;
}

.slot-content {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: var(--lilac);
    transition: all 0.3s ease;
    text-align: center;
}

.time-slot input[type="radio"]:checked + .form-check-label .slot-content,
.time-slot.selected .slot-content {
    border-color: var(--chartreuse);
    background-color: rgba(237, 244, 134, 0.1);
}

.slot-content:hover {
    border-color: var(--lilac);
    background-color: rgba(229, 238, 30, 0.05);
}

.slot-content strong {
    display: block;
    color: var(--forest-green);
    margin-bottom: 0.25rem;
}

.slot-time {
    color: var(--tangerine);
    font-weight: 500;
}

.session-info {
    background-color: var(--lilac);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.session-info h4 {
    margin-bottom: 1rem;
    color: var(--forest-green);
}

/* Confirmation Page */
.confirmation-container {
    background: var(--lilac);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.confirmation-title {
    font-size: 2.5rem;
    color: var(--forest-green);
}

.confirmation-subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
}

.confirmation-details {
    margin: 2rem 0;
}

.detail-card {
    background-color: var(--lilac);
    padding: 2rem;
    border-radius: 12px;
    text-align: left;
}

.detail-card h3 {
    margin-bottom: 1.5rem;
    color: var(--forest-green);
}

.detail-item {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.detail-item strong {
    color: var(--forest-green);
}

.next-steps {
    margin: 3rem 0;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 8px;
}

.step-icon {
    margin-right: 1rem;
    margin-top: 0.25rem;
    color: var(--forest-green);
    flex-shrink: 0;
}

.step-content strong {
    display: block;
    color: var(--forest-green);
    margin-bottom: 0.25rem;
}

.step-content p {
    margin: 0;
    color: var(--gray-medium);
}

/* Admin Dashboard */
.admin-section {
    background: var(--lilac);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    margin: 0;
}

.stat-card {
    background: var(--lilac);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card.urgent {
    border: 2px solid #ffc107;
    background: linear-gradient(135deg, #fff3cd 0%, #ffffff 100%);
    animation: subtle-pulse 2s infinite;
}

@keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
    50% { box-shadow: 0 6px 12px rgba(255, 193, 7, 0.3); }
}

.stat-icon {
    margin-right: 1rem;
}

.stat-content h3 {
    font-size: 2rem;
    margin: 0;
    color: var(--forest-green);
}

.stat-content p {
    margin: 0;
    color: var(--gray-medium);
}

.service-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.service-photography {
    background-color: rgba(237, 104, 44, 0.1);
    color: var(--tangerine);
}

.service-somatic-1-1 {
    background-color: rgba(38, 71, 52, 0.1);
    color: var(--forest-green);
}

.service-somatic-group {
    background-color: rgba(237, 244, 134, 0.3);
    color: var(--forest-green);
}

.client-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.client-item {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 8px;
}

.client-info {
    flex-grow: 1;
}

.client-actions {
    margin-left: 1rem;
}

/* Proposal Page */
.proposal-container {
    background: var(--lilac);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.proposal-title {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 0.5rem;
}

.proposal-meta {
    color: var(--gray-medium);
    font-size: 1.1rem;
}

.proposal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(38, 71, 52, 0.1);
}

.proposal-section:last-child {
    border-bottom: none;
}

.proposal-section h2 {
    font-size: 1.75rem;
    color: var(--forest-green);
    margin-bottom: 1.5rem;
}

.pricing {
    text-align: center;
    padding: 2rem;
    background-color: var(--lilac);
    border-radius: 12px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 600;
    color: var(--forest-green);
    margin-bottom: 0.5rem;
}

.price-description {
    color: var(--gray-medium);
    margin: 0;
}

.terms-content {
    background-color: var(--gray-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--chartreuse);
}

.next-steps ol {
    padding-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
    color: var(--gray-medium);
}

.action-buttons {
    margin-bottom: 2rem;
}

.action-buttons .btn {
    margin: 0 0.5rem;
}

/* Error Pages */
.error-container {
    padding: 3rem 2rem;
}

.error-title {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.error-actions .btn {
    margin: 0 0.5rem;
}

/* Login Page */
.login-container {
    background: var(--lilac);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-title {
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    margin-top: auto;
}

/* Utility Classes */
.feather-sm {
    width: 16px !important;
    height: 16px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .service-options {
        gap: 0.75rem;
    }
    
    .time-slots {
        grid-template-columns: 1fr;
    }
    
    .action-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .client-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .client-actions {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .steps-list {
        gap: 1rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .action-buttons {
        display: none !important;
    }
    
    body {
        background: var(--lilac) !important;
    }
    
    .proposal-container,
    .confirmation-container {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    outline: 2px solid var(--tangerine);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .form-container,
    .admin-section {
        border: 2px solid var(--forest-green);
    }
}

/* Dynamic Time Slot Styling */
.date-group {
    margin-bottom: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
}

.date-header {
    color: var(--forest-green);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--tangerine);
}

.time-slot {
    margin-bottom: 0.75rem;
    background: var(--lilac);
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.time-slot:hover {
    border-color: var(--tangerine);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.time-slot input[type="radio"]:checked + label {
    background: linear-gradient(135deg, var(--forest-green), #4a7c59);
    color: white;
    border-color: var(--forest-green);
}

.time-slot label {
    width: 100%;
    margin: 0;
    padding: 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.slot-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.slot-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--forest-green);
}

.time-slot input[type="radio"]:checked + label .slot-time {
    color: white;
}

.duration-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.duration-30min {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.duration-60min {
    background: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #e1bee7;
}

.time-slot input[type="radio"]:checked + label .duration-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    border-color: rgba(255,255,255,0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slot-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .slot-time {
        font-size: 1rem;
    }
}
