/* 
    ======================================
    CSS FÜR IT SERVICES MEYER
    Domain: digital-craftsman.com
    ======================================
*/

:root {
    /* Colors */
    --bg-main: #0B0E14;        /* Deep charcoal/black */
    --bg-surface: #151A21;     /* Lighter charcoal for cards */
    --bg-surface-hover: #1D232C;
    
    --accent-primary: #FF7B00; /* Construction Orange */
    --accent-hover: #E06C00;
    --accent-glow: rgba(255, 123, 0, 0.4);
    
    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --text-dark: #000000;      /* For text on top of primary button */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Border Radius & Spacing */
    --br-sm: 4px;
    --br-md: 8px;
    --br-lg: 16px;
    --br-pill: 9999px;
    
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* =====================================
   Base Styles / Reset
   ===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 span, h2 span {
    color: var(--accent-primary);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-hover);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =====================================
   Buttons & Badges
   ===================================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--br-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-heading);
    border: none;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--text-dark);
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.6);
}

.btn-primary-small {
    background-color: var(--accent-primary);
    color: var(--text-dark);
    padding: 0.6rem 1.2rem;
    border-radius: var(--br-md);
    font-weight: 600;
}
.btn-primary-small:hover {
    background-color: var(--accent-hover);
    color: var(--text-dark);
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 123, 0, 0.1);
    color: var(--accent-primary);
    padding: 0.4rem 0.8rem;
    border-radius: var(--br-pill);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 123, 0, 0.2);
}

/* =====================================
   Header / Navigation
   ===================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    transition: padding var(--transition-normal);
}

.header.scrolled {
    padding: 0.5rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}
.logo span {
    color: var(--accent-primary);
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
}
.nav-link:hover {
    color: var(--text-primary);
}

/* Mobile Toggle (Hidden Desktop) */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.mobile-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* =====================================
   Responsive Nav
   ===================================== */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-main);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
    }
    
    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* =====================================
   Hero Section
   ===================================== */
.hero {
    padding-top: 150px;
    padding-bottom: var(--space-xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.visual-placeholder {
    width: 100%;
    border-radius: var(--br-lg);
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 123, 0, 0.2);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.9;
    filter: contrast(1.1) brightness(0.9);
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: rgba(255, 123, 0, 0.15);
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background-color: rgba(255, 255, 255, 0.05);
    bottom: -50px;
    left: -50px;
}

@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-description {
        margin: 0 auto 2.5rem auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero {
        padding-top: 120px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
}

/* =====================================
   About Section
   ===================================== */
.about {
    padding: var(--space-xl) 0;
    background-color: var(--bg-surface);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.check-list {
    margin-top: 2rem;
}
.check-list li {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--bg-main);
    padding: 2rem;
    border-radius: var(--br-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 123, 0, 0.3);
}

.stat-number {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
}

@media (max-width: 992px) {
    .about-inner {
        grid-template-columns: 1fr;
    }
}

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

.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-surface);
    padding: 2.5rem 2rem;
    border-radius: var(--br-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--accent-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-surface-hover);
}

.service-card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 123, 0, 0.1);
    color: var(--accent-primary);
    border-radius: var(--br-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =====================================
   Contact Form Section
   ===================================== */
.contact {
    padding: var(--space-xl) 0;
    background-color: var(--bg-surface);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item strong {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--text-secondary);
}

.contact-item a:hover {
    color: var(--accent-primary);
}

.contact-form-wrapper {
    background-color: var(--bg-main);
    padding: 2.5rem;
    border-radius: var(--br-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--br-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

@media (max-width: 992px) {
    .contact-inner {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   Footer
   ===================================== */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
