/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: A child theme for Astra Theme for Prashant's Lab
Author: Your Name
Author URI: http://prashantslab.com
Template: astra
Version: 1.0.0
*/

/* Import parent theme styles */
@import url('../astra/style.css');

/* Full-screen sections */
.hero-section,
.section-journal,
.section-pattern,
.collaboration-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.hero-section.active,
.section-journal.active,
.section-pattern.active,
.collaboration-section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Pattern Visualization Overlay */
.pattern-visualization-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.pattern-visualization-hero .pattern-visualization {
    width: 100%;
    height: 100%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.pattern-visualization-hero .pattern-visualization:hover {
    opacity: 0.9;
}

/* Ensure hero content remains above the pattern visualization */
.hero-content {
    position: relative;
    z-index: 3;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    transform: translateY(-10%); /* Move content up slightly */
}

/* Section content centering */
.section-journal,
.section-pattern,
.collaboration-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

/* Adjust section containers */
.section-journal .container,
.section-pattern .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Collaboration section specific styling */
.collaboration-section {
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
}

.collaboration-section .collaboration-title,
.collaboration-section .collaboration-description {
    max-width: 800px;
    margin: 0 auto;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    animation: scrollIndicator 2s infinite;
}

@keyframes scrollIndicator {
    0% {
        transform: rotate(45deg) translate(-5px, -5px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translate(5px, 5px);
        opacity: 0;
    }
}

/* Remove header division line and make it transparent */
.main-header-bar {
    background-color: transparent !important;
    border-bottom: none !important;
}

/* Style the site title with lantern-like glow effect */
.site-title a {
    color: #e6b54c !important;
    text-shadow: 0 0 10px rgba(230, 181, 76, 0.5),
                 0 0 20px rgba(230, 181, 76, 0.3),
                 0 0 30px rgba(230, 181, 76, 0.2);
    animation: lanternFlicker 3s infinite;
}

/* Style the hero button with the same glow effect */
.hero-button {
    color: #e6b54c !important;
    text-shadow: 0 0 10px rgba(230, 181, 76, 0.5),
                 0 0 20px rgba(230, 181, 76, 0.3),
                 0 0 30px rgba(230, 181, 76, 0.2);
    animation: lanternFlicker 3s infinite;
    background: transparent !important;
    border: 2px solid #e6b54c !important;
    padding: 12px 30px !important;
    border-radius: 30px !important;
    transition: all 0.3s ease !important;
}

.hero-button:hover {
    background: rgba(230, 181, 76, 0.1) !important;
    transform: translateY(-2px);
}

/* Style the footer quote with the same glow effect */
.footer-quote {
    color: #e6b54c !important;
    text-shadow: 0 0 10px rgba(230, 181, 76, 0.5),
                 0 0 20px rgba(230, 181, 76, 0.3),
                 0 0 30px rgba(230, 181, 76, 0.2);
    animation: lanternFlicker 3s infinite;
    text-align: center;
    font-size: 1.5em;
    margin: 2em 0;
    font-style: italic;
}

/* Center all footer content */
.site-footer {
    text-align: center;
}

.site-footer .ast-row {
    justify-content: center;
}

.site-footer .ast-col-md-12 {
    text-align: center;
}

@keyframes lanternFlicker {
    0% {
        opacity: 0.8;
        text-shadow: 0 0 10px rgba(230, 181, 76, 0.5),
                     0 0 20px rgba(230, 181, 76, 0.3),
                     0 0 30px rgba(230, 181, 76, 0.2);
    }
    25% {
        opacity: 1;
        text-shadow: 0 0 15px rgba(230, 181, 76, 0.6),
                     0 0 25px rgba(230, 181, 76, 0.4),
                     0 0 35px rgba(230, 181, 76, 0.3);
    }
    50% {
        opacity: 0.9;
        text-shadow: 0 0 12px rgba(230, 181, 76, 0.55),
                     0 0 22px rgba(230, 181, 76, 0.35),
                     0 0 32px rgba(230, 181, 76, 0.25);
    }
    75% {
        opacity: 1;
        text-shadow: 0 0 18px rgba(230, 181, 76, 0.7),
                     0 0 28px rgba(230, 181, 76, 0.5),
                     0 0 38px rgba(230, 181, 76, 0.4);
    }
    100% {
        opacity: 0.8;
        text-shadow: 0 0 10px rgba(230, 181, 76, 0.5),
                     0 0 20px rgba(230, 181, 76, 0.3),
                     0 0 30px rgba(230, 181, 76, 0.2);
    }
}

/* Center the main navigation menu */
.main-navigation {
    display: none; /* Hide the main navigation by default */
}

.main-navigation ul {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: auto;
}

.main-navigation .menu-item {
    margin: 0 1.5em;
}

/* Ensure navigation menu items are visible against the hero background */
.main-navigation .menu-item > a {
    color: #ffffff !important;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    padding: 0.5em 0;
    transition: all 0.3s ease;
}

.main-navigation .menu-item > a:hover {
    color: #e6b54c !important;
    text-shadow: 0 0 10px rgba(230, 181, 76, 0.5);
}

/* Fixed hamburger menu that's always visible */
.fixed-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: block;
    transform: translateY(0);
}

.fixed-menu .menu-toggle {
    display: block;
    width: 40px;
    height: 40px;
    margin: 10px auto;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.fixed-menu .menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    position: absolute;
    left: 5px;
    transition: all 0.3s ease;
}

.fixed-menu .menu-toggle span:nth-child(1) {
    top: 8px;
}

.fixed-menu .menu-toggle span:nth-child(2) {
    top: 19px;
}

.fixed-menu .menu-toggle span:nth-child(3) {
    top: 30px;
}

.fixed-menu .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 19px;
}

