:root {
    --navy: #102a43;
    --navy-dark: #071b2c;
    --blue: #176b87;
    --blue-light: #dff4f6;
    --gold: #c89b3c;
    --gold-dark: #a87920;
    --white: #ffffff;
    --background: #f5f8fa;
    --text: #334e68;
    --muted: #6b7c8f;
    --border: #d9e2ec;
    --danger: #c0392b;
    --shadow: 0 12px 32px rgba(16, 42, 67, 0.12);
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

body,
button,
input,
select,
textarea {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
select {
    cursor: pointer;
}

button {
    border: 0;
}

[hidden] {
    display: none !important;
}

.site-wrapper {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.plain-button {
    padding: 0;
    color: inherit;
    background: transparent;
}

.top-navigation {
    position: sticky;
    z-index: 1000;
    top: 0;
    min-height: 76px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(16, 42, 67, 0.1);
    box-shadow: 0 4px 18px rgba(16, 42, 67, 0.08);
}

.nav-site-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

.nav-logo-group {
    display: flex;
    gap: 11px;
    align-items: center;
    text-align: left;
}

.brand-bird {
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 2.4rem;
    line-height: 1;
}

#logoGaviota img{
    height: 50px;
}



.nav-brand-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
}

.nav-brand-subtitle {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nav-menu-desktop {
    display: flex;
    gap: 6px;
    align-items: center;
}

.top-navigation-link,
.action-button-admin-trigger,
.action-button-nav-reserve {
    padding: 10px 13px;
    color: var(--navy);
    background: transparent;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    transition: 0.2s ease;
}

.top-navigation-link:hover,
.action-button-admin-trigger:hover {
    color: var(--blue);
    background: var(--blue-light);
}

.action-button-nav-reserve {
    margin-left: 5px;
    color: var(--white);
    background: var(--gold);
}

.action-button-nav-reserve:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

.nav-menu-mobile {
    padding: 0 20px 18px;
    background: var(--white);
}

.hero {
    position: relative;
    display: grid;
    min-height: calc(100vh - 76px);
    place-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(4, 20, 34, 0.88) 0%, rgba(4, 20, 34, 0.58) 55%, rgba(4, 20, 34, 0.3) 100%);
}

.animate-subtle-zoom {
    animation: subtleZoom 16s ease-in-out infinite alternate;
}

@keyframes subtleZoom {
    to {
        transform: scale(1.06);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
    padding: 80px 0 60px;
}

.hero-badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 7px 13px;
    color: #ffe6a6;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.hero-badge-text {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 850px;
    margin: 22px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: 1.04;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.hero-title-accent {
    color: #f2c766;
}

.hero-desc {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.action-button:hover {
    transform: translateY(-2px);
}

.action-primary {
    color: var(--white);
    background: var(--gold);
    box-shadow: 0 8px 20px rgba(200, 155, 60, 0.27);
}

.action-primary:hover {
    background: var(--gold-dark);
}

.action-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.65);
}

.action-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
}

.action-outline {
    color: var(--navy);
    background: transparent;
    border-color: var(--navy);
}

.action-outline:hover {
    color: var(--white);
    background: var(--navy);
}

.full-button {
    width: 100%;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 52px;
}

.badge-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.badge-icon {
    display: grid;
    width: 42px;
    height: 42px;
    color: #f2c766;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    place-items: center;
}

.badge-item p {
    margin: 0;
}

.badge-text-title {
    font-weight: 700;
}

.badge-text-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.rooms-section,
.reviews-section,
.booking-section,
.contact-section,
.admin-section {
    padding: 90px 0;
}

.reviews-section,
.contact-section {
    background: var(--background);
}

