@font-face {
    font-family: 'Dinot';
    src: url('../Font/Dinot_Font.otf');
}

* {
    font-family: 'Dinot', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 2px solid #800080;
    background-color: #fff;
}

.logo {
    display: flex;
    align-items: center;
}

.site-title a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-title img {
    width: 60px;
    height: auto;
    margin-right: 18px;
}

.site-title h1 {
    font-size: 1.2rem;
    color: #000;
    letter-spacing: 1px;
}

.site-title h2 {
    font-size: 1rem;
    color: #444;
    font-weight: 400;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 12px;
    display: block;
    transition: color 0.2s;
}

nav ul li:hover > a {
    color: #800080;
}

nav ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 4px;
    min-width: 160px;
    z-index: 10;
}

nav ul li:hover .dropdown {
    display: block;
}

.dropdown li a {
    padding: 10px 20px;
    color: #333;
    font-weight: normal;
}

.dropdown li a:hover {
    background: #f0f0f0;
    color: #800080;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

.carousel {
    width: 100vw;
    max-width: 100vw;
    height: 70vh;
    overflow: hidden;
    background: #eee;
    border-radius: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin: 0;
    position: relative;
    top: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.imgSlide {
    min-width: 100vw;
    width: 100vw;
    height: 70vh;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
}

@media (max-width: 900px) {
    header {
        flex-direction: column;
        padding: 1.5rem 1rem;
        text-align: center;
    }
    .site-title img {
        width: 40px;
        margin-right: 10px;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 1rem;
    }
    .carousel {
        height: 40vh;
        margin-bottom: 12px;
    }
    .imgSlide {
        height: 40vh;
    }
}

@media (max-width: 600px) {
    header {
        padding: 1rem 0.5rem;
    }
    .site-title h1 {
        font-size: 1rem;
    }
    .site-title h2 {
        font-size: 0.9rem;
    }
    .carousel {
        height: 28vh;
        border-radius: 0;
        margin-bottom: 6px;
    }
    .imgSlide {
        height: 28vh;
    }
}