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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: #fff;
    color: #333;
}

/* Navigation Bar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #2c3e50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #3498db;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover {
    color: #3498db;
    background-color: rgba(52, 152, 219, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Content Section Styles */
.content-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 100%;
    margin: 0;
    padding: 0 4vw;
    align-items: center;
}

.section-image {
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.section-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.section-image img:hover {
    transform: scale(1.05);
}

.section-content h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

/* Adjust container to account for fixed navbar */
.container {
    width: 100%;
    margin: 0 0 2rem 0;
    padding: 2.5rem 4vw;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
}

h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

input:focus, select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

button {
    flex: 1;
    padding: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

#clearForm {
    background-color: #e74c3c;
}

#clearForm:hover {
    background-color: #c0392b;
}

#cancelEdit {
    background-color: #95a5a6;
}

#cancelEdit:hover {
    background-color: #7f8c8d;
}

.result {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    text-align: left;
}

.result h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

#totalPrice {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-align: right;
    margin-bottom: 1.2rem;
}

.window-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.window-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 1;
}

.window-actions button {
    position: relative;
}

.window-actions button .tooltip {
    visibility: hidden;
    opacity: 0;
    width: max-content;
    background: #222b3a;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 0.25rem 0.7rem;
    position: absolute;
    z-index: 10;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.92rem;
    pointer-events: none;
    transition: opacity 0.18s;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
}

.window-actions button:hover .tooltip,
.window-actions button:focus .tooltip {
    visibility: visible;
    opacity: 1;
}

.edit-window, .remove-window {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 0.9rem;
    flex: 0;
}

.edit-window:hover {
    background-color: #2980b9;
}

.remove-window {
    background-color: #e74c3c;
}

.remove-window:hover {
    background-color: #c0392b;
}

.window-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-right: 4rem;
}

.window-price {
    font-weight: bold;
    color: #fff;
    font-size: 1.08rem;
    text-align: left;
    margin-bottom: 0.5rem;
}

#windowsSummary {
    margin-bottom: 1rem;
    text-align: left;
}

/* Windows List Styling voor nieuwe kolomstructuur */
#windowsList {
    margin-bottom: 1rem;
}

#windowsList .window-item {
    margin-bottom: 1rem;
}

#windowsList .window-item:last-child {
    margin-bottom: 0;
}

/* Oude main-flex styling - nu vervangen door calculator-section */
.main-flex {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4vw;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
}

/* Oude container styling - nu vervangen door column-content */
.container-calculator {
    background: linear-gradient(135deg, #16213e 60%, #5da762 100%);
    color: #fff;
    border-radius: 24px;
    padding: 2rem 2rem 1.5rem 2rem;
    box-shadow: 0 0 24px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 320px;
    max-width: 700px;
    margin-top: 0.5rem;
    font-size: 1.05rem;
}

.container-loan {
    background: #16213e;
    color: #fff;
    border-radius: 24px;
    padding: 2rem 2rem 1.5rem 2rem;
    box-shadow: 0 0 24px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    min-width: 320px;
    max-width: 350px;
    margin-top: 0.5rem;
    font-size: 1.05rem;
}

/* Oude kolom styling - nu vervangen door calculator-column */
.form-col, .list-col {
    background: none;
    border-radius: 8px;
    padding: 0;
    box-shadow: none;
}

.window-form, .result {
    background: #1e2950;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    box-shadow: 0 0 8px rgba(0,0,0,0.04);
    margin-bottom: 1rem;
}

.window-form h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.window-form h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.input-group label {
    color: #b8c1d1;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #2e3a5e;
    border-radius: 5px;
    font-size: 1rem;
    background: #16213e;
    color: #fff;
    margin-bottom: 0.5rem;
}

input:focus, select:focus {
    outline: none;
    border-color: #4e5a7a;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

button {
    flex: 1;
    padding: 1rem;
    background-color: #5da762;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #4b8c50;
}

#clearForm {
    background-color: #e74c3c;
}

#clearForm:hover {
    background-color: #c0392b;
}

#cancelEdit {
    background-color: #95a5a6;
}

#cancelEdit:hover {
    background-color: #7f8c8d;
}

.result {
    margin-top: 1rem;
    padding: 1.5rem;
    background-color: #1e2950;
    border-radius: 16px;
    text-align: left;
    color: #fff;
    margin-top: auto;
}

.result h2 {
    color: #b8c1d1;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.result .window-fee {
    font-size: 1.08rem;
    font-weight: bold;
    color: #fff !important;
    margin-bottom: 0.5rem;
    text-align: right;
}

.result .window-eindtotaal {
    font-size: 2rem;
    font-weight: bold;
    color: #fff !important;
    margin-bottom: 1.2rem;
    text-align: right;
}

