/* ============================================
   AURUM HIVE - Premium Cybersecurity Consultancy
   Shared Styles
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Primary Colors */
    --charcoal: #1a1a1f;
    --charcoal-light: #252529;
    --charcoal-lighter: #2d2d33;
    --deep-navy: #0d1117;
    --navy-accent: #161b22;
    
    /* Gold Palette */
    --gold-primary: #c9a961;
    --gold-light: #d4bc7a;
    --gold-dark: #a88c4a;
    --gold-muted: rgba(201, 169, 97, 0.15);
    --gold-glow: rgba(201, 169, 97, 0.3);
    
    /* Neutrals */
    --white: #ffffff;
    --off-white: #f5f5f3;
    --cream: #e8e6e1;
    --silver: #9ca3af;
    --muted: #6b7280;
    
    /* System Fonts */
    --font-serif: Georgia, 'Times New Roman', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
    --transition-elegant: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--deep-navy);
    color: var(--off-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1rem;
    color: var(--silver);
}

a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-narrow {
    max-width: 800px;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold-primary);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 var(--gold-glow);
    }
    50% {
        box-shadow: 0 0 30px 10px var(--gold-glow);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-elegant), transform var(--transition-elegant);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gold Line Divider */
.gold-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: var(--space-md) auto;
}

.gold-line-left {
    margin-left: 0;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: var(--deep-navy);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
    color: var(--deep-navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}

.btn-outline:hover {
    background: var(--gold-muted);
    color: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-ghost {
    background: transparent;
    color: var(--off-white);
    padding: 0.75rem 0;
    letter-spacing: 0.1em;
}

.btn-ghost::after {
    content: '→';
    margin-left: 0.75rem;
    transition: transform var(--transition-fast);
}

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

.btn-ghost:hover::after {
    transform: translateX(5px);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: all var(--transition-medium);
}

.header.scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-placeholder {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--deep-navy);
    font-weight: 600;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--off-white);
    letter-spacing: 0.05em;
}

.logo-text span {
    color: var(--gold-primary);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-md);
}

.nav-link {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--silver);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width var(--transition-medium);
}

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

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

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gold-primary);
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-2xl) 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(201, 169, 97, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease forwards;
}

.hero-tagline {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: var(--space-md);
}

.hero-title {
    margin-bottom: var(--space-md);
    color: var(--off-white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--silver);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   LANDING PAGE SPECIFIC
   ============================================ */
.landing-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
    position: relative;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-muted) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse-gold 8s ease-in-out infinite;
}

.landing-logo {
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.landing-logo-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--deep-navy);
    margin: 0 auto var(--space-md);
}

.landing-brand {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    letter-spacing: 0.2em;
    color: var(--off-white);
}

.landing-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-style: italic;
    color: var(--gold-primary);
    margin-bottom: var(--space-lg);
    max-width: 700px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.landing-philosophy {
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    position: relative;
    z-index: 1;
}

.landing-philosophy p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--silver);
}

.landing-enter {
    position: relative;
    z-index: 1;
}

.landing-enter .btn {
    padding: 1.25rem 3rem;
}

/* Philosophy Cards */
.philosophy-section {
    padding: var(--space-2xl) 0;
    background: var(--charcoal);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.philosophy-card {
    padding: var(--space-lg);
    background: var(--charcoal-light);
    border: 1px solid rgba(201, 169, 97, 0.1);
    transition: all var(--transition-medium);
}

.philosophy-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
}

.philosophy-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--gold-primary);
}

.philosophy-card h3 {
    color: var(--off-white);
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.philosophy-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--space-2xl) 0;
    background: var(--charcoal);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-muted), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: var(--space-sm);
}

.section-title {
    color: var(--off-white);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.service-card {
    padding: var(--space-lg);
    background: var(--charcoal-light);
    border: 1px solid rgba(201, 169, 97, 0.08);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gold-primary);
    transition: height var(--transition-medium);
}

.service-card:hover {
    background: var(--charcoal-lighter);
    border-color: rgba(201, 169, 97, 0.2);
    transform: translateY(-3px);
}

.service-card:hover::before {
    height: 100%;
}

.service-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: rgba(201, 169, 97, 0.15);
    position: absolute;
    top: var(--space-sm);
    right: var(--space-md);
    line-height: 1;
}

.service-title {
    font-size: 1.25rem;
    color: var(--off-white);
    margin-bottom: var(--space-sm);
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--silver);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-2xl) 0;
    background: var(--deep-navy);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-info h2 {
    color: var(--off-white);
    margin-bottom: var(--space-md);
}

.contact-intro {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    color: var(--silver);
}

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

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--silver);
}

.contact-details .label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-primary);
    min-width: 80px;
}

.contact-form {
    background: var(--charcoal);
    padding: var(--space-lg);
    border: 1px solid rgba(201, 169, 97, 0.1);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: var(--space-xs);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: var(--charcoal-light);
    border: 1px solid rgba(201, 169, 97, 0.1);
    color: var(--off-white);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

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

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--space-lg) 0;
    background: var(--charcoal);
    border-top: 1px solid rgba(201, 169, 97, 0.1);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--off-white);
}

.footer-brand span {
    color: var(--gold-primary);
}

.footer-links {
    display: flex;
    gap: var(--space-md);
    list-style: none;
}

.footer-links a {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

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

.footer-copyright {
    width: 100%;
    text-align: center;
    padding-top: var(--space-md);
    margin-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--muted);
}

/* ============================================
   LEGAL PAGE
   ============================================ */
.legal-page {
    padding-top: 100px;
}

.legal-header {
    padding: var(--space-xl) 0;
    text-align: center;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.legal-header h1 {
    color: var(--off-white);
    margin-bottom: var(--space-sm);
}

.legal-updated {
    font-size: 0.9rem;
    color: var(--muted);
}

.legal-nav {
    background: var(--charcoal);
    padding: var(--space-md) 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}

.legal-nav-list {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    list-style: none;
}

.legal-nav-link {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--silver);
    padding: var(--space-xs) 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

.legal-nav-link:hover,
.legal-nav-link.active {
    color: var(--gold-primary);
    border-bottom-color: var(--gold-primary);
}

.legal-content {
    padding: var(--space-xl) 0;
}

.legal-section {
    margin-bottom: var(--space-2xl);
    scroll-margin-top: 150px;
}

.legal-section h2 {
    color: var(--gold-primary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.legal-section h3 {
    color: var(--off-white);
    margin: var(--space-md) 0 var(--space-sm);
    font-size: 1.25rem;
}

.legal-section h4 {
    color: var(--off-white);
    margin: var(--space-sm) 0 var(--space-xs);
    font-size: 1rem;
}

.legal-section p {
    margin-bottom: var(--space-sm);
    color: var(--silver);
}

.legal-section ul {
    margin: var(--space-sm) 0 var(--space-md) var(--space-md);
    color: var(--silver);
}

.legal-section li {
    margin-bottom: var(--space-xs);
    line-height: 1.8;
}

.legal-highlight {
    background: var(--gold-muted);
    padding: var(--space-md);
    border-left: 3px solid var(--gold-primary);
    margin: var(--space-md) 0;
}

.legal-highlight p {
    color: var(--off-white);
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--deep-navy);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-md);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .landing-brand {
        font-size: 1.75rem;
    }
    
    .landing-tagline {
        font-size: 1.5rem;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .legal-nav-list {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
        --space-2xl: 5rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .service-card {
        padding: var(--space-md);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .legal-nav {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .legal-section h2 {
        color: black;
    }
    
    .legal-section p,
    .legal-section li {
        color: #333;
    }
}
