/**
 * Cult of Osiris Custom Styles
 * Mystical Egyptian-inspired design
 */

/* ===========================
   Header Styles
   =========================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-wrapper {
    background-color: transparent;
    transition: all 0.3s ease;
}

.site-header.scrolled .header-wrapper {
    background-color: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-logo-link:hover {
    transform: translateY(-2px);
}

.custom-logo-link .fa-eye {
    font-size: 2rem;
    color: #fbbf24;
    position: relative;
}

.custom-logo-link .fa-eye::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(251, 191, 36, 0.2);
    filter: blur(20px);
    z-index: -1;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fef3c7;
    letter-spacing: 0.05em;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    display: block;
    padding: 0.5rem 1rem;
    color: rgba(254, 243, 199, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #fbbf24;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #fbbf24;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 75%;
}

.header-cta-btn {
    margin-left: 1rem;
    padding: 0.5rem 1.5rem;
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header-cta-btn:hover {
    background-color: rgba(245, 158, 11, 0.2);
    border-color: #fbbf24;
    color: #fcd34d;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fef3c7;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-navigation {
    display: none;
    background-color: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(24px);
    border-top: 1px solid rgba(251, 191, 36, 0.2);
    padding: 1rem 0;
}

.mobile-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-navigation li {
    margin: 0;
}

.mobile-navigation a {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(254, 243, 199, 0.8);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-navigation a:hover {
    color: #fbbf24;
    background-color: rgba(245, 158, 11, 0.1);
}

.mobile-cta-btn {
    display: block;
    margin: 1rem 1rem 0;
    padding: 0.75rem;
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
    text-align: center;
    border-radius: 0.5rem;
    text-decoration: none;
}

/* ===========================
   Hero Section
   =========================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 42, 58, 0.3) 0%, rgba(88, 28, 135, 0.3) 100%);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: 25%;
    right: 25%;
    width: 400px;
    height: 400px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 4s ease-in-out infinite 1s;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.8) 50%, #020617 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 8rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 9999px;
    backdrop-filter: blur(4px);
    margin-bottom: 1.5rem;
}

.hero-badge i {
    color: #fbbf24;
}

.hero-badge span {
    font-size: 0.875rem;
    color: #fbbf24;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(90deg, #fde68a 0%, #fbbf24 50%, #fde68a 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    color: rgba(254, 243, 199, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(254, 243, 199, 0.7);
    max-width: 48rem;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(251, 191, 36, 0.5);
    border-radius: 20px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    width: 6px;
    height: 12px;
    background: #fbbf24;
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-dot 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll-dot {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* ===========================
   Buttons
   =========================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #f59e0b;
    color: #020617;
    box-shadow: 0 10px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background-color: #d97706;
    box-shadow: 0 15px 20px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid rgba(251, 191, 36, 0.5);
    color: #fbbf24;
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: #fbbf24;
}

/* ===========================
   Osirian Cycle Section
   =========================== */

.osirian-cycle-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(to bottom, #020617 0%, #0f172a 100%);
    overflow: hidden;
}

.osirian-cycle-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

.osirian-cycle-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: rgba(20, 184, 166, 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

.section-tag {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
}

.osirian-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.osirian-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.2);
}

.osirian-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, #020617 100%);
    z-index: 1;
}

.osirian-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.osirian-image:hover img {
    transform: scale(1.05);
}

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

.osirian-title {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
    color: #fef3c7;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.osirian-description {
    font-size: 1.125rem;
    color: rgba(254, 243, 199, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.decorative-line {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.decorative-line::before,
.decorative-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(251, 191, 36, 0.5) 50%, transparent 100%);
}

.decorative-line::before {
    background: linear-gradient(90deg, transparent 0%, rgba(251, 191, 36, 0.5) 100%);
}

.decorative-line::after {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.5) 0%, transparent 100%);
}

/* ===========================
   Understanding Section
   =========================== */

