/* ============================
   HayaTech — PROFESSIONAL LIGHT THEME
   File: style.css
   Replace your old style.css with this file
   ============================ */

/* ---------- Variables & Reset ---------- */
:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --muted-600: #7a8594;
    --muted-500: #98a3b3;
    --text-900: #0f1724;
    --accent-1: #0b6ff2;
    /* primary blue */
    --accent-2: #0366d6;
    --accent-3: #0ca678;
    /* secondary / success */
    --glass: rgba(15, 23, 36, 0.03);
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 8px;
    --shadow-soft: 0 8px 28px rgba(20, 32, 50, 0.06);
    --shadow-sm: 0 6px 18px rgba(20, 32, 50, 0.06);
    --container-max: 1200px;
    --focus-ring: 0 0 0 4px rgba(11, 111, 242, 0.12);
    --transition-fast: 160ms;
    --transition-medium: 240ms;
    --line-height: 1.45;
    color-scheme: light;
}

/* Basic reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html,
body {
    height: 100%
}

html {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

body {
    background: linear-gradient(180deg, #f6f8fb 0%, #f3f6fa 100%);
    color: var(--text-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: var(--line-height);
    -webkit-tap-highlight-color: transparent;
}

/* Container */
.container {
    width: min(var(--container-max), 92%);
    margin: 0 auto;
}

/* Links & small utilities */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast) ease
}

.center {
    text-align: center
}

.muted a {
    color: var(--accent-1);
    transition: color 0.15s ease, opacity 0.15s ease;
}


.kicker {
    font-size: 12px;
    color: var(--muted-600);
    text-transform: uppercase;
    letter-spacing: .9px
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition-fast) ease;
    user-select: none;
    background: transparent;
}

.btn:active {
    transform: translateY(1px)
}

.btn:focus {
    outline: none;
    box-shadow: var(--focus-ring)
}

.btn-primary {
    background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
    color: white;
    border: 1px solid rgba(3, 102, 214, 0.12);
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(15, 23, 36, 0.06);
    color: var(--text-900);
}

.full-btn {
    width: 100%
}

/* ---------- Header / Nav ---------- */
header.nav {
    position: sticky;
    /* sticky gives a modern, non-obtrusive header */
    top: 0;
    z-index: 60;
    background: transparent;
    backdrop-filter: blur(6px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    width: min(var(--container-max), 94%);
    margin: 0 auto;
}

/* brand */
.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(20, 32, 50, 0.06);
}

.brand-text {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-900)
}

/* nav menu */
.nav-menu {
    display: flex;
    gap: 18px;
    align-items: center
}

.nav-menu a {
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--muted-600);
    font-weight: 600;
    font-size: 14px
}

.nav-menu a:hover {
    color: var(--text-900);
    background: transparent;
    transform: translateY(-2px)
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer
}

/* ---------- Hero ---------- */
.hero {
    padding-top: 64px;
    padding-bottom: 64px
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 36px;
    align-items: center
}

.hero-copy h1 {
    font-family: Inter, "Segoe UI", system-ui, -apple-system;
    font-weight: 800;
    margin: 0 0 16px 0;
    font-size: clamp(28px, 4.2vw, 44px);
    line-height: 1.02;
    color: var(--text-900);
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.lead {
    color: var(--muted-600);
    margin: 12px 0 20px;
    font-size: 15px;
    max-width: 60ch
}

/* CTA group */
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center
}

/* hero image card - clean elevated surface */
.hero-image {
    display: flex;
    justify-content: center
}

.hero-img-card {
    width: 100%;
    max-width: 480px;
    height: 320px;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(20, 32, 50, 0.04);
}

.hero-img-card img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
}

/* ---------- Sections ---------- */
.section {
    padding: 64px 0
}

.section.alt {
    background: transparent
}

.section-title {
    font-size: 20px;
    margin: 0 0 8px;
    font-weight: 700;
    text-align: center;
    color: var(--text-900)
}

