:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --text: #1f2937;
    --muted: #4b5563;
    --primary: #0b3c5d;
    --primary-soft: #dbeafe;
    --border: #d9e1ec;
    --shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

html,
body {
    height: 100%;
}

body {
    padding-top: 90px;
    margin: 0;
    background: radial-gradient(circle at top right, #e9eef8 0%, var(--bg) 42%);
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
    line-height: 1.7;
}

.body-content {
    padding-left: 16px;
    padding-right: 16px;
}

.page-shell {
    display: flex;
    min-height: calc(100vh - 90px);
    flex-direction: column;
}

.page-content-wrap {
    flex: 1;
    padding: 20px 0 32px;
}

h1,
h2,
h3,
h4 {
    font-family: "Libre Baskerville", Georgia, serif;
    letter-spacing: 0.01em;
    color: #0f172a;
}

h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    color: var(--muted);
}

a {
    color: var(--primary);
}

a:hover,
a:focus {
    color: #072f49;
}

.site-navbar {
    min-height: 90px;
    border: 0;
    background: rgba(11, 60, 93, 0.94);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.site-navbar .navbar-header {
    height: 90px;
}

.site-brand {
    height: 90px;
    padding-top: 7px;
}

.site-brand img {
    border-radius: 10px;
}

.site-nav-links {
    margin-top: 18px;
    float: right;
}

.site-nav-links > li > a,
.site-navbar .dropdown-toggle {
    color: #f8fafc !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 15px 12px;
}

.site-nav-links > li > a:hover,
.site-nav-links > li > a:focus,
.site-navbar .open > a,
.site-navbar .open > a:hover,
.site-navbar .open > a:focus {
    background: transparent !important;
    color: #dbeafe !important;
}

.site-navbar .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 8px;
}

.site-navbar .dropdown-menu > li > a {
    border-radius: 8px;
    padding: 9px 14px;
    font-weight: 600;
}

.site-navbar .dropdown-menu > li > a:hover {
    background: #eff6ff;
}

.site-intro,
.surface-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 24px;
}

.hero-copy {
    margin-bottom: 20px;
    font-size: 19px;
    color: #334155;
}

.alltexts {
    font-size: 18px;
    color: #334155;
}

.carousel-shell {
    max-width: 900px;
    margin: 0 auto;
}

.carousel-shell.compact {
    max-width: 500px;
}

.carousel-inner {
    border-radius: 14px;
    overflow: hidden;
}

.carousel-inner > .item > img {
    width: 100%;
    border: 0;
}

.carousel-control {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.carousel:hover .carousel-control {
    opacity: 1;
}

.about-photo {
    width: 100%;
    max-width: 420px;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.contact-form {
    max-width: 620px;
}

.form-control {
    height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: none;
}

textarea.form-control {
    height: 132px !important;
    resize: vertical;
}

.form-control:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.35);
}

.btn.btn-primary-alt {
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.btn.btn-primary-alt:hover,
.btn.btn-primary-alt:focus {
    background: #072f49;
    color: #fff;
}

.gallery-grid {
    margin-top: 4px;
}

.gallery-tile {
    display: block;
    margin-bottom: 24px;
}

.gallery-tile img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-tile:hover img {
    transform: translateY(-4px);
    box-shadow: 0 22px 38px rgba(15, 23, 42, 0.18);
}

.terms-card h3 {
    margin-top: 28px;
    font-size: 18px;
}

.terms-card h3:first-of-type {
    margin-top: 8px;
}

.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding: 20px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-footer p {
    margin: 0;
    color: #64748b;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 14px;
    font-size: 26px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-soft);
}

@media (max-width: 991px) {
    body {
        padding-top: 74px;
    }

    .site-navbar,
    .site-navbar .navbar-header,
    .site-brand {
        min-height: 74px;
        height: 74px;
    }

    .site-brand {
        padding-top: 4px;
    }

    .site-brand img {
        height: 60px;
    }

    .site-nav-links {
        float: none;
        margin-top: 0;
        padding: 8px 0 16px;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .page-content-wrap {
        padding-top: 8px;
    }

    .site-intro,
    .surface-card {
        padding: 18px;
    }

    .hero-copy,
    .alltexts {
        font-size: 16px;
    }
}
