/*
Theme Name: OJCure
Theme URI: https://ojcure.com
Author: OJCure Team
Author URI: https://ojcure.com
Description: A modern WordPress theme for OJCure yoga and wellness center
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ojcure
*/

:root {
    --primary-green: #28a745;
    --dark-green: #1e7e34;
}

body {
    font-family: 'Arial', sans-serif;
}

.btn-green {
    background-color: var(--primary-green);
    color: white;
    border: none;
}

.btn-green:hover {
    background-color: var(--dark-green);
    color: white;
}

.navbar-brand img {
    max-height: 50px;
}

.hero-slider .carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-slider .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-slider .carousel-caption h1 {
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-slider .carousel-indicators {
    z-index: 15;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    z-index: 15;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-caption .lead {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Consultation Modal */
.modal-header.bg-success {
    border-bottom: none;
}

.modal-content {
    border-radius: 10px;
    border: none;
}

.modal-body {
    padding: 2rem;
}

#consultMessage {
    margin-bottom: 1rem;
}

#consultMessage .alert {
    margin-bottom: 0;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Blog Detail Page Styles */
.blog-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.blog-header .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.post-meta {
    font-size: 0.95rem;
}

.social-share .btn {
    border-radius: 20px;
    font-size: 0.875rem;
}

.blog-post .featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.blog-post .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-post .entry-content h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.blog-post .entry-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #34495e;
}

.blog-post .entry-content p {
    margin-bottom: 1.5rem;
}

.blog-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-post .entry-content blockquote {
    border-left: 4px solid var(--primary-green);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
}

.blog-post .entry-content ul,
.blog-post .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post .entry-content li {
    margin-bottom: 0.5rem;
}

.blog-post .entry-content a {
    color: var(--primary-green);
    text-decoration: underline;
}

.blog-post .entry-content a:hover {
    color: var(--dark-green);
}

.post-tags .badge {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: normal;
    border: 1px solid #dee2e6;
}

.post-tags .badge:hover {
    background-color: var(--primary-green) !important;
    color: white !important;
    border-color: var(--primary-green);
}

.author-bio {
    border: 1px solid #e9ecef;
}

.author-bio .author-avatar img {
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.post-navigation .nav-item a {
    color: #333;
    transition: color 0.3s;
}

.post-navigation .nav-item a:hover {
    color: var(--primary-green);
}

.post-navigation .nav-item h6 {
    font-size: 1rem;
    margin: 0;
}

/* Sidebar Styles */
.blog-sidebar .card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-sidebar .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}

.sidebar-widget .recent-post-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.sidebar-widget .recent-post-item a {
    color: #333;
    transition: color 0.3s;
}

.sidebar-widget .recent-post-item a:hover {
    color: var(--primary-green);
}

.sidebar-widget .recent-post-item h6 {
    font-size: 0.95rem;
    line-height: 1.4;
}

.sidebar-widget ul li a {
    color: #555;
    transition: all 0.3s;
    padding: 0.5rem 0;
    display: block;
}

.sidebar-widget ul li a:hover {
    color: var(--primary-green);
    padding-left: 10px;
}

/* Related Posts */
.related-posts .card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-posts .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.related-posts .card-img-top {
    height: 200px;
    object-fit: cover;
}

.related-posts .card-title a {
    transition: color 0.3s;
}

.related-posts .card-title a:hover {
    color: var(--primary-green) !important;
}

/* Comments Section */
.comments-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.comments-area {
    margin-top: 3rem;
}

.comments-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #2c3e50;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.comments-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-green);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-item {
    margin-bottom: 1.5rem;
}

.comment-item .comment-body {
    background: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.comment-item .comment-body:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.comment-avatar img {
    border: 3px solid #f8f9fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.comment-author {
    font-size: 1.1rem;
}

.comment-author a {
    color: var(--primary-green);
    text-decoration: none;
}

.comment-author a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

.comment-date {
    font-size: 0.875rem;
}

.comment-text {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

.comment-text p {
    margin-bottom: 0.5rem;
}

.comment-actions a {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.comment-actions a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

/* Nested Comments */
.comment-list .children {
    list-style: none;
    padding-left: 3rem;
    margin-top: 1.5rem;
}

.comment-list .children .comment-body {
    background: #f8f9fa;
    border-left: 3px solid var(--primary-green);
}

/* Comment Form */
.comment-form {
    background: white;
    margin-top: 3rem;
}

.comment-reply-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #2c3e50;
    position: relative;
    padding-bottom: 1rem;
}

.comment-reply-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-green);
}

.comment-reply-title small {
    font-size: 0.875rem;
    font-weight: normal;
}

.comment-reply-title small a {
    color: #dc3545;
    text-decoration: none;
    margin-left: 1rem;
}

.comment-reply-title small a:hover {
    text-decoration: underline;
}

.comment-form .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.comment-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.comment-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
}