.window-item {
    background-color: #22305c;
    border: 1px solid #2e3a5e;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
    color: #fff;
}

.window-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.edit-window, .remove-window {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 0.9rem;
    flex: 0;
}

.edit-window:hover {
    background-color: #2980b9;
}

.remove-window {
    background-color: #e74c3c;
}

.remove-window:hover {
    background-color: #c0392b;
}

.window-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-right: 4rem;
    color: #fff;
}

.window-price {
    font-weight: bold;
    color: #fff;
    font-size: 1.08rem;
    text-align: left;
    margin-bottom: 0.5rem;
}

#windowsSummary {
    margin-bottom: 1rem;
    text-align: left;
}

/* Oude responsive styling - nu vervangen door calculator-section responsive */
@media (max-width: 900px) {
    .main-flex {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2vw;
    }
    .form-col, .list-col, .container-loan {
        margin-bottom: 1.5rem;
    }
}

/* Oude responsive styling voor grote schermen - nu vervangen door calculator-section */
@media (max-width: 1200px) {
    .main-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        max-width: 100%;
    }
    .container-calculator, .container-loan {
        max-width: 100%;
        min-width: 0;
        margin-top: 2rem;
    }
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #2c3e50;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-container {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
}

/* Responsive Content Sections */
@media (max-width: 900px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2vw;
    }

    .section-image img {
        height: 300px;
    }

    .section-content h2 {
        font-size: 1.8rem;
    }

    .section-content p {
        font-size: 1rem;
    }

    .content-section {
        margin: 2rem 0;
        padding: 2rem 0;
    }
}

@media (max-width: 700px) {
    body {
        /* padding-left: 5vw; */
        /* padding-right: 5vw; */
    }
    /* Oude main-flex styling - nu vervangen door calculator-section */
    .main-flex {
        padding: 1rem 0.2rem;
    }
    .container-calculator, .container-loan {
        padding: 1rem 0.5rem;
    }
    .intro-text {
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .section-image img {
        height: 250px;
    }

    .section-content h2 {
        font-size: 1.6rem;
    }

    .nav-container {
        padding: 0 1rem;
    }
}

.loan-slider-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.loan-slider-row input[type=range] {
    flex: 1;
    accent-color: #2e3a5e;
    height: 3px;
}

.loan-slider-value {
    min-width: 60px;
    color: #b8c1d1;
    font-size: 1.05rem;
    text-align: right;
}

.warning-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    z-index: 2000;
    background: #f5f9fc;
    color: #111;
    font-weight: 600;
    text-align: center;
    padding: 1.1rem 0;
    font-size: 1.25rem;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-top: 1px solid #e0e6ef;
    border-bottom: none;
}

@media (max-width: 700px) {
    .warning-banner {
        font-size: 1rem;
        padding: 0.7rem 0.2rem;
    }
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    color: #16213e;
    border-radius: 18px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-width: 300px;
    max-width: 90vw;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.modal-content h3 {
    margin-bottom: 1rem;
    color: #16213e;
    font-size: 1.15rem;
    text-align: center;
}

@media (max-width: 500px) {
    .modal-content {
        min-width: 0;
        padding: 1rem 0.5rem;
    }
}

.loan-address-hint {
    font-size: 0.92rem;
    color: #b8c1d1;
    margin-bottom: 0.7rem;
    margin-top: -0.3rem;
    text-align: left;
    font-style: italic;
}

.duplicate-window {
    background-color: #5da7e6;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 0.9rem;
    flex: 0;
    transition: background 0.2s;
}

.duplicate-window:hover {
    background-color: #357ab8;
}

.intro-text {
    width: 100vw;
    max-width: 100vw;
    margin: 0 -50vw 2rem -50vw;
    left: 50%;
    right: 50%;
    position: relative;
    background: #f5f9fc;
    color: #16213e;
    border-radius: 0 0 24px 24px;
    padding: 2.2rem 8vw 2.2rem 8vw;
    box-shadow: 0 2px 12px rgba(22,33,62,0.04);
    text-align: center;
    font-size: 1.13rem;
    line-height: 1.7;
    z-index: 10;
}

@media (max-width: 900px) {
    .intro-text {
        padding: 40px !important;
        font-size: 1.01rem;
        border-radius: 0 0 14px 14px;
    }
}

.intro-text h2 {
    font-size: 1.35rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
    color: #16213e;
}

.intro-text p {
    font-size: 1.08rem;
    line-height: 1.7;
    margin: 0;
    padding:40px !important;
}

.submit-request-btn {
    display: block;
    width: 100%;
    background-color: #5da762;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    padding: 1rem;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 0.01em;
    margin: 0;
}

.submit-request-btn:hover, .submit-request-btn:focus {
    background-color: #4b8c50;
    color: #fff;
    outline: none;
}

/* Zorg dat bedragen rechts uitgelijnd zijn zoals in de loan calculator */
.result div, .result span {
    text-align: right;
}

.section-grid.reverse {
    direction: rtl;
}
.section-grid.reverse > * {
    direction: ltr;
}

@media (max-width: 900px) {
    .section-grid.reverse {
        direction: ltr;
    }
    .section-grid.reverse > * {
        direction: ltr;
    }
}

/* Oude responsive styling - nu vervangen door calculator-section */
@media (max-width: 900px) {
    .main-flex {
        padding: 0 2vw;
    }
}

/* Calculator Section - Full Width Three Column Layout */
.calculator-section {
    width: 100%;
    margin: 4rem 0;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.calculator-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 4vw;
    box-sizing: border-box;
}

.calculator-container h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

.calculator-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.result-column .column-content {
    justify-content: space-between;
}

.result-column #windowsList {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 400px;
    max-width: 100%;
}

