@font-face {
    font-family: 'CandelaBook';
    src: local('CandelaBook'), local('Candela Book'), local('Candela-Book'),
         url('../fonts/CandelaBook-webfont.woff') format('woff'),
         url('../fonts/CandelaBook-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CandelaBook';
    src: local('CandelaBold'), local('Candela Bold'), local('Candela-Bold'),
         url('../fonts/CandelaBold-webfont.woff') format('woff'),
         url('../fonts/CandelaBold-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'CandelaBook', sans-serif;
    font-weight: bold;
    color: #000;
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
.site-header {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 30px 14px 14px;
    border-top: 1px solid #ddd;
}

.site-header h1 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.site-header h1 a:hover {
    text-decoration: none;
}

/* Main menu */
.main-menu ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.main-menu a {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #999;
    transition: color 0.2s;
}

.main-menu a:hover {
    color: #ccc;
    text-decoration: none;
}

.main-menu a[aria-current="page"] {
    color: #000;
}

/* Slideshow */
.slideshow {
    position: relative;
    flex: 1 1 auto;
    overflow: hidden;
    background: #000;
    cursor: pointer; /* click / tap goes to the next photo */
    touch-action: manipulation; /* no double-tap zoom delay on mobile */
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.is-active {
    opacity: 1;
}

/* Footer */
.site-footer {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 6px;
    font-size: 13px;
    background: #f7f7f7;
    border-top: 1px solid #ddd;
    font-weight: normal;
}

@media (max-width: 600px) {
    .site-footer {
        flex-direction: column;
        gap: 2px;
    }
}
