/* MKM Elektro - CSS Styles */
:root {
    --primary: #00BFFF;
    --secondary: #1E90FF;
    --dark-bg: #050d1a;
    --mid-bg: #0a1828;
    --surface-light: #112240;
    --chrome: #c8d8e8;
    --text-body: #b0c4d8;
    --white: #ffffff;
    --success: #00FF94;
    --error: #FF3B30;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
}

.btn-primary:hover {
    background: var(--secondary);
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark-bg);
}

.btn-full {
    width: 100%;
}

/* Text utilities */
.text-primary {
    color: var(--primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 24, 40, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-body);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: var(--dark-bg);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--secondary);
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.5);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-link {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

.mobile-cta {
    margin-top: 16px;
    background: var(--primary);
    color: var(--dark-bg);
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 24px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 191, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(30, 144, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
    background-image: 
        linear-gradient(rgba(0, 191, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 191, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: float-particle 8s ease-in-out infinite;
}

@keyframes float-particle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    50% { transform: translateY(-30px) translateX(10px); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-icon {
    margin-bottom: 32px;
    animation: float 3s ease-in-out infinite;
}

.hero-icon svg {
    color: var(--primary);
    filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.5));
}

.lightning-bolt {
    animation: lightning-flash 2s ease-in-out infinite;
}

@keyframes lightning-flash {
    0%, 100% { opacity: 0.7; filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.5)); }
    50% { opacity: 1; filter: drop-shadow(0 0 25px rgba(0, 191, 255, 1)); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #c8d8e8 50%, #8fa8c4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-accent {
    display: block;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    text-shadow: 0 0 30px rgba(0, 191, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 1.5s ease-in-out infinite;
    color: var(--primary);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--dark-bg);
}

.section-surface {
    background: var(--mid-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text {
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.trust-badge {
    background: rgba(10, 24, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 191, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.2);
}

.trust-badge svg {
    color: var(--primary);
    margin-bottom: 12px;
}

.trust-badge h3 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.trust-badge p {
    font-size: 0.875rem;
    color: var(--text-body);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(10, 24, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 191, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 191, 255, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card svg {
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-body);
}

/* Why Section */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.benefits-list {
    margin-top: 32px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.benefit-check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.benefit-check svg {
    color: var(--dark-bg);
}

.benefit-item p {
    font-size: 1.125rem;
}

.quote-card {
    background: rgba(10, 24, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 16px;
    padding: 32px;
}

.quote-icon {
    font-size: 4rem;
    font-family: 'Rajdhani', sans-serif;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
}

.quote-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 24px;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quote-avatar {
    width: 48px;
    height: 48px;
    background: rgba(0, 191, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-avatar svg {
    color: var(--primary);
}

.quote-author strong {
    display: block;
    color: var(--white);
}

.quote-author span {
    font-size: 0.875rem;
    color: var(--text-body);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 13, 26, 0.95) 0%, rgba(0, 191, 255, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-title {
    font-size: 1.25rem;
    color: var(--white);
    margin-top: 8px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.05s;
}

.project-card:hover .project-category,
.project-card:hover .project-title {
    transform: translateY(0);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    color: var(--primary);
}

.contact-item h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
    color: var(--text-body);
    font-size: 0.9375rem;
}

.contact-item a:hover {
    color: var(--primary);
}

.kvk-info {
    background: rgba(10, 24, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

.kvk-info p {
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.kvk-info strong {
    color: var(--white);
}

.contact-card {
    background: rgba(10, 24, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card-title {
    font-size: 1.35rem;
    margin: 0;
    color: var(--white);
}

.contact-card-text {
    color: var(--text-body);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
}

.contact-card-cta {
    font-weight: 500;
    color: var(--chrome);
}

.contact-card-btn {
    margin-top: 8px;
    align-self: flex-start;
}

/* Contact Form */
.contact-form {
    background: rgba(10, 24, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-body);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(5, 13, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--white);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9375rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 255, 148, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.form-message.error {
    display: block;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-logo img {
    height: 48px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-body);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    font-size: 0.875rem;
    color: var(--text-body);
}

.footer-kvk {
    font-size: 0.75rem !important;
    opacity: 0.6;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* Toast */
.toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--mid-bg);
    border: 1px solid rgba(0, 191, 255, 0.3);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    border-color: var(--success);
}

.toast.error {
    border-color: var(--error);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Selection */
::selection {
    background: rgba(0, 191, 255, 0.3);
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .about-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 16px;
        right: 16px;
    }
    
    .section {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .trust-badges {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 80px 16px;
    }
    
    .container {
        padding: 0 16px;
    }
}