.column-content {
    background: linear-gradient(135deg, #16213e 60%, #5da762 100%);
    color: #fff;
    border-radius: 24px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    box-shadow: 0 0 24px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.column-content h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

/* Loan Container Styling */
.loan-container {
    background: #1e2950;
    color: #fff;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    box-shadow: 0 0 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.loan-header {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
    text-align: center;
}

.loan-address {
    font-size: 1rem;
    color: #b8c1d1;
    margin-bottom: 0.5rem;
    text-align: center;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.loan-address:hover {
    background-color: #2e3a5e;
}

.loan-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #b8c1d1;
}

.loan-value {
    color: #fff;
    font-weight: 600;
}

.loan-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #b8c1d1;
}

.loan-divider {
    border: none;
    border-top: 1px solid #2e3a5e;
    margin: 1rem 0;
}

.loan-total-label {
    font-size: 0.9rem;
    color: #b8c1d1;
    margin-bottom: 0.5rem;
    text-align: center;
}

.loan-total {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
}

.loan-disclaimer {
    font-size: 0.8rem;
    color: #b8c1d1;
    text-align: center;
    line-height: 1.4;
}

.loan-disclaimer a {
    color: #5da762;
    text-decoration: none;
}

.loan-disclaimer a:hover {
    text-decoration: underline;
}

/* Responsive Design voor Calculator */
@media (max-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .calculator-container {
        padding: 0 2vw;
    }
    
    .calculator-container h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .column-content {
        padding: 1.5rem 1rem 1rem 1rem;
    }
    
    .column-content h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .calculator-container {
        padding: 0 1vw;
    }
    
    .column-content {
        padding: 1rem 0.8rem 0.8rem 0.8rem;
    }
    
    .calculator-container h1 {
        font-size: 1.6rem;
    }
}

.result-column #windowsList {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 400px;
    max-width: 100%;
}

.loan-column .column-content {
    justify-content: space-between;
}

.loan-column .loan-container {
    flex: 1;
}

.input-column .column-content {
    justify-content: flex-start;
}

.input-column .window-form {
    flex: 1;
}

.site-footer {
    width: 100%;
    background: #f5f9fc;
    color: #16213e;
    padding: 2rem 0 1.5rem 0;
    text-align: center;
    border-top: 1px solid #e0e6ef;
    font-size: 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    padding-bottom: 100px !important;
}

.site-footer a {
    color: #3498db;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.calculator-instructie {
    background: #f5f9fc;
    color: #16213e;
    border-radius: 10px;
    padding: 1.1rem 1.5rem;
    margin: 0 auto 2rem auto;
    max-width: 700px;
    font-size: 1.05rem;
    box-shadow: 0 2px 8px rgba(22,33,62,0.04);
    text-align: left;
}

.calculator-instructie strong {
    color: #2c3e50;
}

.cta-bar {
    width: 100%;
    background: #fffbe7;
    padding: 1.2rem 0 1.2rem 0;
    text-align: center;
    box-shadow: 0 2px 12px rgba(255, 152, 0, 0.06);
    z-index: 900;
    position: relative;
    margin-top: 70px;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ff9800 60%, #ffb347 100%);
    color: #fff;
    font-size: 1.18rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 1rem 2.2rem;
    box-shadow: 0 2px 12px rgba(255,152,0,0.10);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.cta-btn:hover, .cta-btn:focus {
    background: linear-gradient(90deg, #ff9800 80%, #ffb347 100%);
    box-shadow: 0 4px 18px rgba(255,152,0,0.16);
    color: #fff;
    outline: none;
    transform: translateY(-2px) scale(1.03);
} 