/* 
   LOW COST RESORTS - Custom Style Sheets
   Theme: Okinawa Sky & Sea (Minimalist Premium Resort)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Outfit:wght@300;400;500;600;700;800&family=Noto+Serif+JP:wght@400;700&family=BIZ+UDPMincho&display=swap');

:root {
    --primary: #0284c7;        /* Sky Blue */
    --primary-dark: #0369a1;   /* Deep Blue */
    --text-main: #1e293b;      /* Slate 800 */
    --text-muted: #64748b;     /* Slate 500 */
    --bg-light: #f3f8fc;       /* Very Soft Blue-Gray */
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', 'Noto Sans JP', sans-serif;
    --font-body: 'Inter', 'Noto Sans JP', sans-serif;
}

/* Base resets & styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 38px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    letter-spacing: 0.05em;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section / Horizontal Slider */
.hero-slider-section {
    position: relative;
    width: 100%;
    margin-top: 70px; /* Offset for fixed header */
    height: 45vw; /* Grander vertical height to match Fukushima travel portal layout */
    max-height: 560px; /* Capped for large screen balance */
    overflow: hidden;
    background-color: #D0E3EE;
    display: flex;
    align-items: center;
}

.slider-wrapper {
    display: flex;
    height: 100%;
    align-items: center;
    transition: transform 2s cubic-bezier(0.25, 1, 0.5, 1); /* Slower, extremely smooth drifting transition matching tif.ne.jp */
    will-change: transform;
}

.slide {
    flex: 0 0 auto;
    height: 90%;
    aspect-ratio: 16 / 9;
    position: relative;
    padding: 0 15px; /* Comfortable padding between slides */
    box-sizing: border-box;
    opacity: 0.35;
    transform: scale(0.92);
    transition: transform 2s cubic-bezier(0.25, 1, 0.5, 1), opacity 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-main);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    opacity: 0;
}

.hero-slider-section:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dot.active {
    background: var(--bg-white);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Sections General Layout */
.section {
    padding: 6.5rem 2rem;
    position: relative;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Concept & About Sections */
.concept-about-container {
    background-color: var(--bg-white);
    padding-bottom: 2rem;
}

.row-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

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

.row-image-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px -15px rgba(2, 132, 199, 0.15);
    aspect-ratio: 4 / 3;
    transition: var(--transition);
    position: relative;
}

.row-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.row-item:hover .row-image-container img {
    transform: scale(1.04);
}

.row-content-container {
    padding-right: 1.5rem;
}

.row-subtitle {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.row-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}

.row-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
    font-weight: 400;
    text-align: justify;
}

/* Location Section */
.location-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.location-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.location-section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.location-section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.location-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid rgba(2, 132, 199, 0.05);
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.08);
}

.card-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.location-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

.card-body {
    padding: 2.5rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.card-title a:hover {
    color: var(--primary);
}

.card-subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify;
}

/* Footer Section */
footer {
    background-color: #e1edf5;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(2, 132, 199, 0.1);
}

.footer-bottom-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lcr-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 0.05em;
    color: var(--text-main);
}

.lcr-dots {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.lcr-dots span {
    width: 6px;
    height: 6px;
    background-color: var(--text-main);
    border-radius: 50%;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    list-style: none;
}

.footer-nav a {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Scroll Animations using JS + CSS classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .row-item {
        gap: 2.5rem;
    }
    
    .row-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0.75rem 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0;
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 0px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    
    .nav-menu.open {
        height: calc(100vh - 70px);
        padding: 3rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu-btn.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero-slider-section {
        margin-top: 70px;
        height: 56.25vw; /* Exactly 16:9 ratio on mobile/tablet to keep slides full-screen aspect */
        max-height: 400px;
        min-height: auto;
    }
    
    .slide {
        width: 100vw;
        height: 100%;
        padding: 0;
        opacity: 0.35;
        transform: scale(1);
        aspect-ratio: auto;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .row-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .row-content-container {
        padding-right: 0;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .card-body {
        padding: 1.75rem;
    }
}

/* Booking Buttons Component */
.booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    border: 2px solid var(--text-main);
    border-radius: 50px;
    background: transparent;
    text-decoration: none;
    transition: var(--transition);
    min-width: 200px;
    box-sizing: border-box;
}

.booking-btn:hover {
    background: var(--text-main);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Booking Card specific styling (used in Naha Airport page) */
.booking-card {
    position: relative;
    overflow: hidden;
}

.booking-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4); /* Soft dark overlay for perfect text readability */
    z-index: 1;
}

.booking-card > * {
    position: relative;
    z-index: 2;
}

.booking-card .booking-btn {
    color: #ffffff;
    border-color: #ffffff;
}

.booking-card .booking-btn:hover {
    background: #ffffff;
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Intermediate tablet sizing to match Fukushima travel portal layout (under 959px) */
@media (min-width: 769px) and (max-width: 959px) {
    .hero-slider-section {
        height: 56.25vw;
        max-height: 400px;
    }
    .slide {
        width: 100vw;
        height: 100%;
        padding: 0;
        opacity: 0.35;
        transform: scale(1);
        aspect-ratio: auto;
    }
}

/* ==========================================================================
   Property Owners / Investors Page Specific Styles
   ========================================================================== */

.intro-pill-badge {
    display: inline-block;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.owners-main-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-main);
    margin-bottom: 2rem;
}

@media (min-width: 769px) {
    .owners-main-title {
        font-size: 2.2rem;
        line-height: 1.6;
    }
}

.owners-main-title .serif-highlight {
    font-family: 'BIZ UDPMincho', 'Noto Serif JP', serif;
    font-size: 2.4rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-left: 0.3rem;
    margin-right: 0.3rem;
}

@media (min-width: 769px) {
    .owners-main-title .serif-highlight {
        font-size: 3.2rem;
    }
}

.strengths-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 769px) {
    .strengths-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.strength-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.strength-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.08);
    border-color: rgba(2, 132, 199, 0.2);
}

.strength-tag {
    background-color: rgba(2, 132, 199, 0.1);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.strength-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.strength-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: justify;
}

.target-properties-box {
    background-color: var(--bg-light);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-top: 3.5rem;
    margin-bottom: 4rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

@media (min-width: 769px) {
    .target-properties-box {
        padding: 3.5rem 3rem;
    }
}

.target-properties-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.properties-item {
    display: grid;
    grid-template-columns: 1fr;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
    gap: 0.5rem;
}

@media (min-width: 769px) {
    .properties-item {
        grid-template-columns: 180px 1fr;
        gap: 2rem;
    }
}

.properties-item:last-child {
    border-bottom: none;
}

.properties-key {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

.properties-val {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.6;
}

.properties-footer-text {
    text-align: center;
    margin-top: 2.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.owners-contact-section {
    text-align: center;
    padding: 4rem 1.5rem 6rem 1.5rem;
    background-color: var(--bg-white);
}

.owners-contact-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.owners-contact-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.owners-contact-email {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: var(--transition);
}

.owners-contact-email:hover {
    color: var(--primary);
}
