.price-page {
    color: #e0e0e0;
    background-color: #404040; /* Dark background for the whole page wrapper */
    min-height: 100vh;
}

.contact-section {
    padding: 60px 20px;
    text-align: center;
    background-image: url("../images/new_background.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Dark background */
}

.contact-section h2 {
    font-size: 2.5em;
    color: #fff; /* White heading */
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.1em;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    color: #ccc; /* Light gray text */
}

.contact-info {
    background-color: #404040; /* Slightly lighter dark for info box */
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* Darker shadow */
}

.contact-right{
    text-align: right;
}

.contact-info h3 {
    font-size: 1.8em;
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center; 
}

.contact-info p {
    font-size: 1.1em;
    color: #ddd;
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-calculator p {
    font-size: 1.1em;
    color: #ddd;
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Style for the input field in the calculator */
#size {
    background-color: #444;
    border: 1px solid #666;
    color: #fff;
    padding: 5px;
    border-radius: 4px;
}

.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #2d2d2d; /* Dark form container */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    text-align: left; 
}

.contact-form-container h3 {
    font-size: 1.8em;
    color: #fff;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center; 
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block; 
    margin-bottom: 8px;
    font-weight: 600;
    color: #ddd;
}

.contact-form textarea {
    resize: vertical; 
    min-height: 120px;
    background-color: #444;
    border: 1px solid #666;
    color: #fff;
}

.contact-form button.btn {
    width: auto; 
    display: block; 
    margin: 30px auto 0 auto; 
    padding: 15px 30px;
    font-size: 1.1em;
}

.searchbtn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #444; 
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #555; 
}

/* Styles specific to the pricing page */
.pricing-hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #404040;
}

.pricing-hero h2 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 20px;
}

.pricing-hero p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #ccc;
}

/* Uusi hintalaatikko-osio */
.price-overview-section {
    padding: 40px 20px;
    background-image: url("../images/new_background.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    text-align: center;
}

.price-overview-section h2 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 20px;
}

.price-box {
    background-color: #404040; /* Dark card background */
    border-radius: 8px;
    padding: 20px; 
    max-width: 400px; 
    margin: 0 auto; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); 

    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}

.price-box h3 {
    font-size: 1.8em;
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center; 
}

.price-box p {
    font-size: 1.1em;
    color: #ddd;
    margin-bottom: 10px;
    line-height: 1.8;
}

.price-row {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 0; 
    border-bottom: 1px dashed #555; /* Subtle dark divider */
}

.price-row:last-child {
    border-bottom: none; 
}

/* Yleiset spaneille, jos niillä ei ole spesifimpää luokkaa */
.price-row span {
    flex: 1; 
    text-align: left; 
}

/* Tarkemmat valitsimet otsikko- ja datarivien elementeille */
.price-row .area-label,
.price-row .area-value {
    text-align: left;
}

.price-row .price-label,
.price-row .price-value {
    text-align: right; 
}

.price-row.header-row {
    font-weight: 700;
    font-size: 1.1em;
    padding-bottom: 15px; 
    border-bottom: 2px solid #555; 
    color: #fff;
    text-align: left;
}

.price-row.data-row {
    font-size: 1em;
    color: #ccc;
}

.price-row .price-value {
    font-size: 1.2em; 
    font-weight: 700;
    color: #fff;
}

.price-row .area-label {
    font-size: 0.9em;
    color: #aaa;
}

/* Calculator Section styles remain the same but dark */
.calculator-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #1a1a1a; 
}

.calculator-section h3 {
    font-size: 2em;
    color: #fff;
    margin-bottom: 20px;
}

.calculator-section p {
    font-size: 1.1em;
    color: #ccc;
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .price-box {
        padding: 15px;
    }
    .price-row {
        flex-direction: row; 
        font-size: 0.9em;
    }
    .price-row.header-row {
        font-size: 1em;
    }
    .price-row .price-value {
        font-size: 1.1em;
    }
}