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

:root {
    --primary-color: #d4a574;
    --secondary-color: #2c3e50;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Keep section titles visible when navigating with sticky header links */
section {
    scroll-margin-top: 120px;
}


/* Navigation */
.navbar {
    background-color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Top contact bar displayed above the main navigation */
.top-contact {
    background-color: var(--dark-bg);
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem 0;
}

.top-contact .container {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    align-items: center;
}

.contact-item-header {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.contact-item-header i {
    color: var(--primary-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.landing-logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 110px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.35s ease, filter 0.35s ease;
    transform-origin: center;
    position: relative;
    z-index: 2;
}

.logo-img:hover {
    transform: scale(1.55);
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    display: none;
}

.logo-initials {
    color: var(--primary-color);
    font-size: 1.8rem;
    display: none;
}

.logo-text p {
    color: var(--secondary-color);
    font-size: 0.8rem;
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.7) 0%, rgba(52, 73, 94, 0.7) 100%), url('../images/banner-web.jpg') center/cover no-repeat;
    color: white;
    padding: 100px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: slideInDown 0.8s ease;
    line-height: 1.2;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: slideInDown 0.8s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ecf0f1;
    animation: slideInUp 0.8s ease;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 60px 20px;
    background-color: var(--light-bg);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

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

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    max-width: 68ch;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* background for zamak specialization stat */
.stat.zamak-card {
    position: relative;
    background: url('../images/zamak-web.jpg') center/cover no-repeat;
    background-color: transparent; /* override white */
    color: #fff;
}

.zamak-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3); /* light overlay to preserve photo */
    z-index: 0;
}

.zamak-card h3,
.zamak-card p {
    position: relative;
    z-index: 1;
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Vintage stat card with transparent background */
.vintage-stat-card {
    background: linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)), url('../images/Vintage-1925.jpg') center/cover !important;
    position: relative;
}

.stat.vintage-stat-card h3,
.stat.vintage-stat-card p {
    position: relative;
    z-index: 1;
    color: #000;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
}

/* Zinc card with transparent background image */
.zinc-card {
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/zinc-bolts.jpg') center/cover !important;
    position: relative;
}

.zinc-card h3,
.zinc-card p {
    position: relative;
    z-index: 1;
    color: #000;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

/* Nickel card with transparent background image */
.nickel-card {
    background-image: linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)), url('../images/nickel-web.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.nickel-card h3,
.nickel-card p {
    position: relative;
    z-index: 1;
    color: #000;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

/* YouTube card styling */
.youtube-card {
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #ffffff;
    position: relative;
}

.youtube-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.youtube-card i {
    font-size: 3rem;
    color: #FF0000;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(2px 2px 4px rgba(255, 255, 255, 0.8));
}

.youtube-card h3 {
    color: #000;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.youtube-card p {
    color: #000;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.blink-click {
    color: #ff0000;
    font-weight: 700;
    animation: blinkClick 1s steps(2, start) infinite;
}

/* Services Section */
.services {
    padding: 60px 20px;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

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

.services-grid .service-card {
    text-decoration: none;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 1rem auto;
    display: block;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 700;
}

.service-card p {
    color: #333333;
    line-height: 1.6;
    font-weight: 600;
}

/* Keep photo backgrounds visible after base service-card styles */
.service-card.workshop-card {
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/workshop-web-opt.jpg') center/cover no-repeat !important;
}

.service-card.chrome-card {
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/chromed-part.png') center/cover no-repeat !important;
}

.service-card.nickel-card {
    background-image: linear-gradient(rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22)), url('../images/nickel-web.jpg') !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.service-card.copper-card {
    background: linear-gradient(rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.52)), url('../images/copper-web.jpg') center/cover no-repeat !important;
}

.service-card.zinc-card {
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/zinc-bolts.jpg') center/cover no-repeat !important;
}

.service-card.specialist-card {
    background: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), url('../images/specialist-web.jpg') center/cover no-repeat !important;
}

/* Ons Werk section uses the same card style as services */
.our-work {
    padding: 60px 20px;
    background-color: var(--light-bg);
}

.our-work h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.work-grid .service-card {
    text-decoration: none;
}

.work-card h3,
.work-card p {
    color: #000;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.82);
}

.work-card-1 {
    background: linear-gradient(rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.52)), url('../images/Verchromen-auto-onderdelen-web.jpg') center/cover no-repeat !important;
}

.work-card-2 {
    background: linear-gradient(rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.52)), url('../images/Zundapp-web.jpg') center/cover no-repeat !important;
}

.work-card-3 {
    background: linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.42)), url('../images/Motor-onderdelen-web.jpg') center/cover no-repeat !important;
}

.work-card-4 {
    background: linear-gradient(rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.56)), url('../images/Boot-onderdeel-web.jpg') center/cover no-repeat !important;
}

.work-card-5 {
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/Vernikkelen-motor-onderdelen-web.jpg') center/cover no-repeat !important;
}

.work-card-6 {
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/zinc-bolts.jpg') center/cover no-repeat !important;
}

.seo-pages {
    background-color: #ffffff;
}

.seo-link-card {
    min-height: 220px;
}

/* Specialist card with background image */
.specialist-card {
    background-image: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), url('../images/specialist-web.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

/* Workshop card with transparent background image */
.workshop-card {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/workshop-web-opt.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.workshop-card h3,
.workshop-card p {
    position: relative;
    z-index: 1;
    color: #000;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

/* Chrome card with transparent background image */
.chrome-card {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/chromed-part.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.chrome-card h3,
.chrome-card p {
    position: relative;
    z-index: 1;
    color: #000;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

/* Copper card with transparent background image */
.copper-card {
    background-image: linear-gradient(rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.52)), url('../images/copper-web.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.copper-card h3,
.copper-card p {
    position: relative;
    z-index: 1;
    color: #000;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: var(--light-bg);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.contact-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

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

.footer p {
    opacity: 0.95;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes blinkClick {
    50% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blink-click {
        animation: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-contact {
        display: none;
    }
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        left: -100%;
        top: 100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .logo p {
        display: block;
    }

    .logo-initials {
        display: none;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        max-width: 90%;
    }

    .hero {
        padding: 60px 20px;
        min-height: 400px;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 90%;
    }

    .service-card {
        min-height: auto;
    }

    .logo-img {
        height: 80px;
    }

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

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

    .map-container {
        height: 320px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

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

    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    section {
        scroll-margin-top: 100px;
    }

    .hero-content h1 {
        font-size: 1.4rem;
        line-height: 1.35;
    }

    .hero-content p {
        font-size: 0.98rem;
    }

    .cta-button {
        padding: 12px 22px;
        width: 100%;
        max-width: 280px;
    }

    .hero {
        padding: 40px 15px;
        min-height: 350px;
    }

    .logo-img {
        height: 70px;
    }

    .map-container {
        height: 260px;
    }

    .about h2,
    .services h2,
    .our-work h2,
    .contact h2 {
        font-size: 1.8rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }
}