.section-sub {
    color: var(--muted-500);
    text-align: center;
    margin: 0 0 20px
}

/* ---------- Product grid ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.product-card {
    border-radius: 12px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid rgba(20, 32, 50, 0.04);
    box-shadow: 0 6px 20px rgba(20, 32, 50, 0.04);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: transform var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(20, 32, 50, 0.06)
}

.product-thumb {
    width: 120px;
    height: 84px;
    border-radius: 10px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    padding: 8px;
}


.product-body h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--text-900)
}

.product-desc {
    color: var(--muted-600);
    margin: 0 0 10px;
    font-size: 14px
}

.feature-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 12px
}

.feature-list li {
    font-size: 13px;
    color: var(--muted-600);
    background: rgba(15, 23, 36, 0.03);
    padding: 6px 8px;
    border-radius: 8px
}

/* ---------- Services / Portfolio ---------- */
.service-grid,
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 18px
}

.service-card,
.portfolio-card {
    padding: 18px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid rgba(20, 32, 50, 0.03);
    box-shadow: 0 6px 22px rgba(20, 32, 50, 0.04);
    transition: transform var(--transition-fast) ease;
}

.service-card:hover,
.portfolio-card:hover {
    transform: translateY(-6px)
}

.service-icon {
    font-size: 26px;
    margin-bottom: 10px
}

.portfolio-media {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center
}

.portfolio-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap
}

.portfolio-tags span {
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(15, 23, 36, 0.03);
    color: var(--muted-600)
}

/* ---------- About / Contact ---------- */
.about-flex {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap
}

.about-text {
    flex: 1;
    min-width: 260px
}

.about-box {
    min-width: 260px;
    padding: 18px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(11, 111, 242, 0.04), rgba(12, 166, 120, 0.02));
    border: 1px solid rgba(11, 111, 242, 0.06)
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 620px;
    margin: 18px auto 0
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: 1px solid rgba(20, 32, 50, 0.06);
    padding: 12px;
    border-radius: 8px;
    color: var(--text-900);
    transition: border-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(15, 23, 36, 0.35)
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: var(--focus-ring);
    border-color: rgba(11, 111, 242, 0.12)
}

/* ---------- Footer ---------- */
.footer {
    padding: 28px 0;
    border-top: 1px solid rgba(20, 32, 50, 0.06);
    margin-top: 40px;
    background: transparent;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 4px;
}

/* ============================
   APPLE / STRIPE STYLE FOOTER
   ============================ */

.footer {
    padding: 40px 0 30px;
    border-top: 1px solid rgba(15, 23, 36, 0.08);
    background: transparent;
    margin-top: 60px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

/* Main footer text */
.footer-inner div {
    color: var(--muted-600);
    font-size: 14px;
    line-height: 1.4;
}

/* Footer links container (Privacy / Terms) */
.footer-links {
    display: flex;
    gap: 18px;
    justify-content: center;
}

/* Footer links */
.footer-links a {
    color: var(--accent-1);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.15s ease, opacity 0.15s ease;
}

/* Hover state */
.footer-links a:hover {
    color: var(--accent-2);
    text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 520px) {
    .footer-inner {
        gap: 16px;
        padding: 0 10px;
    }

    .footer-links {
        gap: 14px;
    }

    .footer-links a {
        font-size: 13px;
    }
}



/* ---------- Animations & accessibility ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(8px);
    animation: fadeUp .6s ease forwards
}

.fade-up-delayed {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp .8s ease .08s forwards
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none
    }
}

:focus {
    outline: none
}

a:focus,
button:focus,
input:focus,
textarea:focus {
    box-shadow: var(--focus-ring);
    border-radius: 8px
}

@media (prefers-reduced-motion: reduce) {

    .fade-up,
    .fade-up-delayed,
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition: none !important;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 18px 0
    }

    .hero-img-card {
        height: 280px
    }

    .nav-menu {
        display: none
    }

    .nav-toggle {
        display: inline-flex
    }

    .nav-inner {
        padding: 12px 0
    }
}

@media (max-width: 520px) {
    .brand-text {
        font-size: 14px
    }

    .hero-copy h1 {
        font-size: 26px
    }

    .product-thumb {
        width: 96px;
        height: 72px
    }
}

/* ---------- Small helpers ---------- */
.hidden {
    display: none !important
}

.kicker {
    font-size: 12px;
    color: var(--muted-600);
    text-transform: uppercase;
    letter-spacing: 1px
}

/* ============================
   CTA — Logo Design (NEW)
   ============================ */

.cta-logo {
    padding: 70px 0;
    background: transparent;
}

.cta-logo-inner {
    background: var(--surface);
    padding: 40px 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(20, 32, 50, 0.05);
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text-900);
}

