/* Meditation Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Comic+Neue:wght@400;700&display=swap');

:root {
    --primary: #4361ee;
    --secondary: #f72585;
    --accent: #4cc9f0;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #38b000;
    --warning: #ff9e00;
    --purple: #7209b7;
    --calm-blue: #4895ef;
    --calm-green: #38b000;
}

body {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navbar spacing */
.navbar {
    margin-bottom: 0;
}

/* Tabs Container */
.tabs-container {
    background: linear-gradient(90deg, var(--calm-blue), var(--calm-green));
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Activity Tabs */
.activity-tabs {
    margin: 0 auto;
    max-width: 1200px;
}

.activity-tabs ul {
    border: none;
    justify-content: center;
    flex-wrap: wrap;
}

.activity-tabs li {
    margin: 0 0.5rem;
}

.activity-tabs li a {
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    color: white !important;
    border-radius: 30px;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.activity-tabs li.is-active a {
    background-color: white;
    color: var(--calm-blue) !important;
    border-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.activity-tabs li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Score Display */
.score-display {
    margin: 1.5rem 0;
}

.animated-score {
    animation: pulse 2s infinite;
    border-radius: 15px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    color: white;
    background: linear-gradient(45deg, var(--calm-blue), var(--calm-green));
    box-shadow: 0 6px 20px rgba(72, 149, 239, 0.3);
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.animated-score::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0)
    );
    transform: rotate(30deg);
    animation: shine 4s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

/* Main Title */
.main-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3.5rem;
    color: var(--calm-blue);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, var(--calm-blue), var(--calm-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--calm-green), transparent);
    border-radius: 10px;
}

/* Subtitle */
.subtitle-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.meditation-description {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: center;
    font-weight: 500;
}

.meditation-description::before, .meditation-description::after {
    content: "";
    font-family: 'Fredoka One', cursive;
    font-size: 4rem;
    color: var(--calm-blue);
    position: absolute;
    opacity: 0.3;
}

.meditation-description::before {
    top: -20px;
    left: 20px;
}

.meditation-description::after {
    content: "";
    bottom: -40px;
    right: 20px;
    transform: rotate(180deg);
}

/* Meditation Sessions */
.meditation-sessions {
    margin: 4rem 0;
}

.category-title {
    font-family: 'Fredoka One', cursive;
    text-align: center;
    font-size: 2.5rem;
    color: var(--calm-blue);
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.category-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--calm-green), transparent);
    border-radius: 10px;
}

/* Meditation Cards */
.meditation-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    margin-bottom: 2rem;
    height: 100%;
}

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

.session-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.session-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.meditation-card:hover .session-image img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.meditation-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 4rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.session-content {
    padding: 1.5rem;
}

.session-content h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--calm-blue);
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.session-content p {
    color: #555;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.session-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #777;
}

.session-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.session-button {
    font-family: 'Fredoka One', cursive;
    background: linear-gradient(45deg, var(--calm-blue), var(--calm-green));
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(72, 149, 239, 0.4);
    width: 100%;
}

.session-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(72, 149, 239, 0.5);
}

/* Modal */
.meditation-modal {
    display: none;
}

.modal-content {
    width: 90%;
    max-width: 800px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Benefits Section */
.benefits-section {
    margin: 5rem 0;
    padding: 3rem 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(240, 249, 255, 0.8));
    border-radius: 25px;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 1.5rem;
}

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

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--calm-blue), var(--calm-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--calm-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.5;
}

/* Breathing Exercise */
.breathing-section {
    margin: 5rem 0;
}

.breathing-exercise {
    background: white;
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.breathing-visual {
    margin-bottom: 2rem;
}

.circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--calm-blue), var(--calm-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;
    transition: all 1.5s ease;
    box-shadow: 0 8px 25px rgba(72, 149, 239, 0.3);
}

.breathing-controls {
    text-align: center;
}

.breath-instruction {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--calm-blue);
    min-height: 2rem;
}

#start-breathing {
    font-family: 'Fredoka One', cursive;
    background: linear-gradient(45deg, var(--calm-blue), var(--calm-green));
    border: none;
    border-radius: 50px;
    padding: 0.9rem 2rem;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(72, 149, 239, 0.4);
    margin-bottom: 1.5rem;
}

#start-breathing:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(72, 149, 239, 0.5);
}

.breath-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.breath-options span {
    font-weight: 500;
    color: #555;
}

.speed-btn {
    border-radius: 20px;
}

/* Floating elements for calming effect */
.floating-shape {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    background: rgba(72, 149, 239, 0.1);
    animation: floatCalm 25s infinite ease-in-out;
}

@keyframes floatCalm {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .main-title {
        font-size: 3rem;
    }
    
    .activity-tabs li a {
        font-size: 1.1rem;
        padding: 0.6rem 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .activity-tabs ul {
        flex-wrap: wrap;
    }
    
    .activity-tabs li {
        margin-bottom: 0.8rem;
    }
    
    .meditation-description {
        font-size: 1.1rem;
        padding: 1.2rem;
    }
    
    .session-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .activity-tabs li a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .breathing-exercise {
        padding: 1.5rem;
    }
    
    .circle {
        width: 150px;
        height: 150px;
        font-size: 1rem;
    }
    
    .breath-options {
        flex-direction: column;
    }
}

body {
    padding-top: 75px; /* Adjust this value based on your navbar height */
}

/* Alternatively, you can add it to the container */
.section-container {
    padding-top: 75px;
}

.hero.is-fullheight {
    padding-top: 75px;
}