/* ============================================
   INNER PAGES — Shared Styles
   ============================================ */

/* Page hero banner (small) */
.page-hero {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-h);
}
.page-hero-bg {
    position: absolute;
    inset: 0;
}
.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,24,0.55) 0%, rgba(26,26,24,0.7) 100%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}
.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.page-hero .section-ornament {
    margin-bottom: 0;
}
.page-hero .ornament-line {
    color: var(--gold-light);
}

/* Breadcrumb */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.8rem;
    color: var(--text-light);
}
.breadcrumb a {
    color: var(--gold);
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: var(--gold-light);
}
.breadcrumb span {
    margin: 0 8px;
    opacity: 0.5;
}

/* Inner page content */
.page-content {
    padding: 60px 0 var(--section-py);
}
.page-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 24px;
}
.page-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 16px;
    margin-top: 32px;
}
.page-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 800px;
}
.page-content ul {
    margin-bottom: 16px;
    padding-left: 0;
}
.page-content ul li {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}
.page-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* ========== ROOM DETAIL PAGE ========== */
.room-detail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}
.room-gallery {
    position: relative;
}
.room-gallery-main {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 8px 30px var(--shadow);
}
.room-gallery-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.6s var(--ease-out-expo);
}
.room-gallery-main:hover img {
    transform: scale(1.03);
}
.room-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.room-thumb {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: border-color 0.3s, opacity 0.3s;
    opacity: 0.6;
}
.room-thumb.active,
.room-thumb:hover {
    border-color: var(--gold);
    opacity: 1;
}
.room-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.room-info h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 8px;
}
.room-info .room-area {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.room-info .room-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}
.room-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
    margin-top: 24px;
}
.room-amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.room-amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 6px 0;
}
.room-amenity-item i {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
}
.room-price-block {
    margin-top: 32px;
    padding: 24px;
    background: var(--cream);
    border-radius: 8px;
    border: 1px solid rgba(184,134,11,0.15);
}
.room-price-block .price-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}
.room-price-block .price-big {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark);
}
.room-price-block .price-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 8px;
}
/* ========== PRICE TABLE ========== */
.price-table-wrapper {
    overflow-x: auto;
    margin: 32px 0;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}
.price-table thead th {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    padding: 16px 12px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
    background: var(--cream);
}
.price-table thead th:first-child {
    text-align: left;
}
.price-table tbody td {
    padding: 14px 12px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text);
    border-bottom: 1px solid rgba(184,134,11,0.12);
}
.price-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--dark);
}
.price-table tbody tr:hover {
    background: var(--cream);
}
.price-notes {
    margin-top: 24px;
}
.price-notes li {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
    margin-bottom: 4px;
}
.price-notes li::before {
    content: attr(data-num);
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.8rem;
}

/* ========== PHOTO GALLERY GRID ========== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.photo-grid-item {
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 1;
}
.photo-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}
.photo-grid-item:hover img {
    transform: scale(1.08);
}
.photo-grid-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26,26,24,0.1);
    opacity: 1;
    transition: opacity 0.3s;
}
.photo-grid-item:hover::after {
    opacity: 0;
}

/* ========== CONTACTS PAGE ========== */
.contacts-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

/* ========== REVIEWS ========== */
.reviews-list {
    max-width: 700px;
}
.review-card {
    padding: 24px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 16px var(--shadow);
    margin-bottom: 20px;
}
.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}
.review-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}
.review-text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
}

/* ========== ABOUT PAGE SPECIFICS ========== */
.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}
.about-page-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
}
.about-page-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.advantage-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 16px var(--shadow);
}
.advantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}
.advantage-icon i { width: 24px; height: 24px; }
.advantage-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}
.advantage-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: none;
}

/* ========== EXPLORE MODULE (room pages) ========== */
.room-explore {
    padding: 72px 0 80px;
    background: linear-gradient(170deg, var(--cream) 0%, var(--gold-pale) 50%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
}
.room-explore-header {
    text-align: center;
    margin-bottom: 40px;
}
.room-explore-ornament {
    width: min(360px, 70vw);
    color: var(--gold);
    margin-bottom: 16px;
}
.room-explore-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    color: var(--dark);
    letter-spacing: 0.03em;
}

.room-explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.explore-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 12px;
    padding: 36px 20px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition:
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.explore-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.explore-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(184,134,11,0.12),
        0 8px 24px var(--shadow-strong);
}
.explore-card:hover::before {
    transform: scaleX(1);
}

.explore-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.explore-card-icon i {
    width: 24px;
    height: 24px;
    color: var(--gold);
    transition: color 0.3s;
}
.explore-card:hover .explore-card-icon {
    background: var(--gold);
    transform: scale(1.1);
}
.explore-card:hover .explore-card-icon i {
    color: var(--white);
}

.explore-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 6px;
    transition: color 0.3s;
}
.explore-card:hover h3 {
    color: var(--gold);
}
.explore-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: none;
}

.explore-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--gold);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.explore-card-arrow i { width: 16px; height: 16px; }
.explore-card:hover .explore-card-arrow {
    background: var(--gold);
    color: var(--white);
    transform: translateX(4px);
}

/* ========== RESPONSIVE for inner pages ========== */
@media (max-width: 1024px) {
    .room-explore-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .page-hero { height: 260px; }
    .room-detail {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .room-gallery-main img { height: 280px; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .contacts-page-grid { grid-template-columns: 1fr; }
    .about-page-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .room-amenities-grid { grid-template-columns: 1fr; }
    .room-explore { padding: 48px 0 56px; }
    .room-explore-title { font-size: 1.6rem; }
}
@media (max-width: 480px) {
    .room-explore-grid { grid-template-columns: 1fr; gap: 16px; }
    .explore-card { padding: 28px 16px 24px; }
}
