/*
Theme Name: Tomas Vlcko SEM Consultant
Theme URI: https://tomasvlcko.com
Author: Tomas Vlcko
Author URI: https://tomasvlcko.com
Description: Professional SEM consultant theme for WordPress featuring Google Ads, Bing Ads, and Meta Ads services. Clean, modern design optimized for conversion.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tomasvlcko
Tags: business, one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    /* Colors */
    --primary-color: #2D5F5D;
    --primary-light: #3A7371;
    --primary-dark: #1F4442;
    --accent-color: #B8926A;
    --accent-light: #D4B896;
    
    --text-primary: #1A1A1A;
    --text-secondary: #4A5568;
    --text-light: #718096;
    
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-accent: #F0F4F3;
    
    --border-color: #E2E8F0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* Typography */
    --font-serif: 'Crimson Pro', Georgia, serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
    --section-padding-mobile: 60px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* ===================================
   Container & Utilities
   =================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    padding: 10px 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
}

.contact-btn::after {
    display: none;
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-wrapper {
    margin-bottom: 24px;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.partner-badge {
    width: 150px;
    height: auto;
}

.hero-title {
    font-size: 58px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: var(--font-serif);
}

.title-accent {
    display: block;
    color: var(--accent-color);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.title-main {
    display: block;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-platforms {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.platform-tag {
    padding: 8px 16px;
    background: var(--bg-accent);
    color: var(--primary-color);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--primary-color);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-full {
    width: 100%;
}

.hero-image {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.image-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border: 3px solid var(--accent-color);
    border-radius: 12px;
    z-index: -1;
}

.floating-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.card-icon {
    font-size: 32px;
}

.card-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 42px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-family: var(--font-serif);
    line-height: 1.3;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
}

.lead-text {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-serif);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-certifications {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.cert-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 32px;
}

.cert-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cert-card {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.cert-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

.cert-card img {
    max-width: 120px;
    margin: 0 auto 16px;
}

.cert-card p {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: var(--section-padding) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-icon.google {
    background: #F3F7FF;
}

.service-icon.bing {
    background: #E8F4FF;
}

.service-icon.meta {
    background: #EFF6FF;
}

.service-icon svg {
    width: 36px;
    height: 36px;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 15px;
    position: relative;
    padding-left: 24px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ===================================
   Clients Section
   =================================== */
.clients {
    padding: var(--section-padding) 0;
    background: var(--bg-accent);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    transition: var(--transition-smooth);
    height: 100px;
}

.client-logo:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-padding) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent);
    border-radius: 8px;
}

.contact-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-value:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 95, 93, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ===================================
   Legal Pages (Privacy & Imprint)
   =================================== */
.legal-page {
    padding: 160px 0 100px;
    background: var(--bg-secondary);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.page-title {
    font-size: 42px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-family: var(--font-serif);
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-family: var(--font-serif);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--primary-dark);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-col a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
    color: white;
}

.footer-legal-links .separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 800px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .legal-page {
        padding: 120px 0 60px;
    }
    
    .legal-content {
        padding: 40px 24px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .legal-section h2 {
        font-size: 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
        gap: 20px;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .title-accent {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 500px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .floating-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-platforms {
        justify-content: center;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 400px;
    }
}
