/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Base Styles */
body {
    font-family: 'Poppins', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #f8f9fa; /* Soft professional background */
    color: #333;
}

/* Skyscraper Overlay */
.skyscraper-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/skyscraper-outline.png') no-repeat center;
    background-size: cover;
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}

/* Header */
header {
    background-color: #1d3557;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

header h1 {
    margin: 0;
    font-size: 3em;
}

header p {
    font-size: 1.4em;
    margin: 10px 0 0;
}

/* Sections */
section {
    padding: 40px 20px;
    margin: 40px auto;
    max-width: 1200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Titles */
h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

/* Building Overview Images */
.building-overview img {
    display: block;
    max-width: 90%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
}

/* Unit Cards */
.unit-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.unit {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 40px);
    text-align: center;
    transition: transform 0.3s ease;
}

.unit:hover {
    transform: translateY(-10px);
}

.unit img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.unit h3 {
    color: #1d3557;
    font-size: 1.6em;
    margin: 15px 0;
}

.unit p {
    margin: 10px 0;
}

.unit a {
    text-decoration: none;
    color: #b23a48;
    font-weight: bold;
}

.unit a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin: 15px 0 5px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.contact-form button {
    background: #b23a48;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 20px;
    width: 100%;
}

.contact-form button:hover {
    background: #8e2b38;
}

/* Footer */
footer {
    background-color: #1d3557;
    color: white;
    text-align: center;
    padding: 30px 0;
}

footer a {
    color: #f1faee;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    max-width: 500px;
    margin: auto;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    color: red;
    cursor: pointer;
}

.close-btn:hover {
    color: darkred;
}

.modal-content p {
    margin-top: 20px;
    color: black;
}

/* Responsive Units */
@media (max-width: 768px) {
    .unit {
        width: 90%;
    }
}
