/*
Theme Name: Miyako Yuiyui
Theme URI: https://miyako-yuiyui.com/
Description: 宮古島ゆいゆいのWordPressテーマ。静的ページベースのテーマです。
Author: Miyako Yuiyui
Version: 1.0
Text Domain: miyako-yuiyui
*/

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    color: #222222;
    background-color: #ffffff;
    line-height: 1.6;
}

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

a {
    color: #005b80;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    border-bottom: none;
    background: none;
    padding-top: 96px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    background-color: #ffffff;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.site-logo a {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111111;
}

.site-nav {
    position: relative;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-menu a {
    color: #444444;
}

.nav-menu a[aria-current="page"] {
    font-weight: 600;
    color: #006c84;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid #222222;
    width: 40px;
    height: 32px;
    padding: 4px;
}

.nav-toggle-line {
    display: block;
    height: 2px;
    background-color: #222222;
    margin: 6px 0;
}

.hero {
    position: relative;
    color: #ffffff;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #777777;
}

.hero-slide {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.05)
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
    animation: fadeIn 1s ease-out;
    justify-content: center;
    padding-bottom: 32px;
    color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-inner {
    margin: 10vh 0 0 auto;
    padding-left: 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-tagline {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero h1 {
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero-lead {
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

.hero-actions {
    animation: fadeInUp 0.8s ease-out 1.1s both;
}

.hero-tagline {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 10px;
    color: #dff4fa;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: 2.05rem;
    letter-spacing: 0.06em;
}

.hero-lead {
    margin: 0 0 20px;
    color: #ffffff;
    font-size: 0.96rem;
}

.hero-scroll {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ededed;
    display: none;
}

/* Ensure all text in hero is white */
.hero .hero-tagline,
.hero h1,
.hero p {
    color: #ffffff;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.45);
    border: none;
    padding: 0;
    cursor: pointer;
}

.hero-dot.is-active {
    background-color: #ffffff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 10px 20px;
    border: 1px solid #222222;
    background-color: #222222;
    color: #ffffff;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-secondary {
    background-color: #ffffff;
    color: #222222;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #005b80;
}

.btn-link::after {
    content: "";
    display: inline-block;
    margin-left: 6px;
    width: 12px;
    height: 1px;
    background-color: currentColor;
}

.btn-primary:hover,
.btn-secondary:hover {
    text-decoration: none;
    opacity: 0.9;
}

/* LINE Button Styles */
a[href*="lin.ee"],
.btn-line {
    background-color: #00C300 !important;
    border-color: #00C300 !important;
    color: #ffffff !important;
}

a[href*="lin.ee"]:hover,
.btn-line:hover {
    background-color: #00B000 !important;
    border-color: #00B000 !important;
    color: #ffffff !important;
    opacity: 1;
}

/* Hero specific button adjustments */
.hero .btn-primary {
    border-color: #059669;
    background-color: #059669;
    color: #ffffff;
}

.hero .btn-secondary {
    border-color: #ffffff;
    background-color: transparent;
    color: #ffffff;
}

.hero .btn-primary:hover {
    background-color: #047857;
    border-color: #047857;
}

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.section {
    padding: 72px 0;
}

.section:first-of-type {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.section--sand {
    background-color: #faf4ea;
}

.split-text {
    opacity: 0;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.split-media {
    opacity: 0;
    animation: slideInRight 1s ease-out 0.6s both;
}

.section--blue {
    background-color: #f1f7fb;
}

.section-light {
    background-color: #f5f7fb;
}

.section-accent {
    background-color: #fff4e4;
}

h1,
h2,
h3 {
    font-weight: 600;
    color: #222222;
}

h2 {
    font-size: 1.4rem;
    margin: 0 0 16px;
}

h3 {
    font-size: 1.1rem;
    margin: 0 0 8px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.split-layout.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

/* Generic split layout used on multiple pages */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.split--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.split-text p {
    margin: 0 0 12px;
}

.split-media {
    min-height: 220px;
}

.image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #dddddd;
}

.link-more {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.9rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card-grid.three-cols {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Simple three-column grid (home sections) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

/* Card slider (horizontal) */
.card-slider {
    position: relative;
}

.card-slider-track {
    display: flex;
    gap: 28px;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 12px;
}

.card-slider-track::-webkit-scrollbar {
    height: 8px;
}

.card-slider-track::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.18);
    border-radius: 999px;
}

.card-slider .card {
    flex: 0 0 calc((100% - 56px) / 3);
    scroll-snap-align: start;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    z-index: 2;
}

.slider-arrow::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(15, 23, 42, 0.75);
    border-bottom: 2px solid rgba(15, 23, 42, 0.75);
    margin: 0 auto;
}

.slider-arrow--prev {
    left: -14px;
}

.slider-arrow--prev::before {
    transform: rotate(135deg);
}

.slider-arrow--next {
    right: -14px;
}

.slider-arrow--next::before {
    transform: rotate(-45deg);
}

.slider-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.card {
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.section-title {
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    margin: 0 0 18px;
}

.section-subtitle {
    margin: 0 0 28px;
    font-size: 0.95rem;
    color: #555555;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header .section-title {
    margin-bottom: 16px;
}

.section-header .section-subtitle {
    margin-bottom: 16px;
}

.section-header p {
    margin: 0 0 16px;
    line-height: 1.8;
}

.section-header p:last-child {
    margin-bottom: 0;
}

.notice-box {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.notice-box .plain-list {
    margin: 0;
}

.notice-box .plain-list li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.notice-box .plain-list li:last-child {
    margin-bottom: 0;
}

.spec-images {
    width: 100%;
    margin-bottom: 48px;
}

.spec-image-slider {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.spec-image-track {
    display: flex;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.spec-image-track::-webkit-scrollbar {
    display: none;
}

.spec-image-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.spec-image-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.spec-image-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.spec-image-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.spec-image-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.spec-image-dot.is-active {
    background-color: #ffffff;
    width: 24px;
    border-radius: 5px;
}

.spec-list {
    max-width: 800px;
    margin: 0 auto;
}

.spec-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.spec-list-items li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.spec-list-items li:hover {
    border-color: #059669;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.1);
    transform: translateY(-2px);
}

.spec-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #059669;
}

.spec-list-items li span {
    font-size: 1rem;
    color: #222222;
    font-weight: 500;
}

.facility-table {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.facility-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.facility-table td {
    padding: 16px 20px;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #222222;
}

.facility-table tr:first-child td {
    border-top: none;
}

.facility-table tr:last-child td {
    border-bottom: none;
}

.facility-table td:first-child {
    border-left: none;
    font-weight: 500;
}

.facility-table td:last-child {
    border-right: none;
}

.facility-table a {
    color: #059669;
    text-decoration: underline;
}

.facility-table a:hover {
    color: #047857;
}

.contact-box {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 32px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-box p {
    margin: 0 0 16px;
    line-height: 1.8;
}

.contact-box p:last-child {
    margin-bottom: 0;
}

.card-media {
    height: 180px;
    background-color: #dddddd;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 20px 24px 20px;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.section-cta {
    margin-top: 24px;
}

.booking-summary {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.plain-list {
    padding-left: 18px;
}

.plain-list li {
    margin-bottom: 4px;
}

.rental-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.rental-note {
    font-size: 0.85rem;
    color: #555555;
}

.location-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
}

.location-map {
    min-height: 320px;
}

.location-image {
    min-height: 200px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.location-text {
    margin-top: 24px;
}

/* Staff page styles */
.staff-content {
    max-width: 800px;
    margin: 0 auto;
}

.staff-text {
    margin-bottom: 32px;
}

.staff-text p {
    margin: 0 0 16px;
    line-height: 1.8;
}

.staff-info {
    margin: 32px 0;
}

.staff-info-item {
    margin-bottom: 20px;
}

.staff-info-item h3 {
    font-size: 1.1rem;
    margin: 0 0 8px;
    color: #222222;
}

.staff-info-item p {
    margin: 0;
    line-height: 1.7;
}

.staff-details {
    margin: 32px 0;
    padding: 24px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.staff-detail-row {
    display: flex;
    margin-bottom: 12px;
    line-height: 1.7;
}

.staff-detail-row:last-child {
    margin-bottom: 0;
}

.staff-detail-label {
    font-weight: 600;
    min-width: 120px;
    color: #444444;
}

.staff-detail-value {
    color: #222222;
}

.staff-message {
    margin: 40px 0;
}

.staff-message p {
    margin: 0 0 20px;
    line-height: 1.8;
}

.staff-instagram {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.staff-instagram h3 {
    margin-bottom: 12px;
}

.staff-instagram > p {
    margin: 0 0 24px;
    color: #555555;
}

.instagram-embed {
    max-width: 540px;
    margin: 0 auto;
}

.instagram-embed iframe {
    width: 100%;
    max-width: 540px;
}

/* Instagram Feed Styles */
#sb_instagram {
    width: 100%;
    padding-bottom: 10px;
}

.sb_instagram_header {
    padding: 5px;
    padding-bottom: 0;
    margin-bottom: 10px;
}

.sbi_header_link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #222222;
}

.sbi_header_text h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.sbi_header_img {
    margin-left: auto;
}

.sbi_header_hashtag_icon {
    width: 24px;
    height: 24px;
}

.sbi_header_hashtag_icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

#sbi_images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 5px;
}

.sbi_item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.sbi_photo_wrap {
    width: 100%;
    height: 100%;
    position: relative;
}

.sbi_photo {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.sbi_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sbi_lightbox_carousel_icon,
.sbi_playbtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
}

.sbi_playbtn {
    width: 32px;
    height: 32px;
}

.sbi_lightbox_carousel_icon svg,
.sbi_playbtn svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.sbi_item:hover .sbi_photo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

#sbi_load {
    padding: 20px 5px;
    text-align: center;
}

.sbi_follow_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(225, 48, 108, 0.3);
}

.sbi_follow_btn:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
    text-decoration: none;
}

.sbi_follow_btn svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.step {
    border: 1px solid #e0e0e0;
    padding: 24px 20px;
    background-color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.step-label {
    display: inline-block;
    padding: 2px 8px;
    background-color: #222222;
    color: #ffffff;
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.step p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #222222;
}

.contact-highlight {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    background-color: #0f172a;
    color: #e5e7eb;
    margin-top: 80px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 80px 20px 60px;
    gap: 48px;
}

.footer-logo {
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.footer-address {
    margin: 0 0 24px;
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 32px;
    font-size: 0.9rem;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 4px 0;
}

.footer-links a:hover {
    color: #059669;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    background-color: #020617;
}

.footer-bottom-inner {
    padding: 24px 20px;
    text-align: center;
}

.footer-copy {
    margin: 0;
    font-size: 0.85rem;
    color: #9ca3af;
}

.page-hero {
    position: relative;
    min-height: 50vh;
    color: #ffffff;
    overflow: hidden;
    padding-top: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #dddddd;
    filter: brightness(0.5);
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 0;
    padding-bottom: 0;
}

.page-hero-text {
    color: #ffffff;
}

.page-hero-text h1 {
    margin: 0 0 8px;
    font-size: 1.8rem;
    color: #ffffff;
}

.page-hero-text p {
    margin: 0;
    color: #ffffff;
}

.form {
    max-width: 800px;
    margin: 0 auto;
}

.form--two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row {
    margin-bottom: 16px;
}

.form-row--half {
    grid-column: span 1;
}

.form-row--full {
    grid-column: 1 / -1;
}

.form-row label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.form-required {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.75rem;
    color: #c13515;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: inherit;
    background-color: #ffffff;
    color: #222222;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="date"]:hover,
input[type="number"]:hover,
select:hover,
textarea:hover {
    border-color: #999999;
}

textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-error {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: #c13515;
    min-height: 1em;
}

.form-success {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #006633;
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: flex-start;
}

.form-label-inline {
    font-size: 0.9rem;
    margin: 0 0 4px;
}

.option-row {
    font-size: 0.9rem;
    margin-top: 4px;
}

.total-row {
    border-top: 1px solid #e0e0e0;
    padding-top: 12px;
}

.total-label {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.total-amount {
    font-size: 1.2rem;
    font-weight: 600;
}

.total-note {
    font-size: 0.8rem;
    color: #555555;
    margin-top: 4px;
}

.beds24-placeholder {
    margin-top: 24px;
    border: 1px dashed #cccccc;
    padding: 16px;
    font-size: 0.85rem;
    color: #555555;
}

.rental-banner-inline {
    margin-top: 32px;
    padding: 24px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #059669;
}

.rental-banner-inline h3 {
    font-size: 1.1rem;
    margin: 0 0 12px;
    color: #222;
}

.rental-banner-inline p {
    margin: 0;
    line-height: 1.7;
    color: #555;
}

.match-section h2 {
    margin-top: 0;
}

.match-summary {
    margin-bottom: 12px;
}

.match-filters {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.match-filters label {
    font-size: 0.85rem;
}

.match-table-wrapper {
    overflow-x: auto;
}

.match-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.match-table th,
.match-table td {
    padding: 6px 8px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.match-table caption {
    text-align: left;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.match-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.match-list li {
    border-bottom: 1px solid #e0e0e0;
    padding: 6px 0;
}

@media (max-width: 900px) {
    .split-layout,
    .booking-summary,
    .rental-banner,
    .contact-highlight,
    .location-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .split {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-slider .card {
        flex-basis: calc((100% - 28px) / 2);
    }

    .slider-arrow--prev {
        left: -10px;
    }

    .slider-arrow--next {
        right: -10px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 20px 40px;
        gap: 32px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 24px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #ffffff;
        border: 1px solid #e0e0e0;
        flex-direction: column;
        padding: 8px 16px;
        gap: 8px;
        min-width: 180px;
        display: none;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .header-inner {
        padding-right: 8px;
    }

    .section {
        padding: 52px 0;
    }

    .footer-inner {
        padding: 48px 16px 32px;
        gap: 24px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .page-hero {
        padding-top: 120px;
    }

    /* Form - Tablet: 1 column */
    .form--two-column {
        grid-template-columns: 1fr;
    }

    /* Instagram Feed - Tablet: 2 columns */
    #sbi_images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .card-slider .card {
        flex-basis: 84%;
    }

    .slider-arrow {
        display: none;
    }

    .spec-image-dots {
        bottom: 12px;
        gap: 8px;
    }

    .spec-image-dot {
        width: 8px;
        height: 8px;
    }

    .spec-image-dot.is-active {
        width: 20px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .container {
        padding: 0 16px;
    }

    .page-hero {
        padding-top: 100px;
    }

    /* Form - Mobile: 1 column */
    .form--two-column {
        grid-template-columns: 1fr;
    }

    /* Instagram Feed - Mobile: 1 column */
    #sbi_images {
        grid-template-columns: repeat(1, 1fr);
    }

    /* Facility Table - Mobile */
    .facility-table {
        font-size: 0.85rem;
    }

    .facility-table td {
        padding: 12px 16px;
    }
}

