/* Tizio B.V. - Static Site Stylesheet */

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: #00A4E4;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0088c2;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

/* ==========================================================================
   Utility
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #133765;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(38, 39, 45, 0.3);
    z-index: 1000;
    padding: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled .main-nav a {
    color: #26272d;
}

.site-header.scrolled .main-nav a::after {
    background: #48a3de;
}

.site-header.scrolled .main-nav a:hover {
    color: #48a3de;
}

.site-header.scrolled .hamburger span {
    background: #26272d;
}

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

.site-logo img {
    height: 80px;
    width: auto;
}

.site-logo a {
    display: flex;
    align-items: center;
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #48a3de;
    transition: background 0.3s ease;
}

.main-nav a:hover {
    color: #00A4E4;
}

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

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-section::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: lowercase;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    background: #fff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-section .section-title {
    color: #48a3de;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* ==========================================================================
   Diensten (Services) Section
   ========================================================================== */

.diensten-section {
    position: relative;
    background: #f7f8fa;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.diensten-section::before {
    display: none;
}

.diensten-section .container {
    position: relative;
    z-index: 2;
}

.diensten-section .section-title {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.diensten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.dienst-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid #00A4E4;
}

.dienst-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dienst-card h3 {
    font-size: 1.25rem;
    color: #133765;
    margin-bottom: 0.75rem;
}

.dienst-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Alternating backgrounds for cards */
.dienst-card:nth-child(even) {
    background: #f9fafb;
}

.dienst-card {
    border-top: 3px solid #48a3de;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-section {
    position: relative;
    background: #26272d;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 39, 45, 0.85);
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-section .section-title {
    color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 2rem;
}

.testimonial-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border-left: 3px solid #00A4E4;
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.testimonial-card blockquote::before {
    content: '\201C';
    font-size: 3rem;
    color: #00A4E4;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

/* ==========================================================================
   Why Tizio Section
   ========================================================================== */

.why-section {
    background: #fff;
}

.why-section .section-title {
    color: #48a3de;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 2rem;
}

.why-item {
    text-align: center;
    padding: 20px;
}

.why-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #133765;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.why-item p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Jobs Section
   ========================================================================== */

.jobs-section {
    display: none;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.jobs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 39, 45, 0.8);
    z-index: 1;
}

.jobs-section .container {
    position: relative;
    z-index: 2;
}

.jobs-section .section-title {
    color: #fff;
}

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

.jobs-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    position: relative;
    background: #f7f8fa;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-section::before {
    display: none;
}

.contact-section .container {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.contact-section .section-title {
    color: #fff;
}

.contact-section .contact-info-item,
.contact-section .contact-info-item a,
.contact-section .contact-info-item span {
    color: #fff;
}

.contact-section .contact-info-item strong {
    color: #fff;
}

.contact-section .contact-info-centered h3 {
    color: #fff;
}

.contact-section .contact-map iframe {
    opacity: 0.9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 2rem;
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #133765;
    font-size: 0.9rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: #fff;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00A4E4;
    box-shadow: 0 0 0 3px rgba(0, 164, 228, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-submit {
    display: inline-block;
    background: #133765;
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .btn-submit:hover {
    background: #48a3de;
    transform: translateY(-1px);
}

/* Contact Info */
.contact-info-centered {
    background: rgba(0, 0, 0, 0.55);
    padding: 30px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3,
.contact-info-centered h3 {
    font-size: 1.2rem;
    color: #133765;
    margin-bottom: 1.5rem;
}

.contact-info-item,
.contact-info-centered .contact-info-item {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info-centered .contact-info-item {
    justify-content: flex-start;
}

.contact-info-item strong {
    color: #133765;
    min-width: 70px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #26272d;
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #00A4E4;
    color: #fff;
}

/* Map */
.contact-map {
    margin-top: 0;
}

.contact-building-img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 20px;
}

.contact-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Form Messages */
.form-message {
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.form-message--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #26272d;
    color: rgba(255, 255, 255, 0.6);
    padding: 30px 0;
}

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

.footer-inner p {
    font-size: 0.85rem;
}

.footer-inner a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-inner a:hover {
    color: #00A4E4;
}

/* ==========================================================================
   Privacy Page
   ========================================================================== */

.privacy-page {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 60vh;
}

.privacy-page h1,
.privacy-page h2,
.privacy-page h3 {
    color: #26272d;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.privacy-page h1 {
    font-size: 2rem;
    margin-top: 0;
}

.privacy-page p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.privacy-page ul,
.privacy-page ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: #555;
}

.privacy-page li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

/* ==========================================================================
   Default Page / Index
   ========================================================================== */

.default-content {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 60vh;
}

.default-content article {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.default-content article:last-child {
    border-bottom: none;
}

.default-content h2 {
    color: #26272d;
    margin-bottom: 0.5rem;
}

.default-content h2 a {
    color: #26272d;
}

.default-content h2 a:hover {
    color: #00A4E4;
}

.default-content .entry-meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 1rem;
}

.default-content .entry-content p {
    color: #555;
    line-height: 1.8;
}

/* ==========================================================================
   Privacy Modal
   ========================================================================== */

.privacy-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.privacy-modal-overlay.active {
    display: flex;
}

.privacy-modal {
    background: #fff;
    max-width: 600px;
    width: 90%;
    padding: 40px;
    border-radius: 6px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.privacy-modal h2 {
    color: #133765;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.privacy-modal p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.privacy-modal a {
    color: #00A4E4;
}

.privacy-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.privacy-modal-close:hover {
    color: #333;
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #26272d;
    z-index: 1500;
    padding: 15px 0;
}

.cookie-banner.visible {
    display: block;
}

.cookie-banner-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner-inner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
}

.cookie-banner-inner button {
    background: #00A4E4;
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.cookie-banner-inner button:hover {
    background: #0088c2;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Header mobile */
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #26272d;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .main-nav.open {
        max-height: 400px;
        padding: 20px 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 12px 0;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2rem;
    }

    /* Sections */
    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    /* Services */
    .diensten-grid {
        grid-template-columns: 1fr;
    }

    /* Why */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 15px;
    }
}