.understanding-section {
    position: relative;
    padding: 6rem 0;
    background: #0f172a;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #fef3c7;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(254, 243, 199, 0.7);
}

.understanding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.understanding-card {
    position: relative;
    border-radius: 1rem;
    border: 1px solid rgba(251, 191, 36, 0.2);
    background: rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(4px);
    overflow: hidden;
    transition: all 0.5s ease;
}

.understanding-card:hover {
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-8px);
}

.understanding-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.understanding-card:hover::before {
    opacity: 1;
}

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

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

.understanding-card:hover .card-image img {
    transform: scale(1.1);
}

.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #020617 0%, rgba(2, 6, 23, 0.5) 50%, transparent 100%);
}

.card-icon {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(245, 158, 11, 0.2);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.understanding-card:hover .card-icon {
    background-color: rgba(245, 158, 11, 0.3);
}

.card-icon i {
    font-size: 1.5rem;
    color: #fbbf24;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fef3c7;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.understanding-card:hover .card-title {
    color: #fbbf24;
}

.card-description {
    color: rgba(254, 243, 199, 0.7);
    line-height: 1.7;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-link {
    color: #fbbf24;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #fcd34d;
}

.card-link span {
    transition: transform 0.3s ease;
}

.card-link:hover span {
    transform: translateX(4px);
}

/* ===========================
   Mission Section
   =========================== */

.mission-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(to bottom, #0f172a 0%, #020617 100%);
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: rgba(245, 158, 11, 0.05);
    border-radius: 50%;
    filter: blur(100px);
}

.mission-section .section-header {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin: 0 auto 4rem;
}

.mission-section .section-subtitle {
    font-size: 1.25rem;
}

.pillars-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pillar-card {
    position: relative;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(251, 191, 36, 0.2);
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    overflow: hidden;
    transition: all 0.5s ease;
}

.pillar-card:hover {
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-4px);
}

.pillar-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, rgba(251, 191, 36, 0.5) 50%, transparent 100%);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.pillar-card:hover::after {
    transform: scaleX(1);
}

.pillar-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(245, 158, 11, 0.2);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.pillar-card:hover .pillar-number {
    color: rgba(245, 158, 11, 0.3);
}

.pillar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fef3c7;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.pillar-card:hover .pillar-title {
    color: #fbbf24;
}

.pillar-description {
    color: rgba(254, 243, 199, 0.7);
    line-height: 1.7;
}

.decorative-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.decorative-dots::before,
.decorative-dots::after {
    content: '';
    width: 96px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(251, 191, 36, 0.5) 100%);
}

.decorative-dots::after {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.5) 0%, transparent 100%);
}

.dot {
    width: 8px;
    height: 8px;
    background: #f59e0b;
    border-radius: 50%;
    animation: dot-pulse 2s ease-in-out infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===========================
   Footer Styles
   =========================== */

.site-footer {
    position: relative;
    background: #020617;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo .fa-eye {
    font-size: 2rem;
    color: #fbbf24;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fef3c7;
}

.footer-description {
    color: rgba(254, 243, 199, 0.6);
    line-height: 1.7;
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fef3c7;
    margin-bottom: 1rem;
}

#footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer-menu li {
    margin-bottom: 0.75rem;
}

#footer-menu a {
    color: rgba(254, 243, 199, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

#footer-menu a:hover {
    color: #fbbf24;
    transform: translateX(4px);
}

.footer-newsletter-text {
    color: rgba(254, 243, 199, 0.6);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 0.5rem;
    color: #fbbf24;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(251, 191, 36, 0.4);
    color: #fcd34d;
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(254, 243, 199, 0.6);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(254, 243, 199, 0.6);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fbbf24;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 1024px) {
    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .osirian-grid {
        grid-template-columns: 1fr;
    }

    .understanding-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .pillars-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 6rem 0 4rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .understanding-grid,
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .osirian-image img {
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
