/* Booking Management Page Styles */

:root {
    --primary-color: #ec4899;
    --secondary-color: #f472b6;
    --accent-color: #f97316;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #fdf2f8;
    --border-color: #f3e8ff;
    --shadow-sm: 0 1px 2px rgba(236, 72, 153, 0.05);
    --shadow-md: 0 4px 6px rgba(236, 72, 153, 0.1);
    --shadow-lg: 0 10px 15px rgba(236, 72, 153, 0.1);
    --shadow-xl: 0 20px 25px rgba(236, 72, 153, 0.15);
    --gradient-primary: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    --gradient-secondary: linear-gradient(135deg, #f472b6 0%, #f97316 100%);
    --gradient-glossy: linear-gradient(135deg, #ec4899 0%, #f472b6 50%, #f97316 100%);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.title-line {
    display: block;
    color: var(--text-primary);
}

.title-highlight {
    display: block;
    background: var(--gradient-glossy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-glossy);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-glossy);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.hero-badge i {
    font-size: 1rem;
}

/* Booking Demo */
.booking-demo {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.demo-container {
    width: 500px;
    height: 400px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
    position: relative;
}

.demo-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.demo-screen {
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Calendar Screen */
.calendar-screen {
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    animation: screenTransition 0.5s ease-out;
}

@keyframes screenTransition {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    gap: 2rem;
}

.calendar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.calendar-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-right: 1rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.calendar-day.today {
    background: var(--gradient-glossy);
    color: white;
    font-weight: 700;
}

.calendar-day.booked {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.appointment-list {
    flex: 1;
    overflow-y: auto;
}

.appointment-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.appointment-time {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 60px;
}

.appointment-details {
    flex: 1;
}

.appointment-client {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.appointment-service {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.appointment-status {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    background: #10b981;
    color: white;
}

/* Time Slots */
.time-slots {
    flex: 1;
    padding: 1rem;
}

.time-slots-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.time-slots-header h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.time-slots-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.time-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.time-slot.available {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

.time-slot.booked {
    background: #f3f4f6;
    border-color: #d1d5db;
    opacity: 0.6;
}

.slot-time {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.slot-status {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
}

.time-slot.available .slot-status {
    background: var(--primary-color);
    color: white;
}

.time-slot.booked .slot-status {
    background: #6b7280;
    color: white;
}

/* Booking Features Section */
.booking-features {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-glossy);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Booking Journey Section */
.booking-journey {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.journey-header {
    text-align: center;
    margin-bottom: 4rem;
}

.journey-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.journey-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.journey-steps {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.journey-step {
    margin-bottom: 6rem;
    position: relative;
}

.journey-step:last-child {
    margin-bottom: 0;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: -2rem;
    left: -1rem;
    z-index: 0;
}

.journey-step.reverse .step-number {
    left: auto;
    right: -1rem;
}

.step-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.step-text h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.step-text p {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.step-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.step-features i {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
}

.card-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-glossy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.card-icon i {
    font-size: 2.5rem;
    color: white;
}

.step-visual .feature-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.step-visual .feature-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
}

/* Booking Benefits Section */
.booking-benefits {
    padding: 6rem 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Integrations Section */
.booking-integrations {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.integration-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.integration-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.integration-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-glossy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.integration-card:hover .integration-icon {
    transform: scale(1.1) rotate(5deg);
}

.integration-icon i {
    font-size: 1.5rem;
    color: white;
}

.integration-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.integration-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cta-buttons .cta-primary {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.cta-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-primary {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    /* Hide graphics on mobile for cleaner experience */
    .demo-container {
        display: none !important;
    }
    
    .booking-demo {
        display: none !important;
    }
    
    /* Journey steps mobile adjustments */
    .journey-step {
        margin-bottom: 3rem !important;
        padding: 0 1rem !important;
    }
    
    .step-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }
    
    .journey-step.reverse .step-content {
        grid-template-columns: 1fr !important;
    }
    
    .journey-step.reverse .step-text {
        order: 1 !important;
    }
    
    .journey-step.reverse .step-visual {
        order: 2 !important;
    }
    
    .step-number {
        font-size: 2.5rem !important;
        top: -1rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
    }
    
    .journey-step.reverse .step-number {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
    }
    
    .step-text h3 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .step-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card h4 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .cta-primary {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .demo-container {
        height: 240px !important;
    }
    
    .step-text h3 {
        font-size: 1.6rem;
    }
    
    .step-text p {
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 0.9rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .cta-primary:hover,
    .feature-card:hover {
        transform: none !important;
    }
    
    .cta-primary,
    .feature-card {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    .feature-card,
    .benefit-card,
    .integration-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    .container {
        overflow-x: hidden !important;
    }
    
    /* Optimize form elements */
    input,
    textarea,
    select {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 12px !important;
    }
}
