/* styles.css */

/* =========================
   THEME (Logo-driven)
   ========================= */
   :root {
    /* Logo-driven palette */
    --bg-dark: #050608;
    --bg-darker: #020306;
    --bg-alt: #0d0f14;
    --panel: #0b0d12;

    --accent: #c02028;        /* Shed red */
    --accent-bright: #e43a42; /* Hover/red glow */
    --accent-soft: rgba(192, 32, 40, 0.22);

    --text-main: #f5f6f7;
    --text-muted: rgba(245, 246, 247, 0.70);

    --card-bg: rgba(10, 12, 16, 0.92);
    --border-subtle: rgba(255, 255, 255, 0.10);

    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;

    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
    --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.45);

    --max-width: 1120px;

    /* Typography */
    --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-brand: Oxanium, Inter, system-ui, sans-serif;
}

/* =========================
   RESET / BASE
   ========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.06) 0, transparent 38%),
        radial-gradient(circle at 20% 0%, rgba(192, 32, 40, 0.10) 0, transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(192, 32, 40, 0.06) 0, transparent 42%),
        linear-gradient(180deg, #07080b 0%, #020306 55%, #010205 100%);
    color: var(--text-main);
    line-height: 1.6;
}

/* Headings slightly “tech” */
h1, h2, h3 {
    font-family: var(--font-brand);
    letter-spacing: 0.02em;
}

/* =========================
   LAYOUT UTILITIES
   ========================= */

.container {
    width: min(100% - 2.5rem, var(--max-width));
    margin-inline: auto;
}

.section {
    padding: 4rem 0;
}

.section--alt {
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.05) 0, transparent 40%),
        linear-gradient(180deg, rgba(13, 15, 20, 0.92), rgba(2, 3, 6, 0.92));
    border-block: 1px solid rgba(255, 255, 255, 0.04);
}

.section--accent {
    background:
        radial-gradient(circle at top, rgba(228, 58, 66, 0.14) 0, transparent 45%),
        linear-gradient(180deg, rgba(11, 13, 18, 0.94), rgba(2, 3, 6, 0.98));
}

.section__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section__header--left {
    text-align: left;
}

.section__header h2 {
    font-size: clamp(2rem, 3vw, 2.4rem);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}

.section__header p {
    margin: 0;
    color: var(--text-muted);
}

.section__header--light p {
    color: rgba(255, 255, 255, 0.82);
}

/* =========================
   GRID
   ========================= */

.grid {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

@media (max-width: 767px) {
    .services-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================
   TOP BAR / NAV
   ========================= */

.top-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(2, 3, 6, 0.92), rgba(2, 3, 6, 0.72));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Red “roofline” hint under header */
.top-bar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(192,32,40,0.8), transparent);
    pointer-events: none;
}

.top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 1.25rem;
}

/* Logo */
.branding {
    display: flex;
    align-items: center;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 46px;
    width: auto;
    display: block;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.6));
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-muted);
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

/* CTA nav item */
.nav-cta {
    border-color: rgba(192, 32, 40, 0.55) !important;
    background: linear-gradient(180deg, rgba(228,58,66,1) 0%, rgba(192,32,40,1) 100%);
    color: white !important;
    font-weight: 650;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.nav-cta:hover {
    border-color: rgba(228, 58, 66, 0.95) !important;
    filter: brightness(1.05);
}

@media (max-width: 768px) {
    .top-bar__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav {
        flex-wrap: wrap;
    }
}

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

.hero {
    padding: 4.5rem 0 3.5rem;
}

.hero__inner {
    display: grid;
    gap: 2.5rem;
}

.hero__content h1 {
    font-size: clamp(2.3rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero__content p {
    max-width: 35rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.hero__details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero__details span {
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 6, 8, 0.75);
}

.hero__image{
    height: 210px;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 6px);
    border: 1px solid rgba(255, 255, 255, 0.10);
  }

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

/* =========================
   HERO IMAGE CARD
   ========================= */

.hero__image-card {
    position: relative;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.06) 0, transparent 45%),
        linear-gradient(180deg, rgba(11,13,18,0.95) 0%, rgba(2,3,6,0.98) 100%);
    box-shadow: var(--shadow-soft);
    padding: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.hero__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
    border: 1px solid rgba(192, 32, 40, 0.75);
    box-shadow: 0 10px 25px rgba(0,0,0,0.55);
}

