/* 
  Second Home - Main Stylesheet
  Colors from brand identity:
  Dark Blue: #0D2B45
  Medium Blue: #1E79A8
  Light Blue: #63B0D6
  Orange/Gold: #F1A340
*/

:root {
    --primary-dark: #0D2B45;
    --primary-blue: #1E79A8;
    --secondary-blue: #63B0D6;
    --accent-orange: #F1A340;
    
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--primary-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 121, 168, 0.4);
}

.btn-accent {
    background-color: var(--accent-orange);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #e0922f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 163, 64, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    padding: 15px 0;
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 50px;
}

.navbar .nav-list {
    display: flex;
    gap: 30px;
}

.navbar .nav-list a {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 17px;
    color: var(--primary-dark);
    position: relative;
}

.navbar .nav-list a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: var(--transition);
}

.navbar .nav-list a:not(.btn):hover::after {
    width: 100%;
}

.navbar .nav-list a:not(.btn):hover {
    color: var(--primary-blue);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 43, 69, 0.6), rgba(13, 43, 69, 0.3));
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    color: var(--white);
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 10px;
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    color: var(--accent-orange);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease 0.3s backwards;
}

/* Booking Card */
.booking-card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 35px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.booking-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 20px;
    align-items: end;
}

.form-group {
    text-align: left;
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--primary-blue);
    margin-right: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 121, 168, 0.1);
}

.booking-form .btn {
    padding: 14px 30px;
    height: 52px;
    width: 100%;
    white-space: nowrap;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(99, 176, 214, 0.15);
    color: var(--primary-blue);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 13px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.features-list {
    margin-bottom: 30px;
}

.features-list li {
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.features-list li i {
    color: var(--accent-orange);
    font-size: 20px;
    margin-right: 15px;
}

.about-images {
    position: relative;
}

.about-images .img-main {
    width: 85%;
    border-radius: 15px;
    box-shadow: var(--shadow);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.about-images .img-sub {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 50%;
    border-radius: 15px;
    border: 8px solid var(--white);
    box-shadow: var(--shadow);
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* Guide Section */
.section-header {
    max-width: 600px;
    margin: 0 auto 50px;
}

.text-center {
    text-align: center;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.guide-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.guide-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guide-card:hover .card-img img {
    transform: scale(1.1);
}

.card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-head);
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-body p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Homestays Overview Section */
.homestays-section {
    background-color: #fdfcfb;
}

.homestay-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.homestay-card {
    background-color: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.homestay-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.homestay-card-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.homestay-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.homestay-card:hover .homestay-card-img img {
    transform: scale(1.08);
}

.homestay-badge-branch {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(13, 43, 69, 0.88);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
}

.homestay-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.homestay-card-title {
    font-size: 1.45rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.homestay-card-location {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.homestay-card-location a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.homestay-card-location a:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

.homestay-stats-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 10px;
    border-radius: 12px;
    margin-bottom: 18px;
    text-align: center;
}

.homestay-stats-pills-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 900px) {
    .homestay-stats-pills-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 12px 10px !important;
    }
}

@media (max-width: 480px) {
    .homestay-stats-pills-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 10px 8px !important;
    }
    .homestay-stats-pills-4 .homestay-stat-pill .stat-label {
        font-size: 10px;
    }
    .homestay-stats-pills-4 .homestay-stat-pill .stat-val {
        font-size: 13px !important;
    }
}

.homestay-stat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.homestay-stat-pill .stat-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.homestay-stat-pill .stat-val {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-dark);
}

.homestay-stat-pill .stat-val.highlight {
    color: var(--primary-orange);
}

.homestay-card-desc {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Home Homestay Card Action Buttons */
.homestay-card-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
    align-items: center;
}

.homestay-card-actions .btn-action-main {
    flex: 1.3;
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
    white-space: nowrap;
    height: 38px;
    background-color: var(--accent-orange);
    color: #fff;
    border: none;
    transition: var(--transition);
}
.homestay-card-actions .btn-action-main:hover {
    background-color: #e0922f;
    transform: translateY(-1px);
}

.homestay-card-actions .btn-action-sub {
    flex: 1;
    padding: 9px 10px;
    font-size: 12.5px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 600;
    white-space: nowrap;
    height: 38px;
    background-color: transparent;
    color: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
    transition: var(--transition);
}
.homestay-card-actions .btn-action-sub:hover {
    background-color: var(--primary-blue);
    color: #fff;
    transform: translateY(-1px);
}

.homestay-card-actions .btn-action-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #cbd5e1;
    color: var(--primary-dark);
    background: #fff;
    transition: var(--transition);
}
.homestay-card-actions .btn-action-icon:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .homestay-card-actions {
        gap: 6px;
    }
    .homestay-card-actions .btn-action-main {
        font-size: 12px;
        padding: 8px 8px;
        gap: 4px;
    }
    .homestay-card-actions .btn-action-sub {
        font-size: 11.5px;
        padding: 8px 6px;
        gap: 3px;
    }
    .homestay-card-actions .btn-action-icon {
        flex: 0 0 34px;
        width: 34px;
        height: 38px;
    }
}

