/*
Theme Name: Astralis
Theme URI: https://astralis-game.com
Author: Astralis Dev Team
Author URI: https://astralis-game.com
Description: A premium dark sci-fi WordPress theme built specifically for game studios, space exploration games, and flight combat simulators. Fully compatible with Elementor Page Builder. Features interactive 3D shipyard viewer, starfield hero, HUD-style UI components, and immersive gallery layouts.
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: astralis
Domain Path: /languages
Tags: game, sci-fi, dark, elementor, space, responsive, custom-logo, custom-colors, custom-header, theme-options, full-width-template

Astralis WordPress Theme © 2026
*/

/* ============================================
   TABLE OF CONTENTS
   ============================================
   1. CSS Variables / Root
   2. Base & Reset
   3. Typography
   4. Layout & Grid
   5. Header & Navigation
   6. Hero Section
   7. Shipyard (3D Viewer)
   8. Features
   9. Gallery
   10. CTA
   11. Story / Lore
   12. System Requirements
   13. Roadmap
   14. Newsletter
   15. Team
   16. Testimonials
   17. Footer
   18. Elementor Widget Overrides
   19. Responsive
   ============================================ */

/* 1. CSS Variables */
:root {
    --ast-crimson: #e63946;
    --ast-crimson-dark: #9b2226;
    --ast-void: #050508;
    --ast-void-light: #0a0a10;
    --ast-starlight: #ffffff;
    --ast-nebula: #1d3557;
    --ast-hud-cyan: #00f0ff;
    --ast-font-display: 'Orbitron', sans-serif;
    --ast-font-body: 'Rajdhani', sans-serif;
    --ast-transition: all 0.3s ease;
}

/* 2. Base & Reset */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ast-font-body);
    background-color: var(--ast-void);
    color: var(--ast-starlight);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ast-crimson);
    text-decoration: none;
    transition: var(--ast-transition);
}

a:hover {
    color: var(--ast-hud-cyan);
}

/* 3. Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ast-font-display);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    margin: 0 0 20px;
}

p {
    margin: 0 0 20px;
}

/* 4. Layout */
.ast-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.ast-section {
    position: relative;
    padding: 120px 0;
}

.ast-section-header {
    text-align: center;
    margin-bottom: 80px;
}

.ast-section-tag {
    font-family: var(--ast-font-display);
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--ast-crimson);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.ast-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.ast-section-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* 5. Header & Navigation */
.ast-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(230, 57, 70, 0.2);
    transition: var(--ast-transition);
}

.ast-header.scrolled {
    padding: 12px 5%;
    background: rgba(5, 5, 8, 0.95);
}

.ast-logo {
    font-family: var(--ast-font-display);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 6px;
    color: var(--ast-starlight);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ast-logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.5));
}

.ast-nav {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ast-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

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

.ast-nav a:hover {
    color: var(--ast-starlight);
}

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

.ast-nav-cta {
    padding: 10px 28px;
    border: 1px solid var(--ast-crimson);
    color: var(--ast-crimson);
    font-family: var(--ast-font-display);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.ast-nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--ast-crimson);
    transition: left 0.3s ease;
    z-index: -1;
}

.ast-nav-cta:hover {
    color: var(--ast-starlight);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}

.ast-nav-cta:hover::before {
    left: 0;
}

/* Mobile Menu Toggle */
.ast-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.ast-menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--ast-starlight);
    transition: var(--ast-transition);
}

/* 6. Hero */
.ast-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#ast-starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.ast-hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 30px rgba(230, 57, 70, 0.6));
    animation: ast-float 6s ease-in-out infinite;
}

@keyframes ast-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.ast-hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: 12px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(230, 57, 70, 0.3);
}

.ast-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 300;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
    text-transform: uppercase;
}

.ast-hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ast-btn-primary {
    padding: 16px 40px;
    background: var(--ast-crimson);
    color: var(--ast-starlight);
    font-family: var(--ast-font-display);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: var(--ast-transition);
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.3);
}

.ast-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(230, 57, 70, 0.6);
    color: var(--ast-starlight);
}

.ast-btn-secondary {
    padding: 16px 40px;
    background: transparent;
    color: var(--ast-starlight);
    font-family: var(--ast-font-display);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: inline-block;
    transition: var(--ast-transition);
}

