/*
Theme Name: Alchemic Holdings
Theme URI: https://alchemicholdings.com
Author: Alchemic Holdings
Author URI: https://alchemicholdings.com
Description: A luxury dark theme for digital asset investment and custody services. Features gold accents, custom animations, and a refined aesthetic for financial services.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alchemic-holdings
Tags: dark, one-column, custom-menu, featured-images, theme-options, translation-ready, financial, investment
*/

:root {
    --gold-primary: #C9A962;
    --gold-light: #E8D5A3;
    --gold-dark: #8B7355;
    --obsidian: #0A0A0C;
    --charcoal: #141418;
    --slate: #1E1E24;
    --silver: #9A9AA0;
    --pearl: #F5F5F7;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--obsidian);
    color: var(--pearl);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Navigation */
nav.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(10,10,12,0.95), transparent);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

nav.main-navigation.scrolled {
    background: rgba(10,10,12,0.98);
    padding: 1rem 4rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-symbol {
    width: 36px;
    height: 36px;
    border: 1px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: rotate(45deg);
}

.logo-symbol span {
    transform: rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: var(--silver);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.75rem 1.75rem;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--gold-primary);
    color: var(--obsidian);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 4rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201,169,98,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(201,169,98,0.05) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(201,169,98,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,169,98,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.3s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.5s forwards;
}

.hero-title .gold {
    color: var(--gold-primary);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--silver);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 1s ease 0.7s forwards;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 1s ease 0.9s forwards;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--obsidian);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(201,169,98,0.3);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    border: 1px solid var(--slate);
    color: var(--pearl);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeUp 1s ease 1.2s forwards;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--silver);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold-primary), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Section Styling */
section {
    padding: 8rem 4rem;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--silver);
    font-size: 1.05rem;
    font-weight: 300;
}

/* About Section */
.about {
    background: var(--charcoal);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-visual {
    position: relative;
    height: 500px;
}

.about-image {
    position: absolute;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, var(--slate), var(--charcoal));
    border: 1px solid rgba(201,169,98,0.2);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: -2rem;
    bottom: -2rem;
    border: 1px solid var(--gold-primary);
    z-index: -1;
}

.about-image-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--gold-primary);
    opacity: 0.3;
}

.about-content h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--silver);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(201,169,98,0.2);
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--silver);
}

/* Services Section */
.services {
    background: var(--obsidian);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--charcoal);
    border: 1px solid rgba(201,169,98,0.1);
    padding: 3rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: translateX(0);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201,169,98,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.service-icon {
    width: 60px;
    height: 60px;
    border: 1px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--gold-primary);
}

.service-card h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--silver);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--gold-primary);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

/* Process Section */
.process {
    background: linear-gradient(180deg, var(--charcoal), var(--obsidian));
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold-primary), transparent);
}

.process-step {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
}

.process-step:nth-child(even) .step-content {
    grid-column: 3;
    text-align: left;
}

.process-step:nth-child(odd) .step-content {
    grid-column: 1;
    text-align: right;
}

.step-number {
    grid-column: 2;
    width: 60px;
    height: 60px;
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold-primary);
    background: var(--obsidian);
    z-index: 2;
}

.step-content h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--silver);
    font-size: 0.95rem;
}

/* Benefits Section */
.benefits {
    background: var(--obsidian);
}

.benefits-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--charcoal);
    border: 1px solid rgba(201,169,98,0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: rgba(201,169,98,0.3);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border: 1px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gold-primary);
}

.benefit-content h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--silver);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--charcoal), var(--slate));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(201,169,98,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(201,169,98,0.08) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: var(--silver);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* Contact Section */
.contact {
    background: var(--obsidian);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--silver);
    margin-bottom: 2rem;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--silver);
}

.contact-details li span {
    color: var(--gold-primary);
    width: 24px;
}

.contact-form {
    background: var(--charcoal);
    padding: 3rem;
    border: 1px solid rgba(201,169,98,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--obsidian);
    border: 1px solid rgba(201,169,98,0.2);
    color: var(--pearl);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.submit-btn {
    width: 100%;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--obsidian);
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(201,169,98,0.3);
}

/* Footer */
footer.site-footer {
    background: var(--charcoal);
    padding: 4rem 4rem 2rem;
    border-top: 1px solid rgba(201,169,98,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(201,169,98,0.1);
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--silver);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h5 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--pearl);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--silver);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
}

.footer-bottom p {
    color: var(--silver);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--silver);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--gold-primary);
}

/* WordPress Specific Overrides */
.wp-block-button__link {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--obsidian);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

.entry-content {
    color: var(--silver);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: var(--font-display);
    color: var(--pearl);
    font-weight: 400;
}

.entry-content a {
    color: var(--gold-primary);
}

/* Animations on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 1024px) {
    nav.main-navigation {
        padding: 1.5rem 2rem;
    }

    section {
        padding: 5rem 2rem;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        height: 350px;
    }

    .benefits-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .process-timeline::before {
        left: 30px;
    }

    .process-step {
        grid-template-columns: 60px 1fr;
    }

    .process-step .step-content {
        grid-column: 2 !important;
        text-align: left !important;
    }

    .step-number {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links, .nav-cta {
        display: none;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
