/*
Theme Name: WebTakai
Theme URI: https://webtakai.com
Author: WebTakai
Author URI: https://webtakai.com
Description: Premium custom WordPress theme for WebTakai — digital agency specializing in websites, apps, AI, and branding.
Version: 1.0
License: GPL v2 or later
Text Domain: webtakai
*/

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #0F172A;
    color: #FFFFFF;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #2563EB;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #7C3AED;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.site-title a {
    color: #FFFFFF;
}

.site-title a:hover {
    color: #2563EB;
}

.site-title span {
    color: #2563EB;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

.main-nav a {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #FFFFFF;
}

.nav-cta {
    background: #2563EB;
    color: #FFFFFF !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
    background: #7C3AED !important;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle (hidden on desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 28px;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.15);
    color: #2563EB;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2563EB;
    color: #FFFFFF;
    padding: 14px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: #7C3AED;
    color: #FFFFFF;
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: #FFFFFF;
    padding: 14px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 0;
    background: #F8FAFC;
}

.services-dark {
    background: #0F172A;
    color: #FFFFFF;
}

.section-label {
    display: inline-block;
    color: #2563EB;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-title.light {
    color: #0F172A;
}

.section-title.dark {
    color: #FFFFFF;
}

.section-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    max-width: 560px;
    margin-bottom: 48px;
}

.section-subtitle.light {
    color: #475569;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(255,255,255,0.04);
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    border-color: #2563EB;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-card .icon {
    font-size: 28px;
    margin-bottom: 16px;
    display: block;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.service-card p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.6;
}

/* Light version for services on white bg */
.services-light .service-card {
    background: #FFFFFF;
    border-color: #E2E8F0;
}

.services-light .service-card h3 {
    color: #0F172A;
}

.services-light .service-card p {
    color: #475569;
}

.services-light .service-card:hover {
    border-color: #2563EB;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* ===== WHY CHOOSE US ===== */
.why-choose {
    padding: 80px 0;
    background: #0F172A;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.why-item {
    text-align: center;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: border-color 0.3s;
}

.why-item:hover {
    border-color: #2563EB;
}

.why-item .check {
    color: #2563EB;
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.why-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
}

.why-item p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.cta-section h2 {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    max-width: 480px;
    margin: 0 auto 32px;
}

/* ===== FOOTER ===== */
.site-footer {
    padding: 60px 0 32px;
    background: #0B1120;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-brand h3 span {
    color: #2563EB;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    max-width: 300px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-col ul a:hover {
    color: #2563EB;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.3);
    font-size: 13px;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.footer-links a {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #2563EB;
}

.footer-links .separator {
    color: rgba(255,255,255,0.15);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #2563EB;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        padding-top: 16px;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .main-nav .nav-cta {
        text-align: center;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 17px;
    }

    .section-title {
        font-size: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}