.ast-btn-secondary:hover {
    border-color: var(--ast-hud-cyan);
    color: var(--ast-hud-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.ast-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: ast-bounce 2s infinite;
}

.ast-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.ast-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--ast-crimson), transparent);
}

@keyframes ast-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* 7. Shipyard (3D Viewer) */
.ast-shipyard {
    background: var(--ast-void-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ast-viewer-container {
    position: relative;
    width: 100%;
    height: 600px;
    border: 1px solid rgba(230, 57, 70, 0.3);
    background: radial-gradient(circle at center, rgba(230, 57, 70, 0.05) 0%, transparent 70%);
    overflow: hidden;
}

#ast-three-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.ast-viewer-ui {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.ast-model-btn {
    padding: 10px 24px;
    background: rgba(5, 5, 8, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--ast-starlight);
    font-family: var(--ast-font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--ast-transition);
    backdrop-filter: blur(10px);
}

.ast-model-btn.active,
.ast-model-btn:hover {
    border-color: var(--ast-crimson);
    color: var(--ast-crimson);
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.3);
}

.ast-viewer-label {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}

.ast-viewer-label h3 {
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.ast-viewer-label p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.ast-hud-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--ast-crimson);
    z-index: 10;
}

.ast-hud-corner.tl { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.ast-hud-corner.tr { top: 20px; right: 20px; border-left: none; border-bottom: none; }
.ast-hud-corner.bl { bottom: 20px; left: 20px; border-right: none; border-top: none; }
.ast-hud-corner.br { bottom: 20px; right: 20px; border-left: none; border-top: none; }

/* 8. Features */
.ast-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ast-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 40px;
    transition: var(--ast-transition);
    position: relative;
    overflow: hidden;
}

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

.ast-feature-card:hover::before {
    transform: translateX(100%);
}

.ast-feature-card:hover {
    border-color: rgba(230, 57, 70, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.ast-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: block;
}

.ast-feature-card h3 {
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.ast-feature-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* 9. Gallery */
.ast-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.ast-gallery-item {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--ast-void-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    cursor: pointer;
}

.ast-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.8);
}

.ast-gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.ast-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 8, 0.9) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ast-gallery-item:hover .ast-gallery-overlay {
    opacity: 1;
}

.ast-gallery-overlay h4 {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.ast-gallery-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* 10. CTA */
.ast-cta {
    text-align: center;
    background: radial-gradient(circle at center, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
}

.ast-cta-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px;
    border: 1px solid rgba(230, 57, 70, 0.3);
    background: rgba(5, 5, 8, 0.6);
    backdrop-filter: blur(10px);
}

.ast-cta-box h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.ast-cta-box p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.ast-platforms {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.ast-platform {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 1px;
}

/* 11. Story / Lore */
.ast-story {
    background: var(--ast-void-light);
}

.ast-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.ast-story-media {
    position: relative;
    border: 1px solid rgba(230, 57, 70, 0.2);
    overflow: hidden;
}

.ast-story-media img {
    width: 100%;
    display: block;
    filter: brightness(0.85);
    transition: var(--ast-transition);
}

.ast-story-media:hover img {
    filter: brightness(1);
    transform: scale(1.02);
}

.ast-story-media::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--ast-crimson);
    transform: translate(15px, 15px);
    z-index: -1;
    opacity: 0.5;
}

.ast-story-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 25px;
    letter-spacing: 3px;
}

.ast-story-content p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 20px;
}

.ast-story-quote {
    border-left: 3px solid var(--ast-crimson);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

/* 12. System Requirements */
.ast-requirements {
    background: var(--ast-void);
}

.ast-req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.ast-req-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    text-align: center;
}

.ast-req-card h3 {
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
    color: var(--ast-crimson);
}

.ast-req-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.ast-req-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
}

.ast-req-list li:last-child {
    border-bottom: none;
}

.ast-req-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 13. Roadmap */
.ast-roadmap {
    background: var(--ast-void-light);
}

.ast-roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.ast-roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--ast-crimson), transparent);
}

.ast-roadmap-item {
    position: relative;
    padding: 30px 0 30px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ast-roadmap-item::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 36px;
    width: 12px;
    height: 12px;
    background: var(--ast-crimson);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
}

