/* Custom Variables */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #e63946;
    --accent-color: #2a9d8f;
    --text-color: #2b2d42;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --border-radius: 0;
    --box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* General Styles */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Navigation */
.navbar {
    background-color: #fff !important;
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.03em;
}

.nav-link {
    font-weight: 600;
    color: var(--primary-color) !important;
    transition: var(--transition);
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.btn-primary {
    background-color: var(--secondary-color);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.5rem 1.5rem !important;
    transition: var(--transition);
}

.nav-link.btn-primary:hover {
    background-color: #d62828;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background-color: var(--light-bg);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(42, 157, 143, 0.1) 0%, rgba(230, 57, 70, 0.1) 100%);
    z-index: 0;
}

.hero-section h1 {
    color: var(--primary-color);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background: #fff;
    overflow: hidden;
}

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

.card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card-img-top {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    height: 340px;
    object-fit: cover;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    border: none;
}

.btn-primary:hover {
    background-color: #d62828;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-outline-primary {
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 4rem 0 2rem;
}

footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    color: #fff;
    transition: var(--transition);
    margin-right: 1rem;
}

.social-links a:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-3px);
}

/* Image Comparison Slider */
.image-comparison {
    width: 60vw;
    height: 60vw;
    max-width: 1200px;
    max-height: 600px;
    overflow: hidden;
    margin: 2rem auto;
    position: relative;
    cursor: ew-resize;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.image-comparison figure {
    background-image: url('../assets/gouwzeestraat-before.png');
    background-size: cover;
    position: relative;
    font-size: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.image-comparison figure .overlay {
    background-image: url('../assets/gouwzeestraat-now.png');
    background-size: cover;
    position: absolute;
    width: 50%;
    box-shadow: 0 5px 10px -2px rgba(0,0,0,0.3);
    overflow: hidden;
    bottom: 0;
    height: 100%;
    transition: width 0.05s ease-out;
}

.image-comparison .label {
    position: absolute;
    bottom: 20px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--border-radius);
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
    }
}

/* Custom Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--secondary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.timeline-content {
    position: relative;
    width: calc(50% - 2rem);
    padding: 1.5rem;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-date {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-content .card {
    border: none;
    box-shadow: none;
}

.timeline-content .card-body {
    padding: 0;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 1rem;
    }

    .timeline-item::before {
        left: 1rem;
    }

    .timeline-content {
        width: calc(100% - 3rem);
        margin-left: 3rem !important;
    }
} 