/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6B8E9F;
    --secondary-color: #A8C5A8;
    --accent-color: #D4C5B0;
    --text-dark: #2C3E3E;
    --text-light: #5A6B6B;
    --bg-light: #F5F7F6;
    --bg-white: #FFFFFF;
    --border-color: #E0E8E5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation - Mobile First */
.navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.logo-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

.slogan {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.nav-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

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

.header-social-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.header-social-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.header-social-link svg {
    width: 18px;
    height: 18px;
}

/* Main Content - Mobile First */
.main-content {
    flex: 1;
    padding: 1.5rem 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section - Mobile First */
.hero {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.intro-section {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: 0.1px;
}

.intro-text:last-child {
    margin-bottom: 0;
}

/* Video Section - Mobile First */
.video-section {
    margin-top: 0;
}

.section-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.video-description {
    font-size: 1rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.1px;
}

.meditation-navigation {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.nav-arrow {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: var(--primary-color);
    padding: 0;
}

.nav-arrow:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-arrow svg {
    width: 20px;
    height: 20px;
}

.meditation-line {
    flex: 1;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meditation-quote {
    font-size: 1.1rem;
    color: var(--primary-color);
    text-align: center;
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    letter-spacing: 0.2px;
    transition: opacity 0.3s ease;
}

.meditation-counter {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem 0;
    font-weight: 400;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background-color: #000;
}

.youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.meditation-explanation {
    margin-top: 2rem;
    padding: 2rem 1.5rem;
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.explanation-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 0;
    letter-spacing: -0.1px;
    line-height: 1.3;
}

.explanation-title:first-child {
    margin-top: 0;
}

.explanation-title:not(:first-child) {
    margin-top: 2rem;
}

.explanation-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: 0.1px;
    margin-bottom: 1.5rem;
}

.explanation-text:last-child {
    margin-bottom: 0;
}

.why-meditate-section {
    margin-top: 2rem;
    padding: 2rem 1.5rem;
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.why-meditate-section .explanation-title {
    margin-top: 0;
}

.why-meditate-section .explanation-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Blog Section - Mobile First */
.blog-section {
    padding: 1.5rem 0;
}

.page-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.blog-intro {
    font-size: 1rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: 0.1px;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-item {
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.blog-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.blog-toggle {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: background-color 0.3s ease;
}

.blog-toggle:hover {
    background-color: var(--bg-light);
}

.blog-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    flex: 1;
    line-height: 1.4;
    letter-spacing: -0.1px;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.blog-item.active .toggle-icon {
    transform: rotate(45deg);
}

.blog-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.blog-item.active .blog-content {
    max-height: 2000px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.blog-content p {
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    line-height: 1.75;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1px;
}

.blog-content p:last-child {
    margin-bottom: 0;
}

/* Footer - Mobile First */
.footer {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0 1.5rem 0;
    margin-top: 2rem;
}

.social-links {
    text-align: center;
    margin-bottom: 1.5rem;
}

.social-links h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: -0.1px;
    line-height: 1.3;
}

.social-icons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    justify-content: center;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.footer-text {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1px;
}

/* Responsive Design - Mobile First (min-width) */
@media (min-width: 481px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .logo-img {
        height: 45px;
    }

    .slogan {
        font-size: 0.85rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .header-social-icons {
        gap: 0.75rem;
    }

    .header-social-link svg {
        width: 20px;
        height: 20px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-title,
    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .intro-section {
        padding: 2rem;
    }

    .intro-text {
        font-size: 1.05rem;
    }

    .video-description {
        font-size: 1rem;
    }

    .meditation-quote {
        font-size: 1.15rem;
    }

    .nav-arrow {
        width: 44px;
        height: 44px;
    }

    .meditation-navigation {
        gap: 0.75rem;
    }

    .meditation-explanation {
        padding: 2rem;
    }

    .why-meditate-section {
        padding: 2rem;
    }

    .explanation-title {
        font-size: 1.3rem;
    }

    .explanation-text {
        font-size: 1.05rem;
    }

    .blog-title {
        font-size: 1.2rem;
    }

    .blog-toggle {
        padding: 1.5rem 2rem;
    }

    .blog-content {
        padding: 0 2rem;
    }

    .blog-item.active .blog-content {
        padding: 0 2rem 2rem 2rem;
    }

    .social-icons {
        flex-direction: row;
        gap: 1.5rem;
    }
}

@media (min-width: 769px) {
    .navbar {
        padding: 1rem 0;
    }

    .nav-container {
        padding: 0 2rem;
        gap: 1rem;
    }

    .logo-section {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .logo-img {
        height: 50px;
    }

    .slogan {
        font-size: 0.9rem;
    }

    .nav-menu {
        gap: 2rem;
    }

    .nav-menu a {
        font-size: 1rem;
    }

    .header-social-icons {
        gap: 1rem;
    }

    .main-content {
        padding: 3rem 0;
    }

    .container {
        padding: 0 2rem;
    }

    .hero {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }

    .hero-title,
    .page-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .intro-section {
        padding: 2.5rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .video-section {
        margin-top: 0;
    }

    .video-description {
        margin-bottom: 2rem;
    }

    .meditation-line {
        margin: 2rem 0;
        padding: 2rem;
    }

    .meditation-quote {
        font-size: 1.25rem;
    }

    .nav-arrow {
        width: 52px;
        height: 52px;
    }

    .nav-arrow svg {
        width: 28px;
        height: 28px;
    }

    .meditation-navigation {
        gap: 1.5rem;
    }

    .meditation-counter {
        font-size: 1rem;
    }

    .meditation-explanation {
        padding: 2.5rem;
    }

    .why-meditate-section {
        padding: 2.5rem;
    }

    .explanation-title {
        font-size: 1.4rem;
    }

    .explanation-text {
        font-size: 1.1rem;
    }

    .blog-section {
        padding: 2rem 0;
    }

    .blog-intro {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .blog-title {
        font-size: 1.3rem;
    }

    .footer {
        padding: 3rem 0 1.5rem 0;
        margin-top: 4rem;
    }

    .social-links h4 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .social-icons {
        gap: 2rem;
    }
}

