/* Global Styles */
:root {
    --primary-color: #1a73e8;
    --secondary-color: #34a853;
    --accent-color: #4285f4;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --danger-color: #ea4335;
    --warning-color: #fbbc05;
    --success-color: #0f9d58;
    --border-color: #e0e0e0;
    --text-color: #333333;
    --text-light: #555555;
    --background-color: #ffffff;
    --gray-bg: #f5f7f9;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    margin: 0;
    padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, sans-serif;
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 1.2em;
    margin-bottom: 0.6em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.2em;
    color: var(--text-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.text-light {
    color: var(--text-light) !important;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

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

.section-lg {
    padding: 120px 0;
}

/* Navbar */
.navbar {
    background-color: var(--background-color);
    box-shadow: var(--shadow);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.9) 0%, rgba(66, 133, 244, 0.8) 100%), url('https://images.pexels.com/photos/6238297/pexels-photo-6238297.jpeg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 160px 0;
    position: relative;
    margin-bottom: 0;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
    border-radius: 4px;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #0d62c9;
    border-color: #0d62c9;
}

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

.btn-secondary:hover {
    background-color: #2d9249;
    border-color: #2d9249;
}

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

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

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

/* Cards */
.card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

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

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

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.card-text {
    color: var(--text-light);
}

.card-footer {
    background-color: white;
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}

/* Features */
.feature-box {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* About Section */
.about-img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* How It Works */
.step-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.step-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.step-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
}

.step-number {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

.step-box h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.step-box p {
    text-align: center;
    margin-bottom: 0;
}

/* Pricing */
.pricing-table {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.pricing-table:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.pricing-table h4 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.price {
    font-size: 3.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 25px 0;
    line-height: 1;
}

.price-period {
    color: var(--text-light);
    font-size: 1rem;
    display: inline-block;
    margin-left: 5px;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 30px;
}

.pricing-features li:before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Testimonials */
.testimonial {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    margin: 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial:before {
    content: '"';
    font-size: 7rem;
    color: rgba(26, 115, 232, 0.1);
    position: absolute;
    top: 20px;
    left: 25px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-name {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.testimonial-position {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.stars {
    color: var(--warning-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.9;
    top: 50%;
    transform: translateY(-50%);
}

#testimonialCarousel .carousel-control-prev {
    left: -20px;
}

#testimonialCarousel .carousel-control-next {
    right: -20px;
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-info {
    background-color: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: 8px;
}

.contact-info h3 {
    color: white;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-info a {
    color: white;
}

.contact-icon {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.8);
}

/* Forms */
.form-control {
    border-radius: 4px;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.invalid-feedback {
    color: var(--danger-color);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

/* Dashboard */
.dashboard-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.dashboard-nav {
    margin-bottom: 30px;
}

.dashboard-nav .nav-link {
    color: var(--text-color);
    border-radius: 4px;
    padding: 0.75rem 1rem;
}

.dashboard-nav .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.booking-list {
    list-style: none;
    padding: 0;
}

.booking-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background-color: var(--gray-bg);
    border-radius: 4px;
}

.booking-date {
    font-weight: 600;
    min-width: 120px;
}

.booking-time {
    margin-left: 20px;
}

.booking-status {
    margin-left: auto;
    padding: 5px 10px;
    border-radius: 4px;
}

.status-confirmed {
    background-color: var(--success-color);
    color: white;
}

.status-pending {
    background-color: var(--warning-color);
    color: var(--dark-color);
}

.status-cancelled {
    background-color: var(--danger-color);
    color: white;
}

/* Workshop Cards */
.workshop-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.workshop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.workshop-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.workshop-header:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.workshop-header h4 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
    font-weight: 700;
}

.workshop-date {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 30px;
    margin-top: 15px;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.workshop-price {
    position: absolute;
    right: 20px;
    top: 20px;
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(52, 168, 83, 0.3);
}

.workshop-body {
    padding: 30px;
}

.workshop-body p {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.workshop-body p i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.workshop-footer {
    padding: 20px 30px;
    background: linear-gradient(to right, var(--gray-bg), white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
}

/* Booking Calendar */
.calendar-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 30px;
}

#booking-calendar {
    min-height: 400px;
}

.time-slot-list {
    margin-top: 30px;
}

.time-slot-item {
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 4px;
    background-color: var(--gray-bg);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.time-slot-item:hover {
    background-color: rgba(26, 115, 232, 0.1);
}

.time-slot-item.selected {
    background-color: var(--primary-color);
    color: white;
}

/* Animations and Utils */
.shadow {
    box-shadow: var(--shadow) !important;
}

.rounded {
    border-radius: 8px !important;
}

.bg-primary-soft {
    background-color: rgba(26, 115, 232, 0.1);
}

.bg-secondary-soft {
    background-color: rgba(52, 168, 83, 0.1);
}

/* Hero additional styles */
.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 0;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

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

.animate-bounce {
    animation: bounce 2s infinite;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}
