/* WoonTocht.nl - Index Page Styling */
/* Modern, colorful, professional property management design */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Trust + Action-oriented */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: #60a5fa;
    --action-orange: #fb923c;
    --action-orange-dark: #ea580c;
    --success-green: #22c55e;
    --success-green-dark: #16a34a;
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-hero: linear-gradient(135deg, #2563eb 0%, #fb923c 50%, #22c55e 100%);
    --gradient-orange: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    --gradient-green: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xs) 0;
    min-height: 140px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-domain {
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

/* Show mobile menu button only on mobile/tablet */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 154px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

/* Mobile nav only visible on mobile/tablet when active */
@media (max-width: 768px) {
    .mobile-nav.active {
        display: block;
        transform: translateY(0);
    }
}

/* Ensure mobile nav is never visible on desktop */
@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
}

.mobile-nav-links {
    list-style: none;
    padding: var(--space-lg) 0;
    margin: 0;
}

.mobile-nav-links li {
    margin: 0;
}

.mobile-nav-link {
    display: block;
    padding: var(--space-md) var(--space-lg);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-blue);
    background: var(--bg-light);
    padding-left: var(--space-xl);
}

.mobile-nav-link.active {
    border-left: 4px solid var(--primary-blue);
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: var(--text-white);
    padding: 8rem 0 var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 154px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-orange);
    color: var(--text-white);
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    text-decoration: none;
    color: var(--text-white);
}

/* Services Section */
.services {
    padding: var(--space-3xl) 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.service-card:nth-child(2) .service-icon {
    background: var(--gradient-orange);
}

.service-card:nth-child(3) .service-icon {
    background: var(--gradient-green);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.service-card:nth-child(5) .service-icon {
    background: var(--gradient-green);
}

.service-card:nth-child(6) .service-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Benefits Section */
.benefits {
    padding: var(--space-2xl) 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.benefit-badge {
    background: var(--bg-white);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.benefit-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    flex-shrink: 0;
}

.benefit-badge:nth-child(2) .benefit-icon {
    background: var(--gradient-primary);
}

.benefit-badge:nth-child(3) .benefit-icon {
    background: var(--gradient-orange);
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Contact Form Section */
.contact-form-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-gray);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.form-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    padding: var(--space-sm);
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Radio Button Styling */
.radio-group {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xs);
}

.radio-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.radio-label:hover {
    color: var(--primary-blue);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--bg-white);
    border-radius: 50%;
}

.radio-label:hover .radio-custom {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.submit-button {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    margin-top: var(--space-sm);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.privacy-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
}

/* Testimonials Section */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: var(--space-md);
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-blue);
    position: absolute;
    top: -10px;
    left: -20px;
    font-family: serif;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.author-location {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* FAQ Section */
.faq {
    padding: var(--space-3xl) 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    padding: var(--space-md);
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeInDown 0.3s ease-out;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--text-white);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
}

.footer-description {
    color: #6b7280;
    line-height: 1.6;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: var(--space-xs);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.5;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--primary-blue-light);
    margin-top: 2px;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--text-white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copyright {
    color: #94a3b8;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--text-white);
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
}

/* Desktop Navigation - Only visible on desktop */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
    
    .mobile-nav {
        display: none !important;
    }
}

/* Mobile/Tablet Navigation - Only visible on mobile/tablet */
@media (max-width: 768px) {
    /* Hide desktop navigation completely on mobile */
    .nav-links {
        display: none !important;
    }
    
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex !important;
    }
    
    /* Hide mobile nav by default - only show when active */
    .mobile-nav {
        display: none;
    }
    
    /* Show mobile nav only when active class is present */
    .mobile-nav.active {
        display: block !important;
        transform: translateY(0);
    }
    
    .hero {
        padding: 6rem 0 var(--space-2xl);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
            "logo logo"
            "nav services" 
            "contact contact";
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-content .footer-section:nth-child(1) {
        grid-area: logo;
    }
    
    .footer-content .footer-section:nth-child(2) {
        grid-area: nav;
    }
    
    .footer-content .footer-section:nth-child(3) {
        grid-area: services;
    }
    
    .footer-content .footer-section:nth-child(4) {
        grid-area: contact;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .form-container {
        padding: var(--space-md);
    }
    
    .service-card,
    .testimonial-card {
        padding: var(--space-md);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
