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

body {
    font-family: 'Rubik', sans-serif;
    background-color: #f4f6f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main Content */
main {
    width: 100%;
    max-width: 1000px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    flex-grow: 1;
}

/* Header */
.top {
    text-align: center;
    margin-bottom: 40px;
}

.title {
    font-size: 32px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 20px;
}

form {
    display: flex;
    justify-content: center;
    gap: 15px;
}

input {
    padding: 15px;
    border: none;
    border-radius: 10px;
    width: 70%;
    font-size: 16px;
    background-color: #f4f6f9;
    color: #555;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

button {
    background-color: #4caf50;
    border: none;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
}

button img {
    width: 18px;
    height: 18px;
}

button:hover {
    background-color: #45a049;
}

/* Info Section */
.info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.box {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.field-name {
    font-size: 14px;
    font-weight: 500;
    color: #777;
}

.info-field {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Map */
#map {
    height: 400px;
    margin-top: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Modal */
dialog {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    border: none;
    width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
}

dialog h3 {
    font-size: 18px;
    color: #e74c3c;
    margin-bottom: 15px;
}

#close-btn {
    background-color: #e74c3c;
    color: white;
    padding: 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

#close-btn:hover {
    background-color: #c0392b;
}

/* Footer */
.footer {
    background-color: #2c3e50; /* Deep dark blue for contrast */
    color: #ecf0f1; /* Soft light gray for text */
    padding: 40px 0;
    text-align: center;
    font-size: 16px;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); /* Soft shadow for depth */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.footer p {
    font-size: 14px;
    color: #bdc3c7; /* Lighter gray for the paragraph */
    margin-bottom: 10px;
    letter-spacing: 1px;
    opacity: 0.85; /* Slight fade for text */
}

.footer a {
    color: #1abc9c; /* Soft turquoise for links */
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease; /* Smooth transition for hover */
}

.footer a:hover {
    color: #f39c12; /* Vibrant yellow-orange for hover */
    text-decoration: underline; /* Underline on hover */
}

.social {
    margin-top: 20px;
}

.social a {
    font-size: 24px; /* Icon size */
    color: #f39c12; /* Yellow-orange color for social icons */
    margin: 0 15px;
    padding: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2); /* Light background for icons */
    transition: all 0.3s ease; /* Smooth transition for hover */
}

.social a:hover {
    background-color: rgba(255, 255, 255, 0.3); /* Brighter background on hover */
    transform: scale(1.1); /* Scale effect on hover */
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.5); /* Glowing effect on hover */
}

.social a:active {
    transform: scale(1); /* Reset scale when active (clicked) */
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .footer {
        padding: 30px 15px; /* Smaller padding on mobile */
    }

    .footer p {
        font-size: 12px;
    }

    .social a {
        font-size: 20px; /* Smaller icons on mobile */
        margin: 0 10px;
    }
}
