/* ============================================
   Orion Web – Professional Website Styles
   Color Theme: Dark Green & Gold
   ============================================ */

/* === CSS Custom Properties === */
:root {
    --primary: #0D1F1A;
    --primary-light: #122B24;
    --secondary: #D4AF37;
    --secondary-hover: #E5C348;
    --accent: #1F4D3A;
    --accent-light: #2A6B4F;
    --text: #FFFFFF;
    --text-muted: #A8B5B0;
    --text-dim: #6B7D76;
    --bg-card: rgba(31, 77, 58, 0.15);
    --bg-card-hover: rgba(31, 77, 58, 0.3);
    --border: rgba(212, 175, 55, 0.15);
    --border-hover: rgba(212, 175, 55, 0.4);
    --gold-glow: 0 0 30px rgba(212, 175, 55, 0.15);
    --gold-glow-strong: 0 0 40px rgba(212, 175, 55, 0.25);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--secondary);
    color: var(--primary);
}

/* === Starfield Canvas === */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

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

/* === Layout === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(212, 175, 55, 0.05);
}

.section-title {
    color: var(--text);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), transparent);
    margin: 0 auto;
    border-radius: 2px;
}

.section-divider-left {
    margin: 0;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), #BF9B30);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--secondary-hover), var(--secondary));
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 1.5px solid var(--secondary);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--gold-glow);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 1.5px solid var(--border);
    width: 100%;
    justify-content: center;
}

.btn-outline:hover {
    border-color: var(--secondary);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: var(--gold-glow);
}

.btn-small {
    font-size: 0.8rem;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--secondary), #BF9B30);
    color: var(--primary);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 31, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.logo-icon {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--text);
}

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

.nav-cta {
    padding: 10px 24px !important;
    border: 1.5px solid var(--secondary) !important;
    border-radius: 8px;
    color: var(--secondary) !important;
    font-family: var(--font-heading);
    font-size: 0.8rem !important;
    letter-spacing: 0.05em;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: rgba(212, 175, 55, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all var(--transition);
    border-radius: 2px;
}

.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 Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(31, 77, 58, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(31, 77, 58, 0.3) 0%, transparent 60%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    margin-bottom: 24px;
    text-shadow: 0 0 60px rgba(212, 175, 55, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--secondary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        height: 40px;
    }

    50% {
        opacity: 1;
        height: 60px;
    }
}

/* === Services Section === */
.section-services {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--gold-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    margin-bottom: 24px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.08);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.service-card h3 {
    color: var(--text);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-dim);
}

/* === Portfolio Section === */
.section-portfolio {
    background: var(--primary-light);
    position: relative;
}

.section-portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0.3;
}

.section-portfolio::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0.3;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.portfolio-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--gold-glow-strong);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 31, 26, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    backdrop-filter: blur(4px);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    color: var(--text);
    margin-bottom: 8px;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* === About Section === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.about-image-placeholder svg {
    width: 100%;
    height: 100%;
    max-width: 300px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    z-index: -1;
}

.about-content .section-tag {
    display: inline-block;
}

.about-content .section-title {
    text-align: left;
}

.about-content p {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 4px;
}

/* === Pricing Section === */
.section-pricing {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--gold-glow);
}

.pricing-card-featured {
    border-color: var(--secondary);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, var(--bg-card) 100%);
    transform: scale(1.05);
    box-shadow: var(--gold-glow-strong);
}

.pricing-card-featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary), #BF9B30);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    color: var(--secondary);
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
}

.pricing-currency {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-desc {
    font-size: 0.88rem;
    color: var(--text-dim);
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.92rem;
    color: var(--text-muted);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    flex-shrink: 0;
}

/* === Contact Section === */
.section-contact {
    background: var(--primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(13, 31, 26, 0.8);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.form-success.visible {
    display: flex;
}

.form-success p {
    font-size: 0.9rem;
    color: var(--secondary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.contact-info-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* === Footer === */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border);
    padding: 64px 0 24px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.88rem;
    color: var(--text-dim);
    max-width: 280px;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
}

.social-links a:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(212, 175, 55, 0.08);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* === Reveal Animation === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .pricing-card-featured {
        transform: scale(1);
    }

    .pricing-card-featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-tag {
        display: block;
        text-align: center;
    }

    .section-divider-left {
        margin: 0 auto;
    }

    .about-stats {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(13, 31, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right var(--transition);
        border-left: 1px solid var(--border);
    }

    .nav-links.active {
        right: 0;
    }

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

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .hero {
        padding: 100px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-stats {
        gap: 24px;
    }

    .contact-form {
        padding: 28px;
    }
}

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

    .about-stats {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}