/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation Bar */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    font-size: 1rem;
    color: #555;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #6a89cc;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 20px;
    background-color: #eaf6f6;
    border-radius: 10px;
    margin-bottom: 20px;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #555;
}

.cta-btn {
    background-color: #4b7bec;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: #3867d6;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #333;
}

.page-header p {
    font-size: 1rem;
    color: #555;
}

/* Card Layouts */
.pose-gallery, .session-list, .recipes-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pose-card, .session-card, .recipe-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pose-card:hover, .session-card:hover, .recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.pose-card img, .session-card img, .recipe-card img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* To-Do List */
.todo-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#new-task {
    flex-grow: 1;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    background-color: #4b7bec;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #3867d6;
}

#task-list {
    list-style: none;
    padding: 0;
}

#task-list li {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    transition: background-color 0.3s;
    cursor: pointer;
}

#task-list li.completed {
    background-color: #d4edda;
    text-decoration: line-through;
    color: #555;
}

/* Dark Mode */
body.dark-mode {
    background-color: #222;
    color: #eee;
}

body.dark-mode .navbar {
    background-color: #333;
    border-bottom: 1px solid #555;
}

body.dark-mode .nav-links a {
    color: #bbb;
}

body.dark-mode .nav-links a:hover {
    color: #6a89cc;
}

body.dark-mode .hero {
    background-color: #444;
}

body.dark-mode .cta-btn {
    background-color: #4b7bec;
}

body.dark-mode .pose-card,
body.dark-mode .session-card,
body.dark-mode .recipe-card {
    background-color: #333;
    color: #ddd;
    border: 1px solid #555;
}

body.dark-mode #new-task {
    background-color: #333;
    color: #ddd;
    border: 1px solid #555;
}

body.dark-mode #task-list li {
    background-color: #444;
    color: #ddd;
}
/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #f9f9f9;
    margin-bottom: 20px;
}

.hero-content {
    flex: 1;
    padding-right: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Shared Section Style */
.meditation-section,
.recipes-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #f9f9f9;
    margin-bottom: 20px;
}

.meditation-section:nth-child(odd),
.recipes-section:nth-child(odd) {
    flex-direction: row-reverse;
}

.section-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.image-left {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.image-left img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.text-right {
    flex: 1;
    padding: 0 20px;
}

.text-right h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.text-right p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

/* Buttons */
.cta-btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero, .meditation-section, .recipes-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-content, .text-right {
        padding: 0;
    }

    .hero-content h1, .text-right h2 {
        font-size: 1.8rem;
    }
}
/* Recipes Section */
.recipes-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #f9f9f9;
    margin-bottom: 20px;
    flex-direction: row; /* Ensure text is on the left and image is on the right */
}

.recipes-section .text-left {
    flex: 1;
    padding: 0 20px;
    text-align: left; /* Align text to the left */
}

.recipes-section .image-right {
    flex: 1;
    padding: 0 20px;
    text-align: right; /* Align image to the right */
}

.recipes-section .image-right img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Shared Styles for Text */
.text-left h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.text-left p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

.text-left .cta-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.text-left .cta-btn:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recipes-section {
        flex-direction: column;
        text-align: center;
    }

    .recipes-section .image-right,
    .recipes-section .text-left {
        padding: 0 10px;
        order: unset; /* Reset order for smaller screens */
    }
}
/* Footer Styling */
.footer {
    background-color: #333; /* Dark background for the footer */
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    display: inline;
    margin-right: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer p {
    font-size: 0.9rem;
    margin-top: 10px;
}
/* Recipes Section */
.recipes-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
}

.video-card {
    flex: 1 1 calc(33% - 20px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #fff;
    overflow: hidden;
    text-align: center;
    padding: 10px;
}

.video-card iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 10px;
}

.video-card p {
    margin-top: 10px;
    font-size: 1rem;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-card {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .video-card {
        flex: 1 1 100%;
    }
}
.session-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.breathwork-section, .mindfulness-section {
    text-align: center;
    margin-top: 20px;
}

#timer, #meditation-timer {
    font-size: 2rem;
    margin: 10px 0;
    color: #333;
}

audio {
    width: 100%;
    margin: 20px 0;
}
