* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

p {
    margin-bottom: 1.5em;
    /* Adjust as needed */
    line-height: 1.6;
    /* Optional, makes text easier to read */
}

body {
    color: #222;
    background-color: #f9f9f9;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: center;
    /* centers the <h1> horizontally */
    align-items: center;
    /* centers vertically */
    background: #000;
    color: #fff;
    padding: 1rem 2rem;
    z-index: 100;
    /* optional if no overlapping elements */
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
}

nav a {
    color: #fff;
    margin-left: 1.5rem;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #00bcd4;
}

#hero {
    background: linear-gradient(to right, #00bcd4, #007bff);
    color: white;
    text-align: center;
    padding: 6rem 2rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-list {
    list-style: none;
    margin-top: 1rem;
    text-align: left;
    display: inline-block;
}

.contact-list li {
    margin: 0.5rem 0;
}

footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    margin-top: 4rem;
}

.story-image {
    text-align: center;
    margin: 2rem 0;
}

.story-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-image img:hover {
    transform: scale(1.02);
}

.story-image .caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
}

.slideshow-container {
    position: relative;
    max-width: 600px;
    /* adjust to your image size */
    margin: auto;
}

.slide {
    display: none;
    text-align: center;
}

.slide img {
    width: 100%;
    border-radius: 10px;
}

.caption {
    margin-top: 0.5em;
    font-size: 0.95em;
    color: #333;
}

/* Navigation buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 0.5em 1em;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    user-select: none;
    transition: background 0.3s;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.lang-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    /* stays above other elements */
    border-radius: 50%;
    /* optional: round button */
    width: 50px;
    height: 50px;
    padding: 0;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

/* --- Vending Machine Status Indicator --- */
#machine-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background-color: black;
    font-size: 0.9rem;
}

#status-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: red;
    /* default red if no class is applied */
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Green when online */
#status-indicator.status-green {
    background-color: #27ae60;
    box-shadow: 0 0 8px rgba(39, 174, 96, 0.6);
}

/* Optional: explicitly red when online check fails (redundant, but clearer) */
#status-indicator.status-red {
    background-color: red;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .steps {
        flex-direction: row;
        justify-content: space-between;
    }

    .step {
        width: 30%;
    }
}