/* Jan Wolber Website Styles - SEO Optimized Version */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* SEO Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #e53e3e;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e53e3e;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-name {
    color: #2d3748;
    font-weight: 600;
}

.logo-separator {
    color: #e53e3e;
    font-weight: 300;
    font-size: 1.5rem;
}

.logo-brand {
    color: #e53e3e;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover, .nav-links a:focus {
    color: #e53e3e;
    outline: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #e53e3e;
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a:focus::after {
    width: 100%;
}

/* Logo Animations */
.logo:hover .logo-brand {
    color: #c53030;
    transition: color 0.3s ease;
}

.logo:hover .logo-separator {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 65%;
    height: 200%;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    transform: rotate(15deg);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 40%;
    height: 160%;
    background: rgba(229, 62, 62, 0.1);
    transform: rotate(-15deg);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-shadow: 8px 8px 4px rgba(0, 0, 0, 0.3);
}

.hero h1 strong {
    font-weight: 700;
    color: #fa2121;
    text-shadow: 8px 8px 8px rgba(0, 0, 0, 0.3);
}

.brand-name {
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 4px;
}

.brand-highlight {
    color: #fa2121;
    font-weight: 700;
    text-shadow: 8px 8px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    margin: 0 10px;
}

.cta-button:hover, .cta-button:focus {
    background: transparent;
    border-color: #e53e3e;
    color: #e53e3e;
    outline: none;
}

.cta-button.secondary {
    background: transparent;
    border-color: white;
    color: white;
}

.cta-button.secondary:hover, .cta-button.secondary:focus {
    background: white;
    color: #2d3748;
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-top: 80px;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb nav {
    padding: 0;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.breadcrumb li::after {
    content: '>';
    margin-left: 0.5rem;
    color: #718096;
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: #e53e3e;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Services Section */
.services {
    background: white;
    padding: 100px 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.03), rgba(197, 48, 48, 0.03));
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #616772;
    font-weight: 300;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e53e3e;
}

.section-title p {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(45, 55, 72, 0.1);
    text-align: left;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
}

.service-card:hover, .service-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(45, 55, 72, 0.15);
    border-left-color: #e53e3e;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: white;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 15% 100%);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2d3748;
    font-weight: 600;
}

.service-card p {
    color: #718096;
    line-height: 1.7;
}

/* Project Calculator Section */
.calculator {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.calculator::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 140%;
    background: rgba(229, 62, 62, 0.05);
    transform: rotate(15deg);
}

.calculator-content {
    position: relative;
    z-index: 2;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.calculator-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-left: 4px solid #e53e3e;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #cbd5e0;
    font-weight: 600;
}

.form-group select,
.form-group input[type="range"] {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 0;
}

.form-group select {
    background: rgba(45, 55, 72, 0.9);
}

.form-group select option {
    background: #2d3748;
    color: white;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #e53e3e;
}

.range-display {
    text-align: center;
    margin-top: 0.5rem;
    color: #e53e3e;
    font-weight: bold;
    font-size: 1.1rem;
}

.calculator-result {
    background: rgba(229, 62, 62, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border: 1px solid rgba(229, 62, 62, 0.3);
    text-align: center;
    position: sticky;
    top: 100px;
}

.price-display {
    font-size: 3rem;
    font-weight: bold;
    color: #e53e3e;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.price-breakdown {
    text-align: left;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #e53e3e;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-button:hover, .quote-button:focus {
    background: linear-gradient(135deg, #c53030, #e53e3e);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 62, 62, 0.3);
    outline: 2px solid #fff;
}

/* About Section */
.about {
    background: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 140%;
    background: rgba(229, 62, 62, 0.03);
    transform: rotate(-15deg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #2d3748;
    font-weight: 300;
}

.about-text p {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.tech-item {
    background: rgba(229, 62, 62, 0.1);
    padding: 0.8rem 1rem;
    border: 1px solid rgba(229, 62, 62, 0.3);
    font-weight: 600;
    color: #e53e3e;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: #e53e3e;
    color: white;
}

.about-visual {
    background: rgba(45, 55, 72, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-left: 4px solid #e53e3e;
}

.code-snippet {
    background: #1a202c;
    color: #68d391;
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    border-left: 3px solid #e53e3e;
}

/* Contact Section */
.contact {
    background: #2d3748;
    padding: 100px 0;
    position: relative;
    color: white;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    height: 80%;
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.05), rgba(197, 48, 48, 0.05));
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 300;
    text-align: center;
}

.contact-intro {
    font-size: 1.1rem;
    color: #cbd5e0;
    margin-bottom: 3rem;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-left: 4px solid #e53e3e;
}

.contact-form h3 {
    color: #e53e3e;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 0;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e53e3e;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group.privacy {
    margin: 1.5rem 0;
}

.checkbox-group.privacy .checkbox-item {
    align-items: flex-start;
    gap: 0.8rem;
}

.checkbox-group.privacy label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group.privacy a {
    color: #e53e3e;
    text-decoration: none;
}

.checkbox-group.privacy a:hover {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-submit:hover,
.form-submit:focus {
    background: linear-gradient(135deg, #c53030, #e53e3e);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 62, 62, 0.3);
    outline: 2px solid #fff;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Contact Info */
.contact-info {
    background: rgba(229, 62, 62, 0.1);
    color: white;
    padding: 3rem;
    border: 1px solid rgba(229, 62, 62, 0.3);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e53e3e;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: #e53e3e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 15% 100%);
}

.contact-method-info h4 {
    color: #cbd5e0;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-method-info p,
.contact-method-info a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-method-info a:hover {
    color: #e53e3e;
}

.response-time {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #e53e3e;
    font-size: 0.9rem;
    color: #cbd5e0;
}

/* Legal Pages */
.legal-page {
    background: white;
    padding: 100px 0;
    color: #2d3748;
    margin-top: 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2d3748;
    font-weight: 300;
    text-align: center;
}

.legal-page h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: #e53e3e;
    font-weight: 600;
}

.legal-page h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem 0;
    color: #2d3748;
    font-weight: 600;
}

.legal-page p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-page ul {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.7;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

.legal-page a {
    color: #e53e3e;
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.legal-section {
    background: #f8f9fa;
    padding: 2rem;
    border-left: 4px solid #e53e3e;
}

.legal-section h3 {
    color: #e53e3e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.legal-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Page specific hiding */
.page-hidden {
    display: none;
}

/* Footer */
footer {
    background: #1a202c;
    color: #cbd5e0;
    text-align: center;
    padding: 3rem 0 2rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section h4 {
    color: #e53e3e;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #e53e3e;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Form Status Messages */
.form-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid;
    border-radius: 0;
}

.form-message.success {
    background: rgba(72, 187, 120, 0.1);
    border-color: #48bb78;
    color: #48bb78;
}

.form-message.error {
    background: rgba(245, 101, 101, 0.1);
    border-color: #f56565;
    color: #f56565;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .hero p {
        font-size: 1rem;
    }

    .nav-links {
        display: none;
    }

    .about-content,
    .calculator-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .calculator-result {
        position: static;
        margin-top: 2rem;
    }

    .services::before,
    .about::before,
    .contact::after,
    .calculator::before {
        display: none;
    }

    .cta-button {
        display: block;
        margin: 10px auto;
        text-align: center;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .breadcrumb {
        display: none;
    }
}

/* Geometric Elements */
.geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.geometric-shape {
    position: absolute;
    background: rgba(255, 61, 61, 0.096);
    clip-path: polygon(0 0, 100% 20%, 0% 100%, 0% 80%);
}

.shape-1 {
    width: 400px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}