/* Homestay Detail Layout Classes */
.homestay-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.homestay-header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .homestay-header-wrap {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }
    .homestay-header-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }
    .homestay-header-actions .btn-main-booking {
        grid-column: 1 / -1;
    }
    .homestay-header-actions .btn {
        width: 100%;
        padding: 9px 12px !important;
        font-size: 13px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.homestay-gallery-main {
    position: relative;
    height: 460px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .homestay-gallery-main {
        height: 240px;
        border-radius: 12px;
    }
}

.homestay-booking-box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.homestay-booking-form-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr 160px;
    gap: 15px;
    align-items: flex-end;
}

@media (max-width: 900px) {
    .homestay-booking-form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .homestay-booking-form-grid .form-guest-group,
    .homestay-booking-form-grid .form-btn-group {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .homestay-booking-box {
        padding: 20px 16px;
    }
    .homestay-booking-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.homestay-about-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 45px;
    align-items: start;
}

@media (max-width: 992px) {
    .homestay-about-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.houses-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

@media (max-width: 576px) {
    .houses-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.rooms-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

@media (max-width: 576px) {
    .rooms-cards-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.badge-branch-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(30, 121, 168, 0.12);
    color: var(--primary-blue);
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 8px;
}

.homestay-detail-title {
    font-size: 2.3rem;
    color: var(--primary-dark);
    margin: 0 0 8px 0;
    font-weight: 800;
    line-height: 1.25;
}

@media (max-width: 768px) {
    .homestay-detail-title {
        font-size: 1.65rem;
        margin-bottom: 6px;
    }
}

.homestay-detail-address {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 14.5px;
    flex-wrap: wrap;
    line-height: 1.4;
}

.homestay-detail-address a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.homestay-detail-address a:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    padding-top: 125px !important;
    padding-bottom: 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        padding-top: 105px !important;
        padding-bottom: 12px;
        font-size: 13px;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 20px;
    font-size: 15px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo-wrapper {
    display: inline-block;
    background-color: var(--white);
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.footer-logo {
    height: 50px;
    display: block;
}

.footer-slogan {
    color: var(--accent-orange);
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-orange);
    transform: translateY(-3px);
}

.footer h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-orange);
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info li i {
    color: var(--accent-orange);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info strong {
    color: var(--white);
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    transition: var(--transition);
}

.links-col ul li a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Two-column Layout for Category & Detail Pages */
.page-header {
    background-color: var(--primary-dark);
    padding: 120px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-layout {
    display: flex;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.main-content {
    flex: 1;
    min-width: 0;
}
.sidebar {
    width: 350px;
    flex-shrink: 0;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: flex;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-item .img-wrapper {
    flex: 0 0 300px;
    height: 200px;
}

.news-item .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.news-date {
    color: var(--primary-blue);
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Article Detail */
.article-detail img {
    width: 100%;
    border-radius: 15px;
    margin: 20px 0;
}
.article-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.article-detail p {
    margin-bottom: 15px;
    font-size: 16px;
}

.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}
.sidebar {
    width: 350px;
    flex-shrink: 0;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: flex;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-item .img-wrapper {
    flex: 0 0 300px;
    height: 200px;
}

.news-item .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-item-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.news-date {
    color: var(--primary-blue);
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Article Detail */
.article-detail img {
    width: 100%;
    border-radius: 15px;
    margin: 20px 0;
}
.article-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.article-detail p {
    margin-bottom: 15px;
    font-size: 16px;
}

.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}
.related-posts .guide-grid {
    margin-top: 20px;
}

/* Sidebar Booking Form */
.sidebar-widget .booking-form {
    grid-template-columns: 1fr;
    gap: 15px;
    align-items: stretch;
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Scroll To Top Progress */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(30, 121, 168, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 400ms linear;
}
.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.progress-wrap::after {
    position: absolute;
    content: '\f062'; /* FontAwesome arrow-up */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    color: var(--primary-blue);
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    z-index: 1;
    transition: all 400ms linear;
}
.progress-wrap:hover::after {
    color: var(--primary-dark);
}
.progress-wrap svg.svg-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.progress-wrap svg.svg-content path {
    fill: none;
    stroke: var(--primary-blue);
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}

html {
    overflow-x: hidden;
    width: 100%;
}

.header-actions .login-icon:hover {
    color: var(--primary-blue) !important;
}

/* Swiper Custom Navigation */
.swiper-button-next, .swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.5);
    color: white !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }

    .news-item {
        flex-direction: column;
    }

    .news-item .img-wrapper {
        flex: auto;
        width: 100%;
        height: 220px;
    }

    .booking-form {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .booking-form .btn {
        grid-column: 1 / -1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-images {
        margin-top: 10px;
        text-align: center;
        position: relative;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-images .img-main {
        width: 100%;
        border-radius: 15px;
    }
    
    .about-images .img-sub {
        width: 55%;
        bottom: -15px;
        right: -10px;
        border-radius: 12px;
        border: 4px solid #fff;
    }
    
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.85rem;
    }
    h2, .section-title {
        font-size: 1.75rem;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 130px;
        padding-bottom: 50px;
        display: flex;
        align-items: center;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 2.8rem);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }

    .booking-card {
        padding: 22px 18px;
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

    .booking-form {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .booking-form .btn {
        grid-column: 1;
        margin-top: 5px;
        height: 48px;
    }

    .form-group input,
    .form-group select,
    .form-control {
        font-size: 16px !important; /* Prevent iOS Safari auto-zoom */
        padding: 11px 14px;
    }
    
    .article-detail h1, .post-title {
        font-size: 1.6rem;
    }

    .header-container {
        position: relative;
    }
    
    .navbar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 15px 30px rgba(0,0,0,0.12);
        padding: 20px;
        border-top: 1px solid #f1f5f9;
        border-radius: 0 0 15px 15px;
        z-index: 1000;
    }
    .navbar.active {
        display: block;
        animation: fadeInDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .navbar .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .navbar .nav-list li {
        width: 100%;
    }
    .navbar .nav-list a {
        display: block;
        width: 100%;
        padding: 8px 0;
        font-size: 16px;
    }
    
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 22px;
        margin-left: 10px;
        background: rgba(13, 43, 69, 0.05);
        border-radius: 8px;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .logo img {
        height: 55px;
    }
    .header.scrolled .logo img {
        height: 45px;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Booking Summary Grid on mobile */
    .booking-summary-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 15px !important;
    }

    /* Room Search Item Mobile */
    .room-search-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }
    .room-search-header .price-box {
        text-align: left !important;
    }

    .room-features-wrap {
        flex-wrap: wrap;
        gap: 10px !important;
    }

    /* Gallery thumbnail touch scroll */
    .gallery-scroll-container {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 5px;
    }
    .gallery-thumb {
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .post-content img, .post-content iframe, .post-content video, .post-content table {
        max-width: 100% !important;
        height: auto !important;
    }

    .progress-wrap {
        right: 15px;
        bottom: 15px;
        height: 40px;
        width: 40px;
    }
    .progress-wrap::after {
        line-height: 40px;
        font-size: 16px;
        height: 40px;
        width: 40px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .homestay-card-img {
        height: 210px;
    }

    .homestay-card-body {
        padding: 16px 14px;
    }

    .homestay-card-title {
        font-size: 1.25rem;
        margin-bottom: 5px;
    }

    .homestay-card-location {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .homestay-stats-pills {
        padding: 8px 6px;
        gap: 6px;
        margin-bottom: 12px;
    }
    .homestay-stats-pills .homestay-stat-pill .stat-label {
        font-size: 10px;
    }
    .homestay-stats-pills .homestay-stat-pill .stat-val {
        font-size: 12px;
    }

    .homestay-card-desc {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 14px;
    }
}

