/* 
 * JARR Studio - Professional Theme
 * Modern Dark Design System
 */

:root {
    /* Colors */
    --bg-dark: #0A1628;
    --bg-card: rgba(30, 58, 95, 0.4);
    --bg-card-hover: rgba(30, 58, 95, 0.6);

    --primary: #1E3A5F;
    --accent: #D4AF37;
    /* Gold */
    --accent-glow: rgba(212, 175, 55, 0.4);

    --text-main: #FFFFFF;
    --text-muted: #94A3B8;

    --gradient-gold: linear-gradient(135deg, #FFD700, #D4AF37);
    --gradient-blue: linear-gradient(135deg, #0A1628 0%, #152945 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --nav-height: 80px;
    --section-spacing: 100px;

    /* Effects */
    --glass: blur(10px);
    --border-light: 1px solid rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section {
    padding: var(--section-spacing) 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    margin-left: 15px;
}

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

/* Background Canvas */
#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: var(--glass);
    border-bottom: var(--border-light);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.btn-nav {
    border: 1px solid var(--accent);
    padding: 8px 20px;
    border-radius: 20px;
    color: var(--accent) !important;
}

.btn-nav:hover {
    background: var(--accent);
    color: var(--bg-dark) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
}

.hero-content {
    width: 100%;
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--text-muted);
    font-size: 1.5rem;
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    display: block;
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(5px);
    border: var(--border-light);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: rgba(212, 175, 55, 0.3);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--accent);
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

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

.lead {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 500;
}

.credentials-grid {
    margin-top: 40px;
    display: grid;
    gap: 25px;
}

.credential-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.credential-item i {
    color: var(--accent);
    font-size: 1.4rem;
    margin-top: 4px;
}

.credential-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.credential-item small {
    color: var(--text-muted);
    display: block;
}

.visual-card {
    position: relative;
    height: 400px;
    background: var(--bg-card);
    border-radius: 30px;
    border: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-box {
    text-align: center;
    z-index: 2;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Methodology */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.step {
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
}

.step h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

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

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-methods {
    margin: 40px 0;
}

.method {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.method i {
    color: var(--accent);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: var(--border-light);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(10, 22, 40, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
}

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

.btn-block {
    width: 100%;
}

/* Footer */
footer {
    border-top: var(--border-light);
    padding: 60px 0 30px;
    background: #050C15;
}

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

.footer-brand {
    margin-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.fade-in,
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 1;
    /* Changed from 0 to ensure visibility */
    transition: all 0.8s ease;
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Mobile Responsiveness */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 900px) {

    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--text-main);
        margin: 5px 0;
        transition: 0.3s;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 22, 40, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}