
/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 80px 0;
    background: 
        linear-gradient(rgba(10, 10, 10, 0.92), rgba(20, 20, 20, 0.95)),
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        linear-gradient(-45deg, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto 40px;
}
.service-card {
    background: rgba(30, 30, 30, 0.85);
    border-radius: 20px;
    padding: 25px;

    /* viền champagne mặc định */
    border: 1.5px solid rgba(212, 175, 55, 0.45);

    transition: 
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;

    cursor: pointer;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.1),
        transparent
    );
    transition: left 0.7s ease;
}



.service-image {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}



.service-icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.6)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--champagne);
    font-size: 40px;
}

.service-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-experience {
    margin-bottom: 25px;
    flex-grow: 1;
}

.experience-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}



.experience-item i {
    color: var(--champagne);
    font-size: 14px;
    min-width: 16px;
}

.experience-item span {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.4;
}

.btn-view-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.25);
    border-radius: 10px;
    color: var(--champagne);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-view-details:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-view-details:active {
    transform: translateY(0);
}

/* ===== SERVICE DETAILS MODAL - FIXED ===== */
.service-details-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.details-header {
    padding: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    position: sticky;
    top: 0;
    background: #222222;
    z-index: 10;
}

.details-header h3 {
    color: #D4AF37;
    font-size: 24px;
    margin-bottom: 5px;
    padding-right: 40px;
}

.details-subtitle {
    color: #888888;
    font-size: 14px;
}

.close-details {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #D4AF37;
    color: #FFFFFF;
    font-size: 18px;
}

.close-details:hover {
    background: #D4AF37;
    color: #000000;
    transform: rotate(90deg);
}

.details-content {
    padding: 20px;
}

.details-images {
    margin-bottom: 20px;
}

.detail-image-main {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.detail-image-main img:hover {
    transform: scale(1.02);
}

.detail-image-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.detail-image-thumbs::-webkit-scrollbar {
    height: 5px;
}

.detail-image-thumbs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.detail-image-thumbs::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 10px;
}

.detail-thumb {
    min-width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
    background: #1A1A1A;
}

.detail-thumb:hover,
.detail-thumb.active {
    border-color: #D4AF37;
    transform: translateY(-2px);
}

.detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.details-info h4 {
    color: #D4AF37;
    margin: 20px 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-info h4 i {
    font-size: 16px;
}

.detail-description {
    color: #CCCCCC;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 15px;
}

.detail-features {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #CCCCCC;
}

.detail-feature-item i {
    color: #00C851;
    margin-top: 2px;
    flex-shrink: 0;
}

.detail-pricing {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.detail-pricing h4 {
    margin-top: 0 !important;
}

.detail-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-price-item:last-child {
    border-bottom: none;
}

.price-label {
    color: #CCCCCC;
    font-size: 15px;
}

.price-value {
    color: #D4AF37;
    font-weight: 700;
    font-size: 17px;
}

.detail-actions {
    position: sticky;          /* dính đáy trong container */
    bottom: 0;
    z-index: 10;

    display: flex;
    flex-direction: column;
    gap: 10px;

    padding: 12px;
    margin-top: auto;          /* đẩy xuống đáy */
    
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95),
        rgba(0,0,0,0.75),
        rgba(0,0,0,0)
    );

    backdrop-filter: blur(6px);
}


.btn-book-now, .btn-call-now {
    padding: 16px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-book-now {
    background: #D4AF37;
    color: #000000;
}

.btn-book-now:hover {
    background: #F0D89C;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-call-now {
    background: transparent;
    color: #D4AF37;
    border: 2px solid #D4AF37;
}

.btn-call-now:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.service-details-container {
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--card-black);
}

/* phần nội dung cuộn */
.service-details-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}


