/* The Culinary Institute - Custom Styles */

:root {
    --chef-white: #F8FAF6;
    --dark-charcoal: #2F2F2F;
    --herbaceous-green: #4A7C59;
    --tomato-red: #D44D3C;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--chef-white);
    color: var(--dark-charcoal);
    line-height: 1.6;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--herbaceous-green) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--herbaceous-green) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(47, 47, 47, 0.7), rgba(47, 47, 47, 0.7)),
                url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(47, 47, 47, 0.8), rgba(74, 124, 89, 0.3));
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn-primary {
    background-color: var(--herbaceous-green);
    border-color: var(--herbaceous-green);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3a6347;
    border-color: #3a6347;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

.btn-outline-light:hover {
    background-color: var(--herbaceous-green);
    border-color: var(--herbaceous-green);
    color: white;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    border-radius: 15px 15px 0 0;
}

/* Badges */
.badge {
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 20px;
}

.bg-success {
    background-color: var(--herbaceous-green) !important;
}

.bg-warning {
    background-color: #ffc107 !important;
    color: var(--dark-charcoal) !important;
}

.bg-info {
    background-color: #17a2b8 !important;
}

/* Feature Icons */
.feature-icon {
    color: var(--herbaceous-green);
}

/* Calendar Styles */
.calendar-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.calendar-header {
    background: linear-gradient(135deg, var(--herbaceous-green), #3a6347);
    color: white;
    padding: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: #e9ecef;
}

.calendar-day {
    background: white;
    padding: 15px 10px;
    text-align: center;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.calendar-day:hover {
    background-color: var(--chef-white);
}

.calendar-day.other-month {
    color: #adb5bd;
    background-color: #f8f9fa;
}

.calendar-day.today {
    background-color: var(--herbaceous-green);
    color: white;
    font-weight: bold;
}

.calendar-day.has-class {
    background-color: #fff3cd;
    border-left: 4px solid var(--tomato-red);
}

.class-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.class-item:hover {
    transform: translateY(-2px);
}

/* Filter Buttons */
.filter-btn {
    background: white;
    border: 2px solid var(--herbaceous-green);
    color: var(--herbaceous-green);
    padding: 8px 20px;
    border-radius: 25px;
    margin: 5px;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--herbaceous-green);
    color: white;
}

/* Chef Cards */
.chef-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.chef-card:hover {
    transform: translateY(-5px);
}

.chef-image {
    height: 300px;
    background: linear-gradient(45deg, var(--herbaceous-green), #3a6347);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 30px;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--herbaceous-green);
    line-height: 1;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    background: linear-gradient(45deg, var(--tomato-red), #c0392b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(74, 124, 89, 0.8), rgba(212, 77, 60, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Forms */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--herbaceous-green);
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25);
}

/* Footer */
footer {
    background-color: var(--dark-charcoal) !important;
    color: #f8f9fa;
}

footer .text-muted {
    color: #ced4da !important;
}

footer .text-primary {
    color: #92d0a3 !important; 
}

footer a {
    color: #f8f9fa;
}

footer a:hover {
    color: #b5e5c5 !important;
}

/* Utility Classes */
.text-primary {
    color: var(--herbaceous-green) !important;
}

.bg-primary {
    background-color: var(--herbaceous-green) !important;
}

.border-primary {
    border-color: var(--herbaceous-green) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .calendar-grid {
        font-size: 0.8rem;
    }
    
    .calendar-day {
        min-height: 60px;
        padding: 10px 5px;
    }
}

/* Additional Component Styles */
.chef-image-large {
    height: 400px;
    background: linear-gradient(45deg, var(--herbaceous-green), #3a6347);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.guest-chef-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--tomato-red), #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--herbaceous-green), #3a6347);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--herbaceous-green), #3a6347);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar-small {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, var(--herbaceous-green), #3a6347);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-article {
    border: 2px solid var(--herbaceous-green);
    border-radius: 15px;
    overflow: hidden;
}

.blog-image {
    background: linear-gradient(45deg, var(--herbaceous-green), #3a6347);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.calendar-day-header {
    background-color: var(--herbaceous-green);
    color: white;
    font-weight: bold;
}

.class-detail-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.class-image {
    height: 300px;
    background: linear-gradient(45deg, var(--herbaceous-green), #3a6347);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.menu-item {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.menu-item:last-child {
    border-bottom: none;
}

.price-summary {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.venue-feature {
    margin-bottom: 30px;
}

.step-icon {
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
