:root {
    --main-color: #30408d;
	--header-text-color: white;
	--footer-title-color: #212C64;
	--footer-text-color: #84858b;
	--text-main-color: black;
	--text-link-color: #0056b3;
	--secondary-color: #fc6a0f;
	--screen-big: calc(100vw - 0px);
	--screen-small: calc(100vw - 3px)
}

html, body {
    margin: 0;
    height: 100%;
    min-height: 100vh;
    background-color: var(--bck-main-color);
    color: var(--text-main-color);
}
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
html {
	scrollbar-gutter: stable;
}

a {
	color: var(--text-link-color);
}
a:hover {
	color: var(--text-link2-color);
}

main {
	padding: 3rem;
	flex: 1;
}

.site-footer {
	display: flex;
	flex-direction: column;
    background: white;
	color: var(--footer-text-color);
	margin-top: 5rem;
	padding: 5rem 10rem 0 10rem;
}

.footer-sections {
	display: flex;
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-section {
  	flex: 1;
}

.footer-section h4 {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.footer-copyright {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding-top: 1rem;
	font-size: 0.85rem;
	opacity: 0.6;
	text-align: center;
}

@media(max-width: 700px) {
	.site-footer {
		padding: 5rem 2rem 0 2rem;
	}
	.footer-sections {
		flex-direction: column;
	}
}

.site-header {
	background: var(--main-color);
	display: flex;
    align-items: stretch;
	min-height: 170px;
    height: auto;
	color: var(--header-text-color);
    top: 0;
	padding-left: 15rem;
	padding-right: 5rem;
    z-index: 100;
}

.header-logo {
  	flex: 0 0 auto;
}

.header-logo img {
	width: 95px;
	height: auto;
}

.header-logo a,
.header-logo-mobile a {
	color: var(--header-text-color);
	text-decoration: none;
	font-weight: 700;
	font-size: 1.2rem;
}

.header-nav {
    display: flex;
    align-items: center;
	align-self: center;
    position: absolute;
    transform: translateX(-50%);
    white-space: nowrap;
    gap: 4rem;
    left: 50%;
    margin-left: 0.5rem;
}

.header-nav a {
	color: var(--header-text-color);
	text-decoration: none;
	font-size: 1.3rem;
}
.header-nav a:hover,
.header-nav:active {
	color: var(--header-text-color);
}

.header-reservation-wrap {
    display: flex;
    flex: 0 0 250px;
    align-self: stretch;
	align-items: center;
	justify-content: right;
    margin-left: auto;
}

.header-reservation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  	background-color: var(--secondary-color);
	color: var(--header-text-color);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.3px;
	padding: 0.6rem 1.5rem;
}
.header-reservation:hover {
	color: black;
  	opacity: 0.85;
}
.header-reservation:active {
 	opacity: 0.7;
}



.header-logo-mobile {
    display: none;
    align-items: center;
    justify-content: left;
    padding-left: 2rem;
}
.header-logo-mobile img {
	background: white;
	border-radius: 4px;
	padding: 3px 6px;
    display: block;
    margin: 0.5rem 0;
    height: 50px;
    width: auto;
}

.mobile-button {
    display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 4px;
	transition: background-color 0.2s;
}
.mobile-button:hover {
  	background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-overlay {
    position: fixed; 
    inset: 0; 
    z-index: 8800; 
    display: none; 
    background-color: rgb(0,0,0,0.3);
}
.mobile-menu-overlay.active {
    display: block;
}

.menu-icon,
.icon-button {
	width: 48px;
	height: 48px;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 66%;
    height: 100%;
    background-color: var(--main-color);
    border-left: 1px solid #333;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9000;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: start;
    overflow-y: scroll;
    min-width: 120px;
}
.sidebar.active {
    transform: translateX(0);
    margin-right: 0.4rem;
}
.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar nav li {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.sidebar nav li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header-redirect {
    display: block;
    padding: 1.5rem 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; 
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    display: block;
    text-decoration: none;
}
.header-redirect:hover {
    text-decoration: underline;
    color: rgb(25,89,5); 
    background-color: rgb(243,244,246);
}

.mobile-menu {
    display: flex;
    align-items: center;
}

@media (max-width: 700px) {
	.site-header {
		min-height: 150px;
		padding: 0.1rem 0 0 0;
	}
    .header-nav,
	.header-reservation {
        display: none;
    }
	.header-nav {
		gap: 1rem;
	}
    .header-reservation-wrap {
        flex: 0 0 0;
    }
	.header-logo img {
		border-radius: 2px;
		padding: 4px 8px;
		margin: 0.25rem 0.75rem;
	}
    .header-logo-mobile {
        display: flex;
    }
    .mobile-button {
        display: flex;
    }
}

@media (max-width: 375px) {
    .sidebar.active {
        margin-right: 0.2rem;
    }
    .header-redirect {
        padding: 1.25rem 0.25rem;
        font-weight: 500;
    }
    .header-logo-mobile {
        padding-left: 1rem;
    }
}

.intro-section {
    background-color: var(--main-color);
    width: auto;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
    margin-top: -3rem;
}

.carousel {
	background-color: var(--main-color);
    width: 80%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -3rem;
}

.carousel-track {
    display: flex;
    overflow: hidden;
}

.carousel-track-inner {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-slide {
    position: relative;
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
}

.carousel-img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 1rem 2rem;
    box-sizing: border-box;
    background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.25));
    pointer-events: none;
}

.carousel-content a,
.carousel-content button {
    pointer-events: auto;
}

.carousel-content h2 {
    font-size: clamp(1.4rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.75rem 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.hero-description {
	font-size: clamp(0.9rem, 2.5vw, 1.2rem);
	opacity: 0.9;
	max-width: 480px;
	line-height: 1.5;
	margin: 0 0 2rem 0;
	text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover:not(:disabled),
.carousel-arrow:focus-visible:not(:disabled) {
    background: rgba(0, 0, 0, 0.75);
}

.carousel-arrow:active:not(:disabled) {
    transform: translateY(-50%) scale(0.92);
}

.carousel-arrow:disabled {
    background: rgba(0, 0, 0, 0.15);
    cursor: not-allowed;
    opacity: 0.5;
}

.carousel-arrow img {
    display: block;
    width: 1.25rem;
    height: 1.25;
}

.carousel-arrow--left { left: 1rem; }
.carousel-arrow--right { right: 1rem; }

.hero-btn {
    background: var(--secondary-color);
    color: var(--main-color-dark);
    padding: 0.6rem 1.6rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 3px;
}

@media (max-width: 750px) {
    .hero-description, .carousel-content h2 {
        margin: 0 0 0.25rem;
    }
}
@media (max-width: 450px) {
    .carousel {
        margin-top: -2rem;
    }
    .carousel-content h2 {
        font-weight: 500;
        line-height: 1;
        font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    }
    .hero-description {
        display: none;
    }
    .hero-btn {
        padding: 0.1rem 0.4rem;
        font-weight: 400;
        border-radius: 1px;
    }
}

.introduction {
  	background-color: var(--main-color);
    width: auto;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
	color: white;
	padding: 10rem 0;
}

.intro-img {
	max-width: min(95%, 650px);
	height: auto;
}

.introduction-title {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 1.4rem;
	font-weight: 600;
}
.introduction-title h1 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

.introduction-intro {
  	margin-bottom: 2rem;
}

.left-right {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: start;
}
.introduction-grid {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 2rem;
}

.left-right {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: start;
}


@media (max-width: 700px) {
	.left-right {
		grid-template-columns: 1fr;
	}
}

.book-page {
    padding: 2rem;
}

.book-page h1 {
    text-align: center;
}

.page-intro {
    text-align: center;
    align-items: center;
}

.book-iframe {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding-top: 5px;
    border: 0.5px dotted gray;
}