/* Desktop / tablet */
@media (min-width: 768px) {
    .service-details-container {
        max-width: 500px;
        height: 85vh;
        margin: auto;
        border-radius: 20px;
        border: 1px solid rgba(212, 175, 55, 0.3);
        transform: translateY(50px);
        overflow: hidden;
    }
}
.service-details-container {
    position: fixed;
    inset: 0;                  /* top:0 right:0 bottom:0 left:0 */
    width: 100vw;
    height: 100dvh;            /* hỗ trợ mobile có thanh địa chỉ */
    max-height: 100dvh;

    display: flex;
    flex-direction: column;

    background: #000;          /* hoặc var(--primary-black) */
    overflow: hidden;
    z-index: 9999;

    margin: 0;
    border-radius: 0;
}

.details-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.details-actions-bar {
    position: sticky;
    bottom: 0;
    padding: 12px;
    background: #222222;
    border-top: 1px solid rgba(212,175,55,.25);
    z-index: 10;
}
.details-actions {
    display: flex;
    gap: 10px;
}
.details-actions button {
    flex: 1;
    min-width: 0;
    height: 48px;
}
.details-actions-bar {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
}
.details-header h3 {
    padding-right: 40px;
}
.details-content {
    animation: slideUp .4s ease;
}

/* ===== DESKTOP STYLES ===== */
@media (min-width: 1024px) {
    /* Container */
    .container {
        padding: 0 32px;
    }
    
    /* Header */
    .app-header {
        padding: 20px 0;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .logo-icon {
        font-size: 28px;
    }
    
    .phone-btn {
        padding: 14px 28px;
        font-size: 17px;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 100vh;
        padding: 180px 32px 120px;
        background-attachment: fixed;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-badge {
        font-size: 16px;
        padding: 16px 36px;
    }
    
    .btn-hero {
        padding: 22px 50px;
        font-size: 20px;
    }
    
    /* User Experience Section */
    .user-experience-section {
        margin: 80px 0;
    }
    
    .user-experience-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        padding: 0;
        overflow-x: visible;
    }
    
    .experience-card {
        width: calc(25% - 22.5px);
        max-width: 280px;
    }
    
    .scroll-hint {
        display: none;
    }
    
    /* Benefits Section */
    .benefits-section {
        padding: 120px 32px;
        background-attachment: fixed;
    }
    
    .section-title {
        font-size: 44px;
    }
    
    .section-subtitle {
        font-size: 22px;
        max-width: 800px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    /* Services Section */
    .services-section {
        padding: 120px 0;
        background-attachment: fixed;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .service-card {
        padding: 35px 30px;
    }
    
    .service-image {
        height: 220px;
    }
    
    
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 60px;
    }
    
    .main-footer {
        padding: 120px 32px 80px;
        background-attachment: fixed;
    }
    
    /* Hide bottom tab bar on desktop */
    .bottom-tab-bar {
        display: none !important;
    }
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 767px) {
    /* Container */
    .container {
        padding: 0 12px;
    }
    
    /* Header */
    .app-header {
        padding: 10px 0;
    }
    
    .logo-icon {
        font-size: 20px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .phone-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 120px 12px 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 32px;
        text-align: center;
        line-height: 1.25;
    }
    
    .hero-title .text-champagne {
        display: block;
        margin-top: 6px;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.3px;
    }
    
    .hero-badge {
        font-size: 13px;
        padding: 10px 20px;
    }
    
    .hero-cta {
        display: flex;
        gap: 12px;
        justify-content: center;
        margin-top: 14px;
        flex-wrap: nowrap;
    }
    
    .cta-btn {
        flex: 1;
        max-width: 160px;
        padding: 12px 14px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 10px;
        text-align: center;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.2s ease;
    }
    
    .cta-call {
        background: linear-gradient(135deg, #cfae70, #e6c98b);
        color: #1a1a1a;
    }
    
    .cta-book {
        border: 2px solid #cfae70;
        color: #cfae70;
        background: transparent;
    }
    
    .cta-btn:active {
        transform: scale(0.97);
    }
    
    /* User Experience Section */
    .user-experience-section {
        margin: 30px 0;
    }
    
    .user-experience-container {
        padding: 15px 0 25px;
    }
    
    .user-experience-row {
        gap: 12px;
        padding: 0 12px;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-behavior: smooth;
    }
    
    .user-experience-row::-webkit-scrollbar {
        display: none;
    }
    
    .experience-card {
        width: 90%;
        padding: 8px;
        margin: 5px auto;
        border: 1px solid var(--champagne);
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .exp-img-box {
        width: 100%;
        height: 100px;
        overflow: hidden;
        border-radius: 8px;
    }
    
    .exp-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .exp-title,
    .exp-desc,
    .exp-benefits {
        margin: 0;
        padding: 0 5px;
    }
    
    .exp-title {
        font-size: 14px;
    }
    
    .exp-desc {
        font-size: 12px;
    }
    
    
    
    .scroll-hint {
        display: block;
        font-size: 12px;
    }
    
    
    
    /* Services Section */
    .services-section {
        padding: 60px 12px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .service-card {
        padding: 10px;
        border-radius: 12px;
    }
    
    .service-image {
        height: 100px;
        margin-bottom: 10px;
    }
    
    .service-name {
        font-size: 14px;
        min-height: 35px;
        margin-bottom: 8px;
        padding: 0 5px;
    }
    
    .service-experience {
        display: block;
        margin-bottom: 10px;
    }
    
    .experience-item {
        padding: 6px;
        gap: 6px;
        margin-bottom: 5px;
    }
    
    .experience-item i {
        font-size: 10px;
        min-width: 12px;
    }
    
    .experience-item span {
        font-size: 11px;
        line-height: 1.2;
    }
    
    .btn-view-details {
        padding: 8px;
        font-size: 12px;
        border-width: 1px;
    }
    
    
    
    .booking-title {
        font-size: 26px;
    }
    
    .form-select, .form-input {
        padding: 14px 16px;
    }
    
    .btn-submit {
        padding: 16px;
        font-size: 16px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-footer {
        padding: 60px 12px 120px;
    }
    
    /* Bottom Tab Bar */
    .bottom-tab-bar {
        display: block;
    }
    
    /* Utility Classes */
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}

/* ===== TABLET STYLES ===== */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Container */
    .container {
        padding: 0 24px;
        max-width: 100%;
    }
    
    /* Header */
    .app-header {
        padding: 16px 0;
        backdrop-filter: blur(25px);
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .logo-icon {
        font-size: 26px;
    }
    
    .phone-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 90vh;
        padding: 160px 24px 100px;
    }
    
    .hero-title {
        font-size: 48px;
        line-height: 1.2;
    }
    
    .hero-badge {
        font-size: 15px;
        padding: 14px 32px;
    }
    
    .btn-hero {
        padding: 20px 45px;
        font-size: 19px;
    }
    
    /* User Experience Section */
    .user-experience-section {
        margin: 60px 0;
    }
    
    .user-experience-container {
        padding: 30px 0 50px;
    }
    
    .user-experience-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
        padding: 0;
        overflow-x: visible;
    }
    
    .experience-card {
        width: calc(50% - 12.5px);
        max-width: 340px;
        margin: 0;
    }
    
    .exp-img-box {
        height: 160px;
    }
    
    .scroll-hint {
        display: none;
    }
    
    /* Benefits Section */
    .benefits-section {
        padding: 100px 24px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .section-subtitle {
        font-size: 20px;
        max-width: 700px;
    }
    
  
    
    /* Services Section */
    .services-section {
        padding: 100px 24px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .service-card {
        padding: 30px;
    }
    
  
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    
    .main-footer {
        padding: 100px 24px 60px;
    }
}

@media (max-width: 767px) {
    .services-section {
        padding: 50px 6px;
    }

    .services-section .container {
        padding: 0 6px;
    }

    .services-grid {
        gap: 10px;
    }

    .service-card {
        padding: 10px;
        border-radius: 12px;
    }

    .service-image {
        height: 100px;
        margin-bottom: 8px;
    }

    .service-name {
        font-size: 14px;
        min-height: auto;
        margin-bottom: 6px;
    }

    .experience-item {
        padding: 6px;
        font-size: 11px;
    }

    .btn-view-details {
        padding: 8px;
        font-size: 12px;
    }
}