.ast-roadmap-item.completed::before {
    background: var(--ast-hud-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.ast-roadmap-date {
    font-family: var(--ast-font-display);
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--ast-crimson);
    margin-bottom: 10px;
    display: block;
}

.ast-roadmap-item.completed .ast-roadmap-date {
    color: var(--ast-hud-cyan);
}

.ast-roadmap-item h3 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.ast-roadmap-item p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* 14. Newsletter */
.ast-newsletter {
    background: radial-gradient(circle at center, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
    text-align: center;
}

.ast-newsletter-form {
    max-width: 500px;
    margin: 40px auto 0;
    display: flex;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ast-newsletter-form input[type="email"] {
    flex: 1;
    padding: 16px 20px;
    background: rgba(5, 5, 8, 0.6);
    border: none;
    color: var(--ast-starlight);
    font-family: var(--ast-font-body);
    font-size: 1rem;
    outline: none;
}

.ast-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.ast-newsletter-form button {
    padding: 16px 30px;
    background: var(--ast-crimson);
    border: none;
    color: var(--ast-starlight);
    font-family: var(--ast-font-display);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--ast-transition);
}

.ast-newsletter-form button:hover {
    background: var(--ast-crimson-dark);
}

/* 15. Team */
.ast-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.ast-team-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--ast-transition);
}

.ast-team-card:hover {
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateY(-5px);
}

.ast-team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 2px solid rgba(230, 57, 70, 0.3);
    filter: grayscale(0.3);
    transition: var(--ast-transition);
}

.ast-team-card:hover .ast-team-avatar {
    filter: grayscale(0);
    border-color: var(--ast-crimson);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.3);
}

.ast-team-card h3 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.ast-team-role {
    font-size: 0.85rem;
    color: var(--ast-crimson);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.ast-team-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* 16. Testimonials */
.ast-testimonials {
    background: var(--ast-void-light);
}

.ast-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.ast-testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    position: relative;
}

.ast-testimonial-card::before {
    content: '"';
    font-family: var(--ast-font-display);
    font-size: 4rem;
    color: var(--ast-crimson);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.ast-testimonial-text {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.ast-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ast-testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(230, 57, 70, 0.3);
}

.ast-testimonial-author-info h4 {
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 3px;
}

.ast-testimonial-author-info span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

.ast-testimonial-rating {
    color: var(--ast-crimson);
    font-size: 1rem;
    margin-bottom: 15px;
    display: block;
    letter-spacing: 3px;
}

/* 17. Footer */
.ast-footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.ast-footer-logo {
    font-family: var(--ast-font-display);
    font-size: 1.5rem;
    letter-spacing: 8px;
    margin-bottom: 20px;
    color: var(--ast-starlight);
}

.ast-footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.ast-footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

.ast-footer-copy {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.ast-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.ast-social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: var(--ast-transition);
}

.ast-social-links a:hover {
    border-color: var(--ast-crimson);
    color: var(--ast-crimson);
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.3);
}

/* 18. Elementor Widget Overrides */
.elementor-widget-astralis-hero .ast-hero {
    height: auto;
    min-height: 100vh;
}

.elementor-widget-astralis-shipyard .ast-viewer-container {
    height: 600px;
}

/* 19. Responsive */
@media (max-width: 1024px) {
    .ast-story-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ast-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 8, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        border-top: 1px solid rgba(230, 57, 70, 0.2);
    }

    .ast-nav.active {
        display: flex;
    }

    .ast-menu-toggle {
        display: flex;
    }

    .ast-hero-logo {
        width: 120px;
    }

    .ast-viewer-container {
        height: 400px;
    }

    .ast-section {
        padding: 80px 0;
    }

    .ast-features-grid,
    .ast-gallery-grid {
        grid-template-columns: 1fr;
    }

    .ast-req-grid,
    .ast-team-grid,
    .ast-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .ast-story-grid {
        gap: 40px;
    }

    .ast-newsletter-form {
        flex-direction: column;
    }
}

/* WordPress Alignments */
.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress Gallery */
.gallery {
    display: grid;
    gap: 20px;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

/* Screen Reader Text */
.screen-reader-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
