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

:root {
    --bg: #ffffff;
    --text: #111111;
}

body.dark-very { --bg: #0a0a0a; --text: #eeeeee; }
body.dark-warm { --bg: #1a140f; --text: #f0e6d2; }
body.dark-cool { --bg: #0f1a1f; --text: #e0f0ff; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, sans-serif;
    margin: 0;
    padding-top: 80px;
}

/* NAV (other pages) */
nav {
    background: var(--bg);
    border-bottom: 1px solid #eeeeee;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo img {
    height: 52px;
    border-radius: 8px;
}

/* HOME THUMBNAILS */
.home-list {
    max-width: 900px;
    margin: 10px 40px 0 40px;
    padding: 0;
}

.item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
    text-decoration: none;
    color: var(--text);
    transition: all 0.4s ease;
}

.item:hover {
    transform: scale(1.04);
}

.item img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.5s ease;
}

.item:hover img {
    width: 170px;
    height: 170px;
    transform: translateX(+45px);
}

.item span {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 400;
}

/* GALLERY - fixed colors & no underline */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 80px auto;
    padding: 0 40px;
}

.gallery-item {
    text-decoration: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.overlay h3 {
    color: var(--text) !important;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.lightbox img {
    max-width: 92%;
    max-height: 92%;
    border-radius: 12px;
}

/* iPhone slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 60px 20px 40px;
    color: #666;
    font-size: 1rem;
}

footer a img {
    height: 40px;
    border-radius: 8px;
}
