/* Brand Colors - Exact Specifications */
:root {
    /* Brand Colors */
    --dark-purple: #302647; /* R=48 G=38 B=71 */
    --dusty-rose: #e86477;  /* R=232 G=100 B=119 */
    --light-pink: #fce8ed;  /* R=252 G=232 B=237 */
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f5f5f5;
    --gray-medium: #666666;
    --gray-dark: #333333;
    
    /* Legacy variables for compatibility */
    --primary-color: var(--dusty-rose);
    --secondary-color: var(--dark-purple);
    --dark-color: var(--dark-purple);
    --light-color: var(--light-pink);
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f5f8fa;
}

.min-vh-75 {
    min-height: 75vh;
}

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

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Navbar Styles */
.navbar-brand {
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/static/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Card Styles */
.card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Studio List */
.studio-card {
    height: 100%;
}

.studio-card .card-img-container {
    position: relative;
    overflow: hidden;
}

.studio-card .card-img-top {
    transition: transform 0.5s ease;
}

.studio-card:hover .card-img-top {
    transform: scale(1.05);
}

.studio-price {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-top-left-radius: 8px;
    font-weight: bold;
}

.studio-rating {
    color: var(--warning-color);
    margin-bottom: 12px;
}

/* Booking Process */
.booking-step {
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.booking-progress {
    padding: 20px 0 40px 0;
    margin-bottom: 60px;
}

.booking-progress .container {
    max-width: 800px;
    margin: 0 auto;
}

.booking-progress .step {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}

.booking-progress .step .step-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
    z-index: 2;
    position: relative;
}

.booking-progress .step.active .step-number {
    background-color: var(--primary-color);
    color: #fff;
}

.booking-progress .step.completed .step-number {
    background-color: var(--success-color);
    color: white;
}

.booking-progress .step-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

.booking-progress .step.active .step-label {
    font-weight: bold;
    color: var(--primary-color);
}

.booking-progress .step.completed .step-label {
    color: var(--success-color);
}

.booking-progress .progress-line {
    height: 2px;
    background-color: var(--secondary-color);
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1;
}

/* Calendar & Time Selection */
.calendar-container {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.time-slot {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-slot:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.time-slot.selected {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.time-slot.unavailable {
    background-color: #f5f5f5;
    color: #aaa;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Authentication */
.auth-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.auth-container h2 {
    margin-bottom: 25px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .booking-progress .step-label {
        font-size: 0.75rem;
    }
}

/* Message container */
.message-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
}

.message-container .alert {
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Review Styles */
.review-card {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 20px;
}

.review-rating {
    color: var(--warning-color);
    margin-bottom: 5px;
}

.review-date {
    color: #777;
    font-size: 0.8rem;
}

/* Studio Detail Features */
.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Time Slot Grid */
.time-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

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

/* Payment Form */
.payment-form {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
} 

/* Process Section Animations */
.process-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.process-card:hover::before {
    left: 100%;
}

.process-icon {
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.process-card:hover .process-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.process-number {
    animation: bounce 2s infinite;
}

.process-arrow {
    transition: all 0.3s ease;
    opacity: 0;
}

.process-card:hover .process-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
}

.process-timeline {
    animation: slideIn 1s ease-out;
}

.timeline-dot {
    animation: fadeInUp 0.8s ease-out;
}

.timeline-dot:nth-child(1) { animation-delay: 0.2s; }
.timeline-dot:nth-child(2) { animation-delay: 0.4s; }
.timeline-dot:nth-child(3) { animation-delay: 0.6s; }

/* Keyframe Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Process cards staggered animation */
.process-card:nth-child(1) { animation: fadeInUp 0.6s ease-out; }
.process-card:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.2s both; }
.process-card:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.4s both; }

/* Responsive adjustments for process section */
@media (max-width: 768px) {
    .process-arrow {
        display: none !important;
    }
    
    .process-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .process-icon i {
        font-size: 1.5rem !important;
    }
    
    .process-number {
        width: 25px !important;
        height: 25px !important;
        font-size: 0.8rem !important;
    }
} 