/*
Theme Name: Marko - Digital Marketing Agency
Theme URI: https://home.foxcreation.net/marko/
Author: Marko Theme
Description: A professional digital marketing agency theme built for use with Elementor Template Kit. Import the included kit via Elementor > Tools > Import/Export Kit.
Version: 1.0.1
Requires at least: 5.6
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marko-digital-marketing
Tags: elementor, business, marketing, agency, portfolio, one-column, custom-colors, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a2e;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0f0f1a;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }

p { margin-bottom: 1rem; color: #555; }

a { color: #6c63ff; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #4a41cc; }

/* === Layout === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-main { min-height: 60vh; }

/* === Header === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-branding .site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f0f1a;
    letter-spacing: -0.5px;
}
.site-branding .site-title span { color: #6c63ff; }

/* === Navigation === */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}
.main-navigation a {
    font-weight: 500;
    font-size: 0.95rem;
    color: #333;
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: #6c63ff;
    border-bottom-color: #6c63ff;
}

.nav-cta {
    background: #6c63ff;
    color: #fff !important;
    padding: 0.55rem 1.4rem !important;
    border-radius: 50px !important;
    border-bottom: none !important;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease !important;
}
.nav-cta:hover {
    background: #4a41cc !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* === Hero Section === */
.hero-section {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a3e 50%, #2d1b69 100%);
    color: #fff;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(108,99,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.hero-section h1 { color: #fff; margin-bottom: 1.5rem; }
.hero-section p { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width: 600px; margin: 0 auto 2.5rem; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}
.btn-primary {
    background: #6c63ff;
    color: #fff;
    box-shadow: 0 4px 20px rgba(108,99,255,0.4);
}
.btn-primary:hover {
    background: #4a41cc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108,99,255,0.5);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    margin-left: 1rem;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}

/* === Sections === */
.section { padding: 90px 0; }
.section-alt { background: #f8f7ff; }
.section-dark { background: #0f0f1a; color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.7); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #6c63ff;
    margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 550px; margin: 0 auto; }

/* === Cards === */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }

.card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0eeff;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(108,99,255,0.12);
}
.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6c63ff, #a78bfa);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.card p { font-size: 0.92rem; color: #777; margin: 0; }

/* === Stats === */
.stats-bar {
    background: #6c63ff;
    padding: 50px 0;
}
.stats-bar .grid-4 { text-align: center; }
.stat-item .number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.stat-item .label {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* === Process Steps === */
.steps { counter-reset: step; }
.step-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 40px;
}
.step-number {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #6c63ff;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Testimonials === */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border-left: 4px solid #6c63ff;
}
.testimonial-card p { font-style: italic; font-size: 1.05rem; color: #444; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c63ff, #a78bfa);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}
.author-info .name { font-weight: 700; font-size: 0.95rem; margin: 0; color: #1a1a2e; }
.author-info .role { font-size: 0.82rem; color: #888; }

/* === Pricing === */
.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 2px solid #f0eeff;
    text-align: center;
    transition: all 0.3s ease;
}
.pricing-card.featured {
    background: linear-gradient(135deg, #6c63ff, #4a41cc);
    color: #fff;
    border-color: transparent;
    transform: scale(1.05);
}
.pricing-card.featured h3,
.pricing-card.featured p { color: #fff; }
.pricing-card.featured p { color: rgba(255,255,255,0.8); }
.price { font-size: 3rem; font-weight: 800; color: #0f0f1a; line-height: 1; }
.pricing-card.featured .price { color: #fff; }
.price-period { font-size: 1rem; font-weight: 400; opacity: 0.7; }
.pricing-features { list-style: none; margin: 1.5rem 0; text-align: left; }
.pricing-features li { padding: 0.5rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 0.92rem; }
.pricing-features li::before { content: '✓  '; color: #6c63ff; font-weight: 700; }
.pricing-card.featured .pricing-features li::before { color: #c7c0ff; }
.pricing-card.featured .pricing-features li { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); }

/* === Team === */
.team-card {
    text-align: center;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}
.team-card:hover { transform: translateY(-6px); }
.team-avatar {
    height: 200px;
    background: linear-gradient(135deg, #1a1a3e, #2d1b69);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}
.team-info { padding: 24px; }
.team-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-info .role { font-size: 0.85rem; color: #6c63ff; font-weight: 600; margin: 0; }

/* === Blog === */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-thumbnail {
    height: 200px;
    background: linear-gradient(135deg, #1a1a3e, #6c63ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.blog-content { padding: 24px; }
.blog-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6c63ff;
    margin-bottom: 0.5rem;
}
.blog-content h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.read-more { font-size: 0.9rem; font-weight: 600; color: #6c63ff; }

/* === CTA Banner === */
.cta-banner {
    background: linear-gradient(135deg, #6c63ff 0%, #2d1b69 100%);
    padding: 90px 0;
    text-align: center;
    color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 550px; margin: 0 auto 2.5rem; }

/* === Footer === */
.site-footer {
    background: #0a0a18;
    color: rgba(255,255,255,0.7);
    padding: 70px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand .site-title { color: #fff; font-size: 1.4rem; font-weight: 800; }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; }
.footer-col h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col ul li a:hover { color: #a78bfa; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    transition: background 0.3s;
}
.social-links a:hover { background: #6c63ff; color: #fff; }

/* === Forms === */
.contact-form { max-width: 680px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 2px solid #e8e4ff;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.3s;
    font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6c63ff;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* === 404 Page === */
.error-404 { text-align: center; padding: 120px 20px; }
.error-404 .error-code { font-size: 8rem; font-weight: 900; color: #f0eeff; line-height: 1; }
.error-404 h2 { font-size: 2rem; margin-bottom: 1rem; }

/* === Breadcrumb === */
.breadcrumb {
    background: #f8f7ff;
    padding: 50px 0 40px;
    text-align: center;
}
.breadcrumb h1 { margin-bottom: 0.5rem; }
.breadcrumb-nav { font-size: 0.9rem; color: #888; }
.breadcrumb-nav a { color: #6c63ff; }

/* === Responsive === */
@media (max-width: 768px) {
    .main-navigation { display: none; }
    .hero-section { padding: 80px 0 70px; }
    .section { padding: 60px 0; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* === Elementor Compatibility === */
.elementor-page .site-header,
.elementor-page .site-footer { display: block; }

.elementor-section { margin: 0 !important; }