.comment-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.comment-form .btn-success {
    border-radius: 25px;
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.comment-form .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.comment-form .form-submit {
    margin-top: 1rem;
}

/* Comment Navigation */
.comment-navigation {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.comment-navigation a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.comment-navigation a:hover {
    color: var(--dark-green);
}

/* No Comments Message */
.no-comments {
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

/* Awaiting Moderation */
.comment-awaiting-moderation {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    color: #856404;
}

/* Pingback/Trackback */
.pingback .comment-body,
.trackback .comment-body {
    background: #e7f3ff;
    border-left: 3px solid #0d6efd;
}

/* Responsive Design */
@media (max-width: 767px) {
    .comment-list .children {
        padding-left: 1rem;
    }
    
    .comment-avatar {
        margin-right: 1rem !important;
    }
    
    .comment-avatar img {
        width: 40px;
        height: 40px;
    }
    
    .comment-author {
        font-size: 1rem;
    }
    
    .comment-form {
        padding: 1.5rem !important;
    }
    
    .comment-form .btn-success {
        width: 100%;
        padding: 0.75rem 1rem;
    }
}

/* Comment Count Badge */
.comments-title .comment-count {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

/* Logged In User Info */
.comment-form .logged-in-as {
    background: #e7f3ff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.comment-form .logged-in-as a {
    color: var(--primary-green);
    font-weight: 600;
}

/* Comment Notes */
.comment-notes {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #856404;
}

/* Required Field Indicator */
.required {
    color: #dc3545;
    font-weight: bold;
}

/* Legal Pages Styles */
.legal-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.legal-sidebar .nav-link {
    color: #555;
    padding: 0.5rem 1rem;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.legal-sidebar .nav-link:hover,
.legal-sidebar .nav-link:focus {
    color: var(--primary-green);
    border-left-color: var(--primary-green);
    background-color: #f8f9fa;
}

.legal-document h2 {
    color: #2c3e50;
    border-bottom: 3px solid var(--primary-green);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-document h5 {
    color: #34495e;
    margin-top: 1.5rem;
}

.legal-document p {
    line-height: 1.8;
    color: #555;
}

.legal-document ul,
.legal-document ol {
    line-height: 1.8;
    color: #555;
}

.legal-document .content-box {
    border-left: 4px solid var(--primary-green);
}

.legal-document .info-card,
.legal-document .service-box,
.legal-document .conduct-item {
    transition: transform 0.3s, box-shadow 0.3s;
}

.legal-document .info-card:hover,
.legal-document .service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.legal-document .table {
    font-size: 0.95rem;
}

.legal-document .table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.legal-document .accordion-button {
    font-weight: 600;
    color: #2c3e50;
}

.legal-document .accordion-button:not(.collapsed) {
    background-color: #e7f3ff;
    color: var(--primary-green);
}

.legal-document .alert {
    border-left: 4px solid;
}

.legal-document .alert-info {
    border-left-color: #0dcaf0;
}

.legal-document .alert-warning {
    border-left-color: #ffc107;
}

.legal-document .alert-danger {
    border-left-color: #dc3545;
}

.legal-document .alert-success {
    border-left-color: var(--primary-green);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .legal-sidebar,
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
    
    .legal-document {
        width: 100%;
    }
    
    .accordion-collapse {
        display: block !important;
        height: auto !important;
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .blog-sidebar {
        margin-top: 3rem;
    }
    
    .blog-post .entry-content {
        font-size: 1rem;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .post-meta {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .social-share {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .social-share .btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }
}

.program-card {
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.program-card:hover {
    transform: translateY(-10px);
}

.stats {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.stats h2 {
    color: var(--primary-green);
    font-weight: bold;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.video-card {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.faq-item {
    margin-bottom: 15px;
}

footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

footer a {
    color: #bdc3c7;
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-green);
}

/* Services Page Styles */
.services-hero {
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.service-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.service-icon {
    display: inline-block;
}

.service-card .badge {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    color: #2c3e50;
}

.service-card .btn {
    transition: all 0.3s ease;
}

.service-card .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Workshop Cards */
.workshop-card {
    transition: all 0.3s ease;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Package Cards */
.package-card {
    position: relative;
}

.package-card .badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.package-card.featured {
    border: 2px solid var(--primary-green);
}

/* Classes Page Styles */
.classes-hero {
    position: relative;
    overflow: hidden;
}

.class-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.class-card .class-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.class-card .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
}

.class-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.class-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.class-benefits {
    list-style: none;
    padding: 0;
}

.class-benefits li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.class-benefits li:last-child {
    border-bottom: none;
}

/* Schedule Table */
.schedule-table {
    overflow-x: auto;
}

.schedule-table table {
    min-width: 800px;
}

.schedule-table th {
    background-color: var(--primary-green);
    color: white;
    font-weight: 600;
    padding: 1rem;
}

.schedule-table td {
    padding: 1rem;
    vertical-align: middle;
}

.schedule-table .class-slot {
    background-color: #e7f3ff;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    text-align: center;
}

.schedule-table .class-slot strong {
    display: block;
    color: var(--primary-green);
    margin-bottom: 0.25rem;
}

/* Level Guide */
.level-card {
    transition: all 0.3s ease;
}

.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
}

.level-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.level-icon.beginner {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.level-icon.intermediate {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.level-icon.advanced {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

/* Responsive Design for Services & Classes */
@media (max-width: 991px) {
    .service-card,
    .class-card {
        margin-bottom: 1.5rem;
    }
    
    .schedule-table {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .services-hero h1,
    .classes-hero h1 {
        font-size: 2rem;
    }
    
    .services-hero .lead,
    .classes-hero .lead {
        font-size: 1rem;
    }
    
    .service-card .btn,
    .class-card .btn {
        width: 100%;
    }
    
    .class-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Animation for Cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.class-card,
.workshop-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Testimonial Section on Services Page */
.services-testimonial .card {
    transition: all 0.3s ease;
}

.services-testimonial .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top;
    background-size: cover;
    opacity: 0.3;
}
