
/* =========================================
   JCM DIGITAL STUDIOS
   Official Website Stylesheet
   Theme: Modern Technology
========================================= */

/* GLOBAL COLORS */

:root {
    --background: #0B1120;
    --secondary: #172554;
    --card-background: #111C30;
    --accent: #00D4FF;
    --accent-hover: #67E8F9;
    --text: #F8FAFC;
    --muted: #CBD5E1;
    --border: #26354B;
}

/* RESET & GLOBAL STYLES */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

section {
    scroll-margin-top: 30px;
}

/* =========================================
   NAVIGATION
========================================= */

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 22px 7%;
    background: rgba(11, 17, 32, 0.96);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

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

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

.navbar nav a {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar nav a:hover {
    color: var(--accent);
}

/* =========================================
   HERO SECTION
========================================= */

.hero {
    min-height: 78vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 7%;
    text-align: center;

    background:
        radial-gradient(
            ellipse at 50% 35%,
            #172554 0%,
            #0B1120 72%
        );
}

.hero-content {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 22px 0;
}

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

.hero-description {
    max-width: 620px;
    margin: 25px auto;
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.8;
}

/* =========================================
   BUTTONS
========================================= */

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--accent);
    color: var(--background);
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

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

.btn-secondary:hover {
    background: var(--secondary);
}

/* =========================================
   SERVICES SECTION
========================================= */

.services {
    width: 100%;
    padding: 100px 7%;
    text-align: center;
}

.services h2,
.simple-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin: 18px 0;
}

.section-description {
    max-width: 650px;
    margin: 0 auto 50px;
    color: var(--muted);
    font-size: 1.1rem;
}

/* SERVICE PACKAGE GRID */

.package-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.package-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 32px 24px;
    background: var(--card-background);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-align: left;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.package-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.08);
}

.package-card h3 {
    color: var(--text);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.package-card p {
    flex-grow: 1;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.package-card a {
    align-self: flex-start;
    color: var(--accent);
    font-weight: 700;
    transition: color 0.2s ease;
}

.package-card a:hover {
    color: var(--accent-hover);
}

/* =========================================
   ABOUT & CONTACT SECTIONS
========================================= */

.simple-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 90px 7%;
    text-align: center;
}

.simple-section p:not(.eyebrow) {
    max-width: 650px;
    margin: 15px auto;
    color: var(--muted);
    font-size: 1.1rem;
}

/* =========================================
   FOOTER
========================================= */

footer {
    padding: 35px 20px;
    background: #080E1A;
    border-top: 1px solid var(--border);
    text-align: center;
}

footer p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* =========================================
   ACCESSIBILITY
========================================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px;
}

/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media (max-width: 1000px) {

    .package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .navbar {
        padding: 20px 5%;
    }

    .navbar nav {
        gap: 20px;
    }
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 600px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .navbar nav {
        justify-content: center;
        gap: 12px 18px;
    }

    .hero {
        min-height: 65vh;
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 10vw, 3.5rem);
        letter-spacing: -1px;
    }

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

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

    .services {
        padding: 75px 20px;
    }

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

    .package-card {
        padding: 28px 24px;
    }

    .simple-section {
        padding: 75px 20px;
    }
}

/* =========================================
   REDUCED MOTION SUPPORT
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .btn,
    .package-card,
    .navbar nav a,
    .package-card a {
        transition: none;
    }

    .btn:hover,
    .package-card:hover {
        transform: none;
    }
}

/* PACKAGE FEATURE LISTS */

.package-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.package-card li {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.package-card li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    margin-right: 10px;
}

/* Make feature links stay aligned */

.package-card a {
    margin-top: auto;
}

/* Improve text spacing */

.hero-description {
    line-height: 1.9;
}

.simple-section p {
    line-height: 1.9;
}

/* =========================================
   JCM PREMIUM VISUAL UPGRADES
========================================= */

/* Navigation improvements */

.navbar {
    position: relative;
    z-index: 10;
    background: rgba(11, 17, 32, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Futuristic hero background */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(0, 212, 255, 0.14) 0%,
            rgba(23, 37, 84, 0.35) 35%,
            #0B1120 75%
        );
}

/* Decorative glowing orb */

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.08);
    filter: blur(90px);
    pointer-events: none;
    z-index: -1;
}

/* Subtle headline glow */

.hero h1 span {
    color: var(--accent);
    text-shadow: 0 0 35px rgba(0, 212, 255, 0.3);
}

/* Smooth entrance animation */

@keyframes jcmFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-content {
        animation: jcmFadeUp 0.9s ease-out both;
    }
}

/* Enhanced buttons */

.btn-primary {
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.15);
}

.btn-primary:hover {
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.35);
}

/* Premium service cards */

.package-card {
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    .logo {
        transition: none;
    }

    .logo:hover {
        transform: none;
    }

    .package-card::before {
        transition: none;
    }
}

/* JCM Digital Studios navigation branding */

.navbar .logo {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
}

.navbar .logo .studio-name {
    color: #F8FAFC;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

/* ==========================================
   JCM DIGITAL STUDIOS - CONTACT FORM
========================================== */

.contact-section {
    text-align: center;
}

.contact-form-container {
    max-width: 650px;
    margin: 40px auto;
    padding: 35px;
    background: #111B30;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
    text-align: left;
}

.contact-form-container .form-group {
    margin-bottom: 22px;
}

.contact-form-container label {
    display: block;
    margin-bottom: 9px;
    color: #F8FAFC;
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form-container input,
.contact-form-container select,
.contact-form-container textarea {
    width: 100%;
    padding: 14px 16px;
    background: #0B1120;
    color: #F8FAFC;
    border: 1px solid #334155;
    border-radius: 9px;
    font: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-container input:focus,
.contact-form-container select:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: #00D4FF;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.contact-form-container textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form-container .form-submit {
    width: 100%;
    cursor: pointer;
    border: none;
    margin-top: 8px;
}

.contact-form-container .form-status {
    margin-top: 15px;
    text-align: center;
}

.contact-email {
    margin-top: 25px;
}

.contact-email a {
    color: #00D4FF;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .contact-form-container {
        padding: 22px 18px;
        margin: 25px auto;
    }
}
