/* Yoga Iyengar Page Specific Styles */

/* Header Navigation for Yoga Page */
.header-navigation-yoga {
    width: 100%;
    height: 62px;
    padding: 20px 20px 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(245, 241, 232, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.nav-logo {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: black;
    text-transform: uppercase;
    text-decoration: none;
    white-space: pre;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: black;
    text-transform: uppercase;
    text-decoration: none;
    white-space: pre;
    padding: 3px 5px;
    letter-spacing: 0;
    transition: opacity 0.2s;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link.active {
    font-weight: 500;
}

/* Main Content */
.yoga-main {
    width: 100%;
    padding: 0 20px 20px 20px;
    margin-top: 102px;
}

.yoga-content {
    width: 100%;
    position: relative;
}

/* Image Container */
.yoga-image-container {
    position: relative;
    width: 631px;
    height: 640px;
    overflow: hidden;
}

.yoga-image {
    width: 100%;
    height: 128.59%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: -0.06%;
}

/* Text Container */
.yoga-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 30px;
    width: 559px;
    height: 872px;
}

.yoga-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.15;
    color: black;
    letter-spacing: -0.24px;
    width: 560px;
    height: 842px;
    padding-right: 100px;
}

.yoga-text h1 {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 12px;
    margin: 0 0 0 0;
    line-height: 1.15;
}

.yoga-text h2 {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 12px;
    margin: 0 0 0 0;
    line-height: 1.15;
}

.yoga-text p {
    margin: 0 0 0 0;
    line-height: 1.15;
    white-space: pre-wrap;
}

.yoga-text .subtitle {
    font-weight: 400;
}

/* Hide mobile text on desktop/tablet */
.yoga-mobile-text {
    display: none;
}

/* Hide/show content based on screen size */
.mobile-hide {
    display: block;
}

.desktop-hide {
    display: none;
}

/* Desktop Layout (1280px and above) */
@media (min-width: 1280px) {
    .yoga-main {
        max-width: 1280px;
        margin: 102px auto 0;
    }
    
    .yoga-content {
        display: flex;
        gap: 50px;
        align-items: flex-start;
    }
    
    .yoga-image-container {
        width: 631px;
        height: 640px;
        flex-shrink: 0;
    }
    
    .yoga-text-container {
        width: 559px;
        height: 872px;
        flex-shrink: 0;
    }
    
    .header-navigation-yoga {
        max-width: 1280px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Tablet Layout (768px to 1279px) */
@media (min-width: 768px) and (max-width: 1279px) {
    .yoga-mobile-text {
        display: none;
    }
    .yoga-main {
        max-width: 800px;
        margin: 102px auto 0;
    }
    
    .yoga-content {
        display: flex;
        gap: 30px;
        align-items: flex-start;
    }
    
    .yoga-image-container {
        width: 379px;
        height: 946px;
        flex-shrink: 0;
    }
    
    .yoga-text-container {
        width: 331px;
        height: 936px;
        flex-shrink: 0;
        padding-right: 0;
    }
    
    .yoga-text {
        width: 331px;
        padding-right: 0;
    }
    
    .header-navigation-yoga {
        max-width: 800px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Mobile Layout (up to 767px) */
@media (max-width: 767px) {
    .yoga-main {
        max-width: 375px;
        margin: 202px auto 0;
        padding: 0 20px 20px 20px;
    }
    
    .yoga-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .yoga-image-container {
        width: 148px;
        height: 533px;
        margin-top: -37px;
    }
    
    .yoga-text-container {
        width: 100%;
        height: auto;
        padding-top: 0;
        align-items: flex-start;
    }
    
    .yoga-text {
        width: 230px;
        height: auto;
        padding-right: 0;
        padding-top: 30px;
    }
    
    .header-navigation-yoga {
        max-width: 100%;
        margin: 0;
        flex-direction: column;
        height: auto;
        min-height: 162px;
        align-items: flex-start;
        gap: 8px;
        padding: 20px;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
        width: 100%;
    }
    
    .nav-link {
        text-align: right;
    }
    
    /* Hide desktop content on mobile */
    .mobile-hide {
        display: none !important;
    }
    
    .desktop-hide {
        display: block;
    }
    
    /* Mobile-only additional text section */
    .yoga-mobile-text {
        display: block;
        font-family: 'IBM Plex Mono', monospace;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.15;
        color: black;
        letter-spacing: -0.24px;
        width: 335px;
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .yoga-mobile-text h2 {
        font-family: 'IBM Plex Mono', monospace;
        font-weight: 700;
        font-size: 12px;
        margin: 0 0 0 0;
        line-height: 1.15;
    }
    
    .yoga-mobile-text p {
        margin: 0 0 0 0;
        line-height: 1.15;
        white-space: pre-wrap;
    }
}

/* Small Mobile (very small screens) */
@media (max-width: 374px) {
    .yoga-main {
        max-width: 100%;
        padding: 0 10px 20px 10px;
    }
    
    .yoga-image-container {
        width: 100%;
        max-width: 148px;
        height: auto;
        aspect-ratio: 148 / 533;
    }
    
    .yoga-text {
        width: 100%;
        font-size: 11px;
    }
    
    .header-navigation-yoga {
        max-width: 100%;
        padding: 20px 10px 30px 10px;
    }
}