.fixed-menu .menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.fixed-menu .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 19px;
}

.fixed-menu .mobile-menu {
    display: none;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.fixed-menu .mobile-menu.active {
    display: block;
}

.fixed-menu .mobile-menu .menu-item {
    margin: 15px 0;
}

.fixed-menu .mobile-menu .menu-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
    transition: all 0.3s ease;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 5px;
}

.fixed-menu .mobile-menu .menu-item a:hover {
    color: #e6b54c;
    background: rgba(230, 181, 76, 0.1);
    transform: translateY(-2px);
}

/* Pattern section specific styling */
.section-pattern {
    position: relative;
}

.section-pattern .section-header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 2em 0;
    z-index: 10;
    margin-bottom: 2em;
}

.section-pattern .pattern-process {
    position: relative;
    padding-top: 2em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2em;
}

.section-pattern .pattern-step {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 2em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.section-pattern .pattern-step:hover {
    transform: translateY(-5px);
    border-color: #e6b54c;
    box-shadow: 0 0 20px rgba(230, 181, 76, 0.2);
}

.section-pattern .pattern-step.active {
    border-color: #e6b54c;
    box-shadow: 0 0 30px rgba(230, 181, 76, 0.3);
}

.section-pattern .pattern-step-number {
    font-size: 2em;
    color: #e6b54c;
    margin-bottom: 0.5em;
    text-shadow: 0 0 10px rgba(230, 181, 76, 0.5);
}

.section-pattern .pattern-step-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 1em;
}

.section-pattern .pattern-step p {
    color: #ffffff;
    font-size: 1.1em;
    line-height: 1.6;
}

.section-pattern .section-footer {
    position: sticky;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 2em 0;
    z-index: 10;
    margin-top: 2em;
}

/* Remove media query for mobile responsiveness since we're using hamburger menu by default */
@media (max-width: 768px) {
    .section-pattern .pattern-process {
        grid-template-columns: 1fr;
        padding: 0 1em;
    }
} 