/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Author: Ngoc Khai
Description: Child theme của Hello Elementor.
Version: 1.0
*/

/* Import style từ parent theme */
@import url("../hello-elementor/style.css");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
}

.container {
    font-family: 'Inter', sans-serif;
    max-width: 1441px;
    margin: 0 auto;
    padding: 0 30px;
}

.header {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px 0;
}

.header h2 {
    color: #000000;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.header p {
    color: #000000;
    font-weight: 500;
    line-height: 1.5em;
    font-size: 14px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.location-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(114, 113, 113, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(114, 113, 113, 0.25);
}

.location-image {
    width: 100%;
    max-height: 400px;
    background: linear-gradient(135deg, #ffc4d6 0%, #ffb3c6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3em;
    overflow: hidden;
}
.location-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}

.location-content {
    padding: 25px;
}

.location-name {
    color: #3b7a53;
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.5em;
}

.location-info {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #030303;
    line-height: 1.5em;
    font-size: 14px;
    font-weight: 500;
}

.info-icon {
    color: #3b7a53;
    margin-right: 10px;
    font-size: 1.2em;
    min-width: 20px;
}

.book-button {
    width: 100%;
    padding: 15px;
    background: #3b7a53;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    line-height: 1.5em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.book-button:hover {
    background: white;
    color: #3b7a53;
    transform: scale(1.05);
    box-shadow: 0 5px 20px #3b7a53;
}

.book-button:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .container {
        margin: 0 30px;
    }
    .locations-grid {
        grid-template-columns: 1fr;
    }

    .header h2 {
        font-size: 30px;
    }

    .location-name {
        font-size: 1.4em;
    }
    .header {
        margin-bottom: 20px;
    }
    .location-name {
        font-size: 30px;
    }
    .book-button {
        font-size: 14px;
    }
}
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        margin: 0 50px;
    }
    .header {
        margin-bottom: 30px;
    }
}
.divider-line {
    width: 10%;
    margin: 0 auto;
    border-block-start: 4px solid #3b7a53;
    display: block;
    padding-bottom: 15px;
}
/*slider home*/
.slider-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

.slider-wrapper {
    width: 100%;
    max-width: 1400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.location-card {
    border-radius: 25px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.location-card.side {
    width: 300px;
    opacity: 0.6;
    transform: scale(0.85);
}

.location-card.center {
    width: 550px;
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

.location-card:hover {
    transform: scale(1.02);
}

.location-card.center:hover {
    transform: scale(1.05);
}

.card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: linear-gradient(135deg, #e8d5d5 0%, #d4c5c5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
}

.location-card.side .card-image {
    height: 200px;
    font-size: 3em;
}

.card-content {
    padding: 30px;
    text-align: center;
}

.location-card.side .card-content {
    padding: 20px;
}

.location-name {
    font-size: 2em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.location-card.side .location-name {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.location-address {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
}

.location-card.side .location-address {
    font-size: 0.9em;
    margin-bottom: 8px;
}

.location-phone {
    font-size: 1.2em;
    color: #3498db;
    font-weight: 600;
    margin-bottom: 20px;
}

.location-card.side .location-phone {
    font-size: 1em;
    margin-bottom: 15px;
}

.direction-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.location-card.side .direction-btn {
    padding: 10px 25px;
    font-size: 0.9em;
}

.direction-btn:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4);
}

.nav-button {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 2px solid #ddd;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: scale(1.1);
}

.nav-button.prev {
    left: 20px;
}

.nav-button.next {
    right: 20px;
}

.dots-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #3498db;
    width: 35px;
    border-radius: 6px;
}

@media (max-width: 1200px) {
    .location-card.center {
        width: 450px;
    }

    .location-card.side {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .slider-wrapper {
        gap: 15px;
    }

    .location-card.center {
        width: 90%;
    }

    .location-card.side {
        display: none;
    }

    .nav-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/*list service home*/
.service-container {
    background: linear-gradient(135deg, #3d6f5f 0%, #4a8971 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 40px;
}

.left-section {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo {
    width: 200px;
    height: 200px;
    background: #f5f0e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.logo-text {
    font-size: 120px;
    color: #2d2d2d;
    font-style: italic;
}

.accent {
    position: relative;
}

.accent::before {
    content: '`';
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 50px;
}

.description {
    color: white;
    font-size: 17px;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 25px;
}

.learn-more {
    display: inline-block;
    padding: 12px 40px;
    background: white;
    color: #3b7a53;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.learn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: #f5f5f5;
}

.right-section {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.service-category {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-height: 250px;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.service-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(45, 95, 79, 0.9);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .left-section {
        flex: none;
    }

    .right-section {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .right-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .logo {
        width: 150px;
        height: 150px;
    }

    .logo-text {
        font-size: 90px;
    }

    .container {
        padding: 20px;
    }
}

/*service page*/
.service-main {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}
.sidebar {
    flex: 0 0 280px;
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ddd;
    margin-bottom: 15px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.page-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.menu {
    list-style: none;
}

.service-main .menu-item {
    padding: 15px 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    border-bottom: 1px solid #3a3a3a;
}

.menu-item:hover {
    background: #f0f0f0;
}

a.active li{
    background: #e8f5e9;
    color: #3b7a53;
}

/* RIGHT CONTENT */
.content {
    flex: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

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

.service-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-info p {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Inter';
    line-height: 1.5em;
    color: #000000;
}

.service-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #000;
}

.service-title.highlight {
    color: #7b2cbf;
}

.service-price {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.service-description {
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}


@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        flex: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/*pagination*/
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    background: #f3f3f3;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.pagination a:hover {
    background: #3b7a53;
    color: white;
}

.pagination .current {
    background: #3b7a53;
    color: white;
    font-weight: bold;
}