/* ----- STYLES.CSS ----- */

/* -------------------------------------------- */
/* GLOBAL LAYOUT                                */
/* -------------------------------------------- */
html, body {
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
}

/* -------------------------------------------- */
/* SITE TITLE                                   */
/* -------------------------------------------- */
#site-title {
    font-size: clamp(36px, 4vw, 60px);
    margin: 10px 0 0 30px;
}

/* -------------------------------------------- */
/* SOCIAL ICONS                                 */
/* -------------------------------------------- */
#social-bar {
    position: absolute;       /* place relative to nearest positioned ancestor */
    top: 20px;                /* same vertical offset as before */
    right: 20px;              /* same horizontal offset */
    display: flex;
    gap: 4px;
}



#social-bar a {
    width: clamp(28px, 6vw, 42px);
}

#social-bar img {
    width: 100%;
    transition: 0.2s;
}

#social-bar img:hover {
    filter: brightness(1.5);
    transform: scale(1.1);
}

#site-subtitle {
    font-size: clamp(36px, 4vw, 40px);
    margin: 10px 0 0 30px;
    text-align: left;
}

/* -------------------------------------------- */
/* MAIN CONTENT LAYOUT (TWO COLUMNS)           */
/* -------------------------------------------- */
#main-content {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vw, 40px);
    padding: clamp(20px, 3vw, 60px);
}

.content-row {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    align-items: flex-start; /* important! prevents flex from stretching image column */
}

.image-column, .text-column {
    flex: 1;
    position: relative;
}

.image-column {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: auto; /* JS will override this */
}

.image-carousel {
    display: flex;
    width: 100%;
    height: 100%; /* fills container height */
    transition: transform 0.5s ease-in-out;
}

.image-column img {
    width: 100%;
    height: 100%; /* fills carousel container */
    object-fit: contain;
    border-radius: 16px;
    flex-shrink: 0;
    background-color: black;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(20px, 4vw, 40px);
    width: clamp(40px, 6vw, 60px);
    height: clamp(40px, 6vw, 60px);
    border: none;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s;
}

.carousel-arrow:hover { background: white; }

.carousel-arrow.left { left: 10px; }
.carousel-arrow.right { right: 10px; }

/* Text styling */
.text-column p {
    font-size: clamp(16px, 2vw, 16px);
    line-height: 1.5;
    margin: 0;
}

/* -------------------------------------------- */
/* FOOTER                                       */
/* -------------------------------------------- */
#site-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    padding: clamp(3px, 1vw, 6px) clamp(6px, 2vw, 12px);
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: clamp(10px, 2.5vw, 14px);
    letter-spacing: 0.5px;
    background-color: black;
    z-index: 100;
}

#site-footer .logo {
    width: clamp(50px, 5vw, 80px);
    opacity: 0.8;
}

#site-footer p {
    margin: 0;
    opacity: 0.85;
    text-align: right;
    flex: 1;
}

/* RESPONSIVE */
@media (max-width: 900px) { .content-row { flex-direction: column; } .image-column img { height: auto; } }
@media (max-width: 600px) {
    #site-title { margin: 16px 0 0 0; text-align: center; }
    #social-bar { position: relative; top: 0; right: 0; margin: 8px auto 0 auto; justify-content: center; width: 100%; }
}
