/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #282a03;
    color: #f0f0e0;
    line-height: 1.6;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Header Styles ===== */
.yogxeducate-header {
    background-color: #f8f8f2;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yogxeducate-logo {
    display: flex;
    align-items: center;
    background-color: #f8f8f2;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.yogxeducate-logo img {
    height: 20px;
    margin-right: 05px;
}

.yogxeducate-logo h1 {
    font-size: 1rem;
    color: #282a03;
    font-weight: 700;
}

.yogxeducate-nav {
    display: flex;
    gap: 20px;
}

.yogxeducate-nav a {
    font-weight: 600;
    color: #444;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.yogxeducate-nav a:hover {
    color: #ffbd00;
    background-color: rgba(40, 42, 3, 0.1);
}

/* ===== Scroll Buttons ===== */
.yogxeducate-scroll-btn {
    position: fixed;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #ffbd00;
    color: #282a03;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 189, 0, 0.4);
    transition: all 0.3s;
    font-size: 1.5rem;
    font-weight: bold;
    border: none;
}

.yogxeducate-scroll-btn:hover {
    background-color: #e6ab00;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 189, 0, 0.6);
}

.yogxeducate-scroll-up {
    bottom: 90px;
    opacity: 0.7;
}

.yogxeducate-scroll-down {
    bottom: 30px;
}

/* ===== Main Content ===== */
.yogxeducate-main {
    margin-top: 80px;
    padding: 2.5rem 5% 0.5rem 5%;
}

.yogxeducate-intro {
    text-align: center;
    margin-bottom: 1rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #3a3d04 0%, #282a03 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid #4a4d05;
    position: relative;
    overflow: hidden;
}

.yogxeducate-intro::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,189,0,0.1) 0%, transparent 70%);
    z-index: 0;
}

.yogxeducate-intro h2 {
    color: #ffbd00;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.yogxeducate-intro p {
    color: #e0e0c0;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== Health Section ===== */
.yogxeducate-health-section {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #3a3d04 0%, #1e1f02 100%);
    text-align: center;
    border-radius: 15px;
    margin: 1rem 0 0 0;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5),
                0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid #4a4d05;
    position: relative;
    overflow: hidden;
}

.yogxeducate-health-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ffbd00, #ff6b00, #ffbd00);
    box-shadow: 0 2px 10px rgba(255, 189, 0, 0.6);
}

.yogxeducate-health-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.yogxeducate-health-header h2 {
    color: #ffbd00;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.yogxeducate-health-header p {
    color: #d0d0a0;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.yogxeducate-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    justify-items: center;
    align-items: center;
}

.yogxeducate-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 3/4;
    transition: all 0.4s ease;
    height: 400px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid #4a4d05;
}

.yogxeducate-gallery-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 12px 30px rgba(255, 189, 0, 0.3);
}

.yogxeducate-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yogxeducate-gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(40, 42, 3, 0.8), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.yogxeducate-gallery-item:hover::after {
    opacity: 1;
}

.yogxeducate-share-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(255, 189, 0, 0.9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease;
}

.yogxeducate-gallery-item:hover .yogxeducate-share-icon {
    opacity: 1;
    transform: translateY(-5px);
}

.yogxeducate-share-icon svg {
    width: 18px;
    height: 18px;
    fill: #282a03;
}

/* ===== Footer Styles ===== */
.yogxeducate-footer {
    background: linear-gradient(to bottom, #1e1f02 0%, #131400 100%);
    color: #d0d0a0;
    text-align: center;
    padding: 3rem 5%;
    margin-top: 3rem;
    border-top: 1px solid #4a4d05;
}

.yogxeducate-footer p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.yogxeducate-social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 1.5rem;
}

.yogxeducate-social-links a {
    color: #ffbd00;
    font-size: 1.5rem;
    transition: all 0.3s;
    display: inline-block;
}

.yogxeducate-social-links a:hover {
    color: white;
    transform: translateY(-5px) scale(1.2);
    text-shadow: 0 0 15px rgba(255, 189, 0, 0.7);
}

/* ===== Responsive adjustments ===== */
@media (max-width: 768px) {
    .yogxeducate-header {
        flex-direction: column;
        padding: 0.5rem;
        position: relative; /* Needed for dropdown positioning */
    }
    
    .yogxeducate-logo {
        margin-bottom: 0.2rem;
    }
    
    .yogxeducate-nav {
        display: none; /* Hide regular nav by default */
        flex-direction: column;
        gap: 0;
        width: 100%;
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 0.5rem 0;
        margin-top: 0.5rem;
    }
    
    /* Show nav when active (via JavaScript toggle) */
    .yogxeducate-nav.active {
        display: flex;
    }
    
    /* Hamburger menu button */
    .yogxeducate-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        align-self: flex-end;
        margin-top: -40px; /* Adjust based on your layout */
    }
    
    .yogxeducate-menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background: #333;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    /* Animate hamburger to X when active */
    .yogxeducate-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .yogxeducate-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .yogxeducate-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Style nav items for dropdown */
    .yogxeducate-nav a {
        padding: 0.8rem 1rem;
        color: #333;
        text-decoration: none;
        transition: background 0.2s;
    }
    
    .yogxeducate-nav a:hover {
        background: #f5f5f5;
    }
    
    .yogxeducate-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .yogxeducate-gallery-item {
        height: 350px;
    }
    
    .yogxeducate-scroll-btn {
        width: 45px;
        height: 45px;
        right: 20px;
        font-size: 1.3rem;
    }
    
    .yogxeducate-intro h2,
    .yogxeducate-health-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .yogxeducate-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .yogxeducate-gallery {
        grid-template-columns: 1fr;
    }
    
    .yogxeducate-gallery-item {
        height: 400px;
    }
    
    .yogxeducate-health-header h2,
    .yogxeducate-intro h2 {
        font-size: 1.8rem;
    }
    
    .yogxeducate-intro {
        padding: 2rem 1rem;
    }
}



/* ===== Desktop Version (Existing) ===== */

/* ===== Mobile Responsive Version ===== */
@media (max-width: 768px) {
    .yogxeducate-social-links {
        gap: 15px; /* Reduced gap for mobile */
        margin-bottom: 1rem;
        flex-wrap: wrap; /* Allow wrapping if needed */
        padding: 0 20px; /* Prevent touching screen edges */
    }

    .yogxeducate-social-links a {
        font-size: 0.25rem; /* Slightly smaller icons */
        min-width: 40px; /* Minimum touch target size */
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* More subtle hover effects for mobile */
    .yogxeducate-social-links a:hover {
        transform: translateY(-3px) scale(1.1);
        text-shadow: 0 0 10px rgba(255, 189, 0, 0.5);
    }

    /* Active state for touch devices */
    .yogxeducate-social-links a:active {
        transform: scale(0.95);
    }
}

/* For very small devices (optional) */
@media (max-width: 480px) {
    .yogxeducate-social-links {
        gap: 12px;
    }
    
    .yogxeducate-social-links a {
        font-size: 0.15rem;
        min-width: 36px;
        height: 36px;
    }
}