.cta-sub {
    color: var(--muted-600);
    font-size: 15px;
    margin-bottom: 26px;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.cta-logo-inner .btn {
    padding: 12px 22px;
    font-size: 15px;
    border-radius: 12px;
}

/* Mobile */
@media (max-width: 520px) {
    .cta-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .cta-logo-inner {
        padding: 32px 22px;
    }
}

/* ============================
   FOOTER — tidy, aligned & responsive
   Replace previous footer rules with this block
   ============================ */

.footer-advanced,
.footer {
    padding: 44px 0 18px;
    background: linear-gradient(180deg, rgba(11, 111, 242, 0.015), rgba(12, 166, 120, 0.00));
    border-top: 1px solid rgba(20, 32, 50, 0.04);
    margin-top: 40px;
}

/* TOP GRID */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 320px;
    /* brand | links | contact */
    gap: 20px;
    align-items: center;
    /* crucial: vertically center columns */
    width: min(var(--container-max), 92%);
    margin: 0 auto;
    padding: 6px 0 18px;
}

/* Brand column */
.footer-brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-brand .small-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.footer-brand .brand-text {
    font-weight: 800;
    font-size: 15px;
}

/* Links column (centered horizontally) */
.footer-links-col {
    text-align: center;
}

.footer-links-col h4 {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
}

.footer-links {
    display: inline-flex;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    align-items: center;
    justify-content: center;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: var(--accent-1);
    font-weight: 600;
    font-size: 14px;
    padding: 6px 8px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-links a:hover {
    color: var(--accent-2);
    transform: translateY(-2px);
}

/* Contact column (right aligned on desktop) */
.footer-contact {
    text-align: right;
}

.footer-contact h4 {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
}

.footer-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.footer-actions .btn {
    min-width: 150px;
}

/* BOTTOM ROW */
.footer-bottom {
    width: min(var(--container-max), 92%);
    margin: 18px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 0 28px;
    border-top: 1px solid rgba(20, 32, 50, 0.03);
}

.footer-bottom .copyright {
    color: var(--muted-600);
    font-size: 14px;
    line-height: 1.4;
}

/* social links (right) */
.footer-bottom .social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-bottom .social a {
    color: var(--accent-1);
    font-weight: 600;
    font-size: 14px;
}

/* TUNING FOR BUTTON POP (prevent float overlap) */
.btn {
    position: relative;
    z-index: 2;
}

/* MOBILE / SMALL SCREENS */
@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: left;
    }

    .footer-links-col {
        text-align: left;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-actions {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .footer-bottom .social {
        justify-content: center;
    }
}

/* small screens extra */
@media (max-width: 520px) {
    .footer-actions .btn {
        width: 100%;
        min-width: 0;
    }
}



/* ========== Notes ==========
 - This stylesheet preserves your existing HTML structure and class names.
 - It switches the visual theme to a clean, professional light design.
 - If you want a variant (e.g., brand-green accent, or a "corporate blue" palette) I can make a second CSS quickly.
 - After replace, clear browser cache (Ctrl+F5) to see changes.
================================= */