/* ==========================================
   PHAROS WEBSITE - MAIN STYLESHEET
   Understanding Through Clarity
   ========================================== */

/* CSS Variables - Color Palette */
:root {
    --royal-blue: #1a2e5a;
    --deep-blue: #0f1d3a;
    --gold: #d4af37;
    --light-gold: #f4e4a6;
    --pale-gold: #faf6e8;
    --text-dark: #1a1a1a;
    --text-light: #e8e8e8;
    --text-gray: #6b7280;
    --accent-purple: #9ca3d4;
    --white: #ffffff;
}

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

body {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Philosopher', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--royal-blue);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--royal-blue);
}

p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

em {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 46, 90, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.5px;
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--royal-blue);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--royal-blue) 100%);
}

.lighthouse-beam {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 300px solid transparent;
    border-right: 300px solid transparent;
    border-top: 500px solid rgba(212, 175, 55, 0.15);
    filter: blur(20px);
    animation: beamPulse 4s ease-in-out infinite;
}

@keyframes beamPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
}

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

.hero-title {
    font-size: 6rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 30px rgba(212, 175, 55, 0.4);
}

.hero-tagline {
    font-size: 1.8rem;
    color: var(--accent-purple);
    font-style: italic;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Intro Section */
.intro-section {
    padding: 6rem 0;
    background: var(--white);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--royal-blue);
}

.intro-large {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Mission Section */
.mission-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--pale-gold), var(--white));
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.mission-text p {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.mission-focus {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(26, 46, 90, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mission-focus h3 {
    color: var(--royal-blue);
    margin-bottom: 1.5rem;
}

.stakes-list {
    list-style: none;
}

.stakes-list li {
    padding: 0.8rem 0;
    font-size: 1.15rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bullet {
    color: var(--gold);
    font-size: 1.2rem;
}

/* How Section */
.how-section {
    padding: 6rem 0;
    background: var(--royal-blue);
    color: var(--text-light);
}

.how-section h2 {
    text-align: center;
    color: var(--gold);
    margin-bottom: 4rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.4);
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-blue);
}

.process-step h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-light);
    font-size: 1rem;
    opacity: 0.9;
}

/* Values Section */
.values-section {
    padding: 6rem 0;
    background: var(--white);
}

.values-content {
    max-width: 900px;
    margin: 0 auto;
}

.values-intro {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-style: italic;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.value-item h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-item p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
    text-align: center;
}

.cta-content h2 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.cta-content p {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    color: var(--deep-blue);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
}

.cta-note {
    margin-top: 1.5rem;
    color: var(--accent-purple);
    font-size: 1rem;
    font-style: italic;
}

/* Footer */
.main-footer {
    background: var(--deep-blue);
    color: var(--text-light);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-logo {
    font-family: 'Philosopher', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--accent-purple);
    font-style: italic;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-info {
    text-align: right;
}

.footer-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.patent-notice {
    color: var(--gold);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .mission-grid,
    .process-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