.hero__image {
    border-radius: calc(var(--radius-lg) - 6px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    background:
        linear-gradient(135deg, rgba(192, 32, 40, 0.18), transparent),
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.06), transparent 55%),
        radial-gradient(circle at 80% 100%, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 1)),
        repeating-linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.10) 0,
            rgba(0, 0, 0, 0.10) 3px,
            transparent 3px,
            transparent 6px
        );
    height: 210px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.hero__note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: -0.5rem;
}

.hero__highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.hero__highlights li {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(192, 32, 40, 0.22);
    background: rgba(0, 0, 0, 0.75);
}

@media (min-width: 900px) {
    .hero__inner {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        align-items: center;
    }
}

/* =========================
   CARDS
   ========================= */

.card {
    border-radius: var(--radius-md);
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    padding: 1.4rem 1.3rem;
    box-shadow: var(--shadow-subtle);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
}

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

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

.service-card ul {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =========================
   ABOUT
   ========================= */

.about-layout {
    display: grid;
    gap: 2rem;
}

.about-text p {
    color: var(--text-muted);
}

.about-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.about-list li {
    margin-bottom: 0.35rem;
}

.about-card {
    border-radius: var(--radius-md);
    padding: 1.6rem 1.4rem;
    background:
        radial-gradient(circle at top, rgba(228,58,66,0.10) 0, transparent 55%),
        linear-gradient(145deg, rgba(14, 16, 22, 0.98), rgba(6, 7, 10, 0.98));
    border: 1px solid rgba(228, 58, 66, 0.30);
    box-shadow: var(--shadow-subtle);
}

.about-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.about-card ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (min-width: 900px) {
    .about-layout {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
        align-items: start;
    }
}

/* =========================
   PRICING
   ========================= */

.price-card {
    position: relative;
    text-align: left;
}

.price-card__price {
    font-size: 1.4rem;
    margin: 0.4rem 0 0.2rem;
}

.price-card__price span {
    font-size: 1.9rem;
    font-weight: 700;
}

.price-card__note {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.price-card ul {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-card--highlight {
    border-color: rgba(228, 58, 66, 0.65);
    background:
        radial-gradient(circle at top, rgba(228, 58, 66, 0.14) 0, rgba(8, 11, 17, 1) 45%, rgba(2, 3, 6, 1) 100%);
    transform: translateY(-3px);
}

.price-card__label {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-bright), var(--accent));
    color: white;
    font-weight: 650;
}

.pricing-footnote {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================
   TESTIMONIALS
   ========================= */

.testimonial-card {
    position: relative;
    padding-top: 1.6rem;
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 0.25rem;
    left: 0.9rem;
    font-size: 2.2rem;
    color: rgba(228, 58, 66, 0.35);
}

.testimonial-card__quote {
    margin: 0;
    font-size: 0.95rem;
}

.testimonial-card__name {
    margin: 0.9rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================
   CONTACT
   ========================= */

.contact-layout {
    display: grid;
    gap: 2.5rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.contact-list li {
    margin-bottom: 0.4rem;
}

.contact-list a {
    color: rgba(228, 58, 66, 0.95);
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
}

/* =========================
   CONTACT FORM
   ========================= */

   .contact-card{
    padding: 1.5rem 1.4rem;
    border-radius: var(--radius-md);
    background: rgba(4, 6, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-subtle);
}

.contact-card h3{
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.contact-card p{
    margin-top: 0;
    color: var(--text-muted);
}

.contact-actions{
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.contact-small{
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.78);
}

.contact-small p{
    margin: 0.35rem 0 0;
    color: inherit;
}


.contact-form {
    padding: 1.5rem 1.4rem;
    border-radius: var(--radius-md);
    background: rgba(4, 6, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-subtle);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #05070b;
    color: var(--text-main);
    font: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid rgba(228, 58, 66, 0.7);
    outline-offset: 1px;
}

.form-disclaimer {
    margin-top: 0.7rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        align-items: start;
    }
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 650;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.08s ease,
        filter 0.2s ease;
}

.btn--primary {
    background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 100%);
    color: white;
    border-color: rgba(228, 58, 66, 0.65);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65);
}

.btn--primary:hover {
    border-color: rgba(228, 58, 66, 0.95);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.75);
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.btn--secondary {
    background: rgba(255,255,255,0.02);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.22);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.30);
}

.btn--full {
    width: 100%;
}

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

.site-footer {
    padding: 1.8rem 0 2.3rem;
    background: linear-gradient(to top, #010205, #020306);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
}

.footer__secondary {
    opacity: 0.8;
}
