/* ProtoThoth LLC */
/* Version 1.0 */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --text-primary: #f0f0f5;
    --text-secondary: #8a8a9a;
    --accent-gold: #C5A059;
    --accent-gold-bright: #d4af37;
    --accent-gold-dim: rgba(197, 160, 89, 0.15);
    --accent-gold-glow: rgba(197, 160, 89, 0.5);
    --accent-blue: #4a90d9;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --gradient-gold: linear-gradient(135deg, #C5A059 0%, #e8d5a3 50%, #C5A059 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========================================
   BACKGROUND LAYERS
   ======================================== */

.bg-space {
    position: fixed;
    top: -2%;
    left: -2%;
    width: 104%;
    height: 104%;
    background-color: var(--bg-primary);
    background-image:
        linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.88) 50%, rgba(10, 10, 15, 0.97) 100%),
        url('bg.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
    animation: subtle-zoom 20s ease-in-out infinite;
}

@keyframes subtle-zoom {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.12) 0%, transparent 70%);
}

.bg-glow-2 {
    bottom: -300px;
    left: -200px;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.08) 0%, transparent 70%);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
}

/* ========================================
   LOGO
   ======================================== */

.logo-container {
    margin-bottom: 2rem;
}

.logo-icon {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1.5rem;
    position: relative;
    filter: drop-shadow(0 0 30px var(--accent-gold-glow));
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.logo-ring {
    position: absolute;
    top: -0.75rem;
    left: -0.75rem;
    width: 7.5rem;
    height: 7.5rem;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

/* ========================================
   BRAND NAME & SUFFIX
   ======================================== */

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    filter: drop-shadow(0 0 20px var(--accent-gold-glow));
}

.brand-suffix {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 0.1rem;
}

/* ========================================
   TAGLINE
   ======================================== */

.tagline {
    margin: 1rem 0 1.5rem;
    line-height: 1.8;
}

.tagline-ancient {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.tagline-modern {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
}

/* ========================================
   DIVIDER
   ======================================== */

.divider {
    width: 60px;
    height: 1px;
    background: var(--gradient-gold);
    margin: 2rem auto;
    opacity: 0.6;
}

/* ========================================
   SERVICES
   ======================================== */

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.service-tag {
    padding: 0.6rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.service-tag:hover {
    border-color: var(--accent-gold);
    color: var(--text-primary);
    box-shadow: 0 0 20px var(--accent-gold-dim);
}

/* ========================================
   STATUS BADGE
   ======================================== */

.status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    margin: 2rem 0;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 8px rgba(197, 160, 89, 0);
    }
}

.status-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.status-text strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* ========================================
   CONTACT CTA
   ======================================== */

.contact {
    margin-top: 3rem;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    min-height: 52px;
    background: transparent;
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    color: var(--accent-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    box-shadow: 0 0 30px var(--accent-gold-dim);
    transform: translateY(-2px);
}

/* ========================================
   FOOTER
   ======================================== */

.footer,
.site-footer {
    position: relative;
    z-index: 10;
    margin-top: 4rem;
    padding: 2rem 1rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.footer-disclaimer {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    font-size: 0.65rem;
    line-height: 1.6;
    color: var(--text-secondary);
    opacity: 0.7;
}

.footer-establishment {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.footer-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

.footer-location {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

.footer-social {
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    opacity: 0.6;
    transition: all 0.3s ease;
    padding: 0.5rem;
    min-height: 44px;
}

.footer-social a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.footer-legal {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-legal a {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-decoration: none;
    opacity: 0.5;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.footer-legal span {
    color: var(--text-secondary);
    opacity: 0.3;
}

/* ========================================
   PAGE CONTENT (for secondary pages)
   ======================================== */

.page-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeUp 0.6s ease-out;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    transition: opacity 0.3s ease;
}

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

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.page-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.last-updated {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: var(--accent-gold);
}

/* ========================================
   SITE HEADER (for secondary pages)
   ======================================== */

.site-header {
    position: relative;
    z-index: 10;
    padding: 1.5rem 2rem;
}

.site-header .logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: opacity 0.3s ease;
}

.site-header .logo-link:hover {
    opacity: 0.8;
}

.site-header .logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.site-header .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   FORMS
   ======================================== */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 0.875rem 1rem;
    min-height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-dim);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a9a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-submit {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    min-height: 52px;
    background: transparent;
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    color: var(--accent-gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    box-shadow: 0 0 30px var(--accent-gold-dim);
    transform: translateY(-2px);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .brand-name {
        font-size: 2.5rem;
    }

    .tagline-ancient,
    .tagline-modern {
        font-size: 1rem;
    }

    .services {
        gap: 0.75rem;
    }

    .service-tag {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .page-container {
        padding: 1.5rem;
    }

    .site-footer,
    .footer {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2rem;
    }

    .logo-icon {
        width: 4rem;
        height: 4rem;
    }

    .logo-ring {
        width: 5.5rem;
        height: 5.5rem;
        top: -0.75rem;
        left: -0.75rem;
    }

    .page-title {
        font-size: 1.25rem;
    }

    .footer-disclaimer {
        font-size: 0.6rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   THANK YOU PAGE
   ======================================== */

.thank-you {
    text-align: center;
    padding: 4rem 2rem;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--accent-gold-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-icon svg {
    color: var(--accent-gold);
}

.thank-you h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.thank-you p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2rem;
}

.thank-you .btn-primary {
    margin-top: 1rem;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-page .page-container {
    max-width: 500px;
    text-align: center;
}

.contact-alt {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.contact-alt p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 48px;
}

.contact-email:hover {
    border-color: var(--accent-gold);
    background: var(--accent-gold-dim);
}