
header {
	background: #f7f7f7d9;
}

.hamburger-line {
	stroke: black;
}

.header-book-button {
	background-color: #00000024;
	color: black;
}
.header-book-button:hover {
	color: white;
	border-color: white;
}

main {
	z-index: 2;
}


h1 { 
	font-size: 110px;
	font-weight: 300;
	color: var(--main-accent);
	margin: 0;
	max-width: 1000px;
	width: calc(100% - 40px);
}
.contact-container {
	font-family: var(--primary-font);
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--main-accent);
	border-radius: 16px;
	overflow: hidden;
	max-width: 1000px;
	width: calc(100% - 40px);
	margin: 20px 0;
	box-shadow: 0 0 10px #424c4536;
}

/* Left section */
.contact-info {
    background: white;
    padding: 20px 40px;
}

.contact-info h3 {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    color: #777;
    margin-bottom: 10px;
}

.contact-info h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 15px;
    margin-top: 10px;
    font-family: 'HattonLight';
	text-transform: uppercase;
}

.contact-info p,
.contact-info a {
    color: var(--text-color-dim);
    line-height: 1.6;
}

.info-item p,
.info-item a {
    text-decoration: none;
    color: white;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 10px;
    background-color: var(--main-accent);
    border-radius: 10px;
    cursor: pointer;
}

.info-item:hover {
    filter: brightness(0.95);
}

.info-item .icon {
    background: white;
    color: var(--current-tab-accent);
    border-radius: 12px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.label {
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.value {
    color: #555;
    margin: 0;
}

.socials {
    display: flex;
    gap: 25px;
    font-size: 22px;
}

.socials a {
    color: #777;
    text-decoration: none;
    transition: color 0.2s ease;
}

.socials a:hover {
    color: black;
}

/* Right section */
.contact-form {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 14px;
    color: black;
    font-weight: 500;
    margin-bottom: 6px;
}

input,
textarea {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
    font-family: inherit;
}

input:focus,
textarea:focus {
    border-color: var(--current-tab-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 77, 230, 0.1);
}

.contact-form button {
    background: var(--current-tab-accent);
    font-family: 'Geologica';
    color: black;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.contact-form button:hover {
    background: var(--current-tab-accent);
}

.contact-form button:active {
    transform: scale(0.98);
}

/* Responsive */


@media (max-width: 1000px) {
    h1 {
        font-size: 90px;
    }
}
@media (max-width: 800px) {
    h1 {
        font-size: 70px;
    }
    .info-item:last-child {
        margin-bottom: 0;
    }
    .socials {
        margin-top: 20px;
    }

    .info-item .icon {
        width: 40px;
        height: 40px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        width: calc(100% - 30px);
        margin-top: 15px;
    }

    .contact-info, .contact-form {
		padding: 20px;
    }
    .contact-info h3 {
        margin-top: 0;
        font-size: 16px;
    }


    .contact-info h1 {
        font-size: 24px;
    }

    .contact-info p,
    .contact-info a {
        font-size: 14px;
    }

    input, textarea {
        margin-bottom: 10px;
        font-size: 16px;
    }

}

@media (max-width: 400px) {
    h1 {
        font-size: 50px;
    }
    .info-item {
        gap: 5px;
        padding: 5px;
    }
}


.reserve {
    background: var(--foter-dark-accent);
    padding: 80px 20px;
    color: black;
    width: calc(100% - 40px);
}

.reserve-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

@media (max-width: 1000px) {
    .reserve-container {
        flex-direction: column;
	    align-items: center;
    }
}

.reserve-info {
    flex: 1;
}

.reserve-info h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.reserve-info p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 40px;
}

.reserve-contact {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}
.reserve-contact div,
.reserve-contact a {
    text-decoration: none;
    color: #3e3e3e;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.reserve-contact a {
    transition: color .2s;
}
.reserve-contact a:hover {
    color: rgb(0, 0, 0);
    text-decoration: underline;
}

.reserve-form {
    flex: 1;
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    color: #111;
}
@media (max-width: 768px) {
    .reserve-form {
        padding: 30px;
	    width: calc(100% - 60px);
    }
}

.row {
    display: flex;
    column-gap: 20px;
}


.field {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 20px;
}

label {
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
}

input,
textarea {
    border: none;
    border-radius: 999px;
    padding: 14px 18px;
    font-size: 1rem;
    background: #e2e9f1;
    outline: none;
    font-family: var(--secondary-font);
}

textarea {
    border-radius: 20px;
    resize: none;
}

input:focus,
textarea:focus {
    background: #dde3ea;
}

.error {
    color: #d33;
    font-size: 12px;
    height: 14px;
    margin-top: 4px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    font-family: var(--secondary-font);
    border: none;
    border-radius: 999px;
    background-color: var(--main-accent-color);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: box-shadow .3s ease;
}

.submit-btn:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-loader,
.btn-success {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.btn-loader {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-success {
    font-size: 16px;
}

.loading .btn-text {
    opacity: 0;
}

.loading .btn-loader {
    left: calc(50% - 9px);
    opacity: 1;
}

.success {
    background: #22a86b;
}

.success .btn-loader {
    display: none;
}

.success .btn-success {
    opacity: 1;
    left: calc(50% - 20px);
}

.success .btn-text {
    opacity: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */

@media (max-width: 900px) {
    .reserve-container {
        flex-direction: column;
    }

}


@media (max-width: 500px) {
	.reserve-form {
		padding: 20px;
		width: calc(100% - 30px);
	}
    .row {
        flex-direction: column;
    }

    .field {
        margin-bottom: 0;
    }
    textarea {
        margin-bottom: 20px;
    }
}