.section-header {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-tagline {
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-title {
    margin: 8px 0;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

.section-divider {
    width: 68px;
    height: 3px;
    margin: 18px auto;
    background: var(--gold);
    border-radius: 2px;
}

.section-desc {
    margin: 0;
    color: var(--muted);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.review-card,
.reviews-grid>* {
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 7px 20px rgba(16, 42, 67, 0.07);
}

.review-stars {
    color: var(--gold);
    letter-spacing: 3px;
}

.review-comment {
    color: var(--text);
    font-style: italic;
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 28px;
    align-items: start;
}

.booking-form-card,
.booking-summary-sidebar,
.contact-info-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.booking-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.booking-field-wide {
    grid-column: 1 / -1;
}

.booking-label,
.booking-checkbox-title {
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 700;
}

.booking-checkbox-title {
    margin: 0 0 8px;
}

.booking-input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    color: var(--text);
    background: #fbfdfe;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

textarea.booking-input {
    resize: vertical;
}

.booking-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(23, 107, 135, 0.13);
}

.booking-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.booking-checkbox-grid label {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 9px 11px;
    background: var(--background);
    border-radius: 7px;
}

.form-error {
    min-height: 24px;
    margin: 14px 0 8px;
    color: var(--danger);
    font-size: 0.9rem;
    font-weight: 700;
}

.booking-summary-sidebar {
    position: sticky;
    top: 100px;
    min-height: 160px;
    background: var(--navy);
    color: var(--white);
}

.booking-summary-sidebar h2,
.booking-summary-sidebar h3,
.booking-summary-sidebar h4 {
    color: #f2c766;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contact-info-card p {
    margin: 9px 0;
}

.contact-map {
    grid-column: 1 / -1;
    overflow: hidden;
    min-height: 390px;
    background: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 390px;
    border: 0;
}

.admin-section {
    min-height: calc(100vh - 76px);
    background: var(--background);
}

#admin-content {
    margin-top: 28px;
}

#admin-content table {
    width: 100%;
    margin-top: 20px;
    background: var(--white);
    border-collapse: collapse;
}

#admin-content th,
#admin-content td {
    padding: 12px;
    border: 1px solid var(--border);
    text-align: left;
}

#admin-content th {
    color: var(--white);
    background: var(--navy);
}

.footer {
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.78);
    background: var(--navy-dark);
}

.footer-bottom {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.footer .action-button-admin-trigger {
    color: rgba(255, 255, 255, 0.78);
}

.lightbox {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    padding: 20px;
    background: rgba(2, 12, 21, 0.78);
    place-items: center;
}

.lightbox>* {
    width: min(560px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@media (max-width: 900px) {
    .nav-menu-desktop {
        gap: 1px;
    }

    .top-navigation-link,
    .action-button-admin-trigger,
    .action-button-nav-reserve {
        padding: 9px 7px;
        font-size: 0.8rem;
    }

    .rooms-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-summary-sidebar {
        position: static;
    }
}

@media (max-width: 680px) {
    html {
        scroll-padding-top: 68px;
    }

    .site-wrapper,
    .hero-content {
        width: min(100% - 28px, 1180px);
    }

    .top-navigation,
    .nav-site-wrapper {
        min-height: 68px;
    }

    .nav-brand-title {
        font-size: 1.08rem;
    }

    .nav-brand-subtitle {
        font-size: 0.58rem;
    }

    .brand-bird {
        font-size: 1.9rem;
    }

    .nav-menu-desktop {
        gap: 3px;
    }

    .top-navigation-link,
    .action-button-admin-trigger {
        display: none;
    }

    .action-button-nav-reserve {
        margin: 0;
        padding: 9px 11px;
    }

    .hero {
        min-height: 720px;
    }

    .hero-overlay {
        background: rgba(4, 20, 34, 0.67);
    }

    .hero-content {
        padding: 60px 0 42px;
        text-align: center;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-actions,
    .trust-badges {
        justify-content: center;
    }

    .hero-actions .action-button {
        width: 100%;
    }

    .trust-badges {
        gap: 18px;
        margin-top: 38px;
    }

    .badge-item {
        width: 100%;
        justify-content: center;
    }

    .rooms-section,
    .reviews-section,
    .booking-section,
    .contact-section,
    .admin-section {
        padding: 62px 0;
    }

    .section-header {
        margin-bottom: 34px;
    }

    .rooms-grid,
    .reviews-grid,
    .contact-grid,
    .booking-form-grid,
    .booking-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .booking-field-wide,
    .contact-map {
        grid-column: auto;
    }

    .booking-form-card,
    .booking-summary-sidebar,
    .contact-info-card {
        padding: 20px;
    }

    .contact-map,
    .contact-map iframe {
        height: 300px;
        min-height: 300px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}