/*
Theme Name: Sun Riot LLC
Description: Professional corporate theme for Sun Riot LLC - Independent software development company specializing in privacy-focused applications for macOS and beyond.
Author: Sun Riot LLC
Version: 1.0
Text Domain: sunriot
*/

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 140px;
    padding-top: 6px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    margin-top: 6px;
}

.logo-section:hover {
    opacity: 0.9;
}

.logo {
    height: 100px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    border-radius: 12px;
    transform: translateY(-9px);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-family: 'Michroma', 'Audiowide', 'Orbitron', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    margin: 0;
    line-height: 1.0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active,
.nav-link.current-menu-item {
    color: #333;
}

.nav-link.active::after,
.nav-link.current-menu-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #007AFF;
}

/* Mobile menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main content */
.main {
    margin-top: 140px;
    min-height: calc(100vh - 140px);
}

/* Hero section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
.about-section,
.products-section {
    padding: 80px 0;
}

.about-section {
    background-color: #fff;
}

.products-section {
    background-color: #f8f9fa;
}

.showcase-section {
    background-color: #fff;
    padding-bottom: 120px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 3rem;
}

.section-content {
    font-size: 1.125rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* Product cards */
.product-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.product-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-link,
.product-cta {
    display: inline-block;
    background-color: #007AFF;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.product-link:hover,
.product-cta:hover {
    background-color: #0056CC;
}

.product-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    margin: 0 auto 1rem auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Page content */
.page-content {
    padding: 80px 0;
    min-height: calc(100vh - 200px);
}

/* About page with background logo */
/* Radical full-bleed background for About */
.about-page {
    position: relative;
    background: transparent !important;
    min-height: 100vh;
}

.about-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.about-bg img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 110vw;
    min-height: 110vh;
    width: auto;
    height: auto;
    opacity: 0.12;
    filter: none;
}

.about-page .container,
.about-page .page-title,
.about-page .page-description {
    position: relative;
    z-index: 10;
}

.page-title {
    font-size: 3rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 3rem;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.page-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* WordPress content */
.entry-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
    color: #333;
    margin: 2rem 0 1rem 0;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

/* Contact page */
.contact-simple {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info-centered {
    background-color: #f8f9fa;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-item-large {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-item-large strong {
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.email-link {
    color: #007AFF;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    display: inline-block;
    border: 2px solid #007AFF;
    transition: all 0.3s ease;
}

.email-link:hover {
    background-color: #007AFF;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
    margin-top: auto;
}

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

.footer-text {
    font-size: 0.9rem;
    color: #ccc;
}

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

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 140px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

    .hero-description {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

    .nav-container {
        padding: 0 15px;
        height: 100px;
    }

    .main {
        margin-top: 100px;
    }

    .nav-menu {
        top: 100px;
    }

    .logo {
        height: 50px;
        width: auto;
        max-width: 120px;
        border-radius: 8px;
        transform: translateY(-6px);
    }

    .company-name {
        font-size: 1.5rem;
        letter-spacing: 0.06em;
    }

    .logo-section {
        gap: 12px;
    }

    .container {
        padding: 0 15px;
    }

    .contact-info-centered {
        padding: 2rem;
    }
    
    .email-link {
        font-size: 1.25rem;
        padding: 0.5rem 1rem;
    }

    .wordmark {
        height: clamp(22px, 8vw, 36px);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .about-section,
    .products-section,
    .page-content {
        padding: 60px 0;
    }

    .product-card {
        padding: 1.5rem;
    }
}

/* Legal content */
.legal-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 4rem 0 1.5rem 0;
    border-bottom: 2px solid #007AFF;
    padding-bottom: 0.75rem;
}

.legal-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 5rem;
    max-width: 750px;
    text-align: left;
}

.wordmark {
    height: clamp(28px, 6vw, 64px);
    width: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .wordmark {
        height: clamp(22px, 8vw, 36px);
    }
    .logo {
        height: 50px;
        width: auto;
        max-width: 120px;
        border-radius: 8px;
        transform: translateY(-8px);
    }
}
