/* =========================
   GENERAL STYLES
========================= */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #D1F2EB;
    scroll-behavior: smooth;
}

header {
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

header a.logo-link img {
    height: 60px;
}

.header-info {
    font-size: 16px;
    margin-left: 10px;
}

.header-info a {
    color: #28B463;
    text-decoration: none;
    font-weight: bold;
}

nav {
    position: sticky;
    top: 0;
    background: #28B463;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 10px;
    z-index: 1000;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #FF0000;
    text-transform: uppercase;
}

#dynamic-marquee {
    background: #FF0000;
    color: white;
    padding: 5px 10px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

/* =========================
   TWO-COLUMN LAYOUT
========================= */
.two-column-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 20px;
}

.column {
    flex: 1 1 300px;
    min-width: 280px;
}

/* =========================
   SLIDESHOW
========================= */
.slideshow-container {
    position: relative;
    max-width: 100%;
    border: 2px solid #FF0000;
    border-radius: 10px;
    overflow: hidden;
}

.slideshow-container img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: none;
    border-radius: 10px;
}

.slideshow-container img.active {
    display: block;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background: rgba(0,0,0,0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.dots-container {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.dots-container .dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 3px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s;
}

.dots-container .dot.active {
    background: white;
}

/* =========================
   PROGRESS BAR (RAINBOW)
========================= */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 6px;
    width: 0%;
    border-radius: 5px;
    background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet);
    transition: width 0.1s linear, opacity 0.3s ease;
}

/* =========================
   FLOATING CONTACT BOX
========================= */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: -300px; /* start off-screen */
    background: rgba(255,0,0,0.85);
    color: white;
    padding: 12px 15px;
    border-radius: 10px;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.6s ease, right 0.6s ease, opacity 0.6s ease;
    opacity: 0;
}

.floating-contact a {
    color: white;
    text-decoration: none;
    display: block;
    margin: 5px 0;
    font-size: 14px;
}

.floating-contact button {
    background: white;
    color: #FF0000;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 5px;
}

/* Minimized version */
.floating-contact.minimized {
    width: 50px;
    height: 40px;
    padding: 5px;
    overflow: hidden;
}

.floating-contact.minimized a {
    display: none;
}

/* =========================
   MOBILE STYLES
========================= */
@media(max-width:768px){
    .two-column-wrapper { flex-direction: column; align-items: center; }
    .slideshow-container { width: 100%; height: auto; }
    .floating-contact { bottom: 12px; right: -260px; font-size: 14px; padding: 10px 12px; max-width: 200px; }
}

/* =========================
   FLOATING BOX SLIDE-IN ACTIVE STATE
========================= */
.floating-contact.show {
    right: 15px;
    opacity: 1;
}
