/* ---------------- GLOBAL STYLE ---------------- */

:root {
    --bg: #E8E9DB;           /* creamy white background */
    --text: #52493f;         /* warm brown text */
    --primary: #8db1cc;      /* light blue accent */
    --primary-dark: #637d92; /* darker blue for hover */
    --accent: #CFCAB5;       /* soft beige accent */
    --dark: #1D1F1E;         /* dark brown / almost black */
    --light: #ffffff;        /* clean white cards */
    --radius: 14px;
    --shadow: 0 8px 22px rgba(0,0,0,0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* ---------------- HEADER ---------------- */

header {
    background: var(--dark);
    color: var(--light);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

header h1 a{
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
}

/* ---------------- NAVIGATION ---------------- */

nav {
    position: relative;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
}

/* ---------------- DROPDOWN ---------------- */

nav li {
    position: relative;
    cursor: pointer;
}

nav li ul {
    position: absolute;
    /*top: 40px; -> breaks navbar drowndown*/
    left: 0;
    display: none;
    background: var(--dark);
    padding: 10px 0;
    border-radius: var(--radius);
    min-width: 150px;
    box-shadow: var(--shadow);
}

nav li:hover ul {
    display: block;
}

nav li ul li {
    padding: 10px 20px;
    white-space: nowrap;
}

nav li ul li:hover {
    background: #594639;
}



/* ---------------- MOBILE MENU ---------------- */

.menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 700px) {
    nav ul {
        display: none;
        position: absolute;
        top: 40px;
        right: 120px;
        background: var(--dark);
        flex-direction: column;
        width: 250px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 20px 20px;
        text-align: center;
    }

    /*nav li:hover ul {
        display:contents;
    }*/

    nav ul.open {
        display: flex;
    }

    nav ul li ul.open {
        display: contents;
    }

    nav ul li ul li {
        text-align: left;
    }

    .menu-btn {
        display: block;
    }

}

/* ---------------- CONTENT & CARD ---------------- */

.container {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
}

.card {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border-left: 8px solid var(--primary);
    border-bottom: 8px solid var(--primary);
}

h2 {
    margin-bottom: 15px;
    font-size: 1.9rem;
    color: var(--primary-dark);
}

.card ul {
    list-style: none;
}

/* ---------------- GALLERY ---------------- */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.gallery img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ---------------- GALLERY ZOOM ---------------- */

@media (hover:hover) and (pointer: fine) {
    .gallery-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center;
    overflow: hidden;
    }

    .gallery-item img {
    transition: transform 0.3s ease;
    }

    .gallery-item:hover {
    transform: scale(2);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-radius: var(--radius);
    }

    .gallery-item:hover img {
    transform: scale(1.1);
    }
}


/* ---------------- BUTTONS ---------------- */

a.button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 18px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: background 0.2s;
}

a.button:hover {
    background: var(--primary-dark);
}

/* ---------------- SOCIALS ---------------- */

.social-grid-icon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 30px;
    margin-top: 20px;
}

.social-grid-icon a {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light);
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 600;
    border-left: 6px solid var(--primary);
    transition: background 0.2s;
}

.social-grid-icon a span.icon {
    font-size: 1.4rem;
}

.social-grid-icon a:hover {
    background: var(--accent);
}

/* ---------------- WIP-BANNER ---------------- */

.wip-banner {
    background-color: #d32f2f; /* strong red */
    color: #ffffff;
    text-align: center;
    padding: 20px 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.wip-banner span {
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}
