@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
}

header h1 {
    font-weight: 600;
    text-align: center;
    margin: 20px 0;
}

.intro {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.left-box, .right-box {
    width: 48%;
}

.action img {
    width: 300px; /* Adjust based on your actual image sizes */
    border-radius: 10px; /* Rounded edges for the image */
    margin-right: 10px;
}

.action {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

button {
    border: none;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.about p {
    margin-bottom: 10px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates two columns */
    gap: 20px; /* Space between grid items */
    justify-items: center; /* Center items horizontally */
    margin-top: 20px;
}

.action {
    text-align: center; /* Center the content inside each action */
}

.action a {
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Use the inherited text color for buttons */
}

.action img {
    width: 100%; /* Adjust based on your preference */
    max-width: 400px; /* Maximum width of images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners for images */
    cursor: pointer; /* Indicates the image is clickable */
}

.action button {
    display: block; /* Make buttons block to fill the container */
    width: 100%; /* Button width matches the image */
    margin-top: 10px; /* Space between image and button */
    border: none;
    background-color: #007bff;
    color: white;
    padding: 10px 0;
    border-radius: 5px;
    cursor: pointer;
}

.action button:hover {
    background-color: #0056b3;
}

.form-group {
    margin-bottom: 20px; /* Adjust the spacing as needed */
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(to right, rgba(255, 111, 97, 0.7), rgba(255, 144, 104, 0.7)), url('images/coffee_shop_scene.webp') no-repeat center center/cover;
    background-position: center;
    background-size: cover;
    color: white;
    padding: 3em 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header h1 {
    font-size: 3em;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    animation: slideIn 1s ease-out;
    position: relative;
    z-index: 1;
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 120%;
    background: linear-gradient(to right, rgba(255, 111, 97, 0.7), rgba(255, 144, 104, 0.7));
    z-index: 0;
    animation: rotateGradient 10s linear infinite;
    transition: transform 0.5s;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2em 5%;
    gap: 1.5em;
    animation: fadeIn 1.5s ease-in;
}

.intro .left-box,
.intro .right-box {
    flex: 1 1 300px;
    padding: 1em;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.intro .right-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group {
    margin-bottom: 1em;
}

.form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group button {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group button {
    background: #ff6f61;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.form-group button:hover {
    background: #ff9068;
}

.form-group button:active {
    background: #ff6f61;
}

.floating-banner {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 111, 97, 0.9);
    color: white;
    padding: 0.5em 1em;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    gap: 1em;
    animation: slideDown 0.5s ease-out;
}

.floating-banner a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.floating-banner a:hover {
    color: #ff6f61;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#map {
    width: 100%;
    height: 400px;
}

#summary {
    padding: 2em 5%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin: 2em 5%;
}

/* Fixing cross-browser compatibility */
.leaflet-overlay-pane svg {
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.fa-rotate-90 {
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
    filter: rotate(90deg);
}
.fa-rotate-180 {
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
    filter: rotate(180deg);
}
.fa-rotate-270 {
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
    filter: rotate(270deg);
}
.fa-flip-horizontal {
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
    filter: scaleX(-1);
}
.fa-flip-both,
.fa-flip-horizontal.fa-flip-vertical,
.fa-flip-vertical {
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
    filter: scale(-1, -1);
}
