/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.5;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

/* Header y navegación */
/* Header styles */
header {
    background-color: #877051;
    padding: 10px 5%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #000;
    font-size: 28px;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    padding: 10px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #8a8eb8;
}

.book-btn {
    background-color: #ff6b6b;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

.book-btn:hover {
    background-color: #ff5252;
}

/* Sección Hero */
section {
    padding: 60px 15px 30px;
}
.hero {
   
    background-color:#f9f9f9 ;
    padding: 80px 5%;
    text-align: center;
}

.hero-content {
    max-width: 1920px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 42px;
    color: #877051;
}

.hero p {
    margin-bottom: 20px;
    font-size: 18px;
    font-family: Roboto
}

.cta-button {
    display: inline-block;
    background-color: #877051b8;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #877051;
}

/* Sección de servicios */
.services {
    padding: 80px 5%;
    background-color: #F9E9CD;
    text-align: center;
}

.services h2 {
    color: #877051;
    font-size: 36px;
    margin-bottom: 40px;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 20px 10px;
    color: #333;
}

.service-card p {
    padding: 0 20px 20px;
    color: #666;
}

.book-button {
    display: inline-block;
    background-color: #4a4e8a;
    color: white;
    padding: 10px 20px;
    margin: 20 20px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.book-button:hover {
    background-color: #3a3e7a;
}

/* Sección de galería */
.gallery {
    padding: 80px 5%;
    background-color: white;
    text-align: center;
}

.gallery h2 {
    font-size: 36px;
    margin-bottom: 40px;
}
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px;
    max-width: 1200px; 
    margin: 0 auto;
}


.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Sección de contacto */
.contact {
    padding: 80px 5%;
    background-color: #f9e9cd;
    text-align: center;
    color: #877051;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.contact p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
}

ul.mpGTIt {
  list-style: none;      /* 去掉前面的数字/点 */
  padding: 0;            /* 去掉默认内边距 */
  margin: 0;             /* 去掉默认外边距 */
  display: flex;         /* 横向平铺 */
  gap: 15px;             /* 图标之间的间距 */
  justify-content: center; /* 水平居中，可选 */
  align-items: center;     /* 垂直居中，可选 */
}

ul.mpGTIt li {
  list-style: none;
}

ul.mpGTIt li a img {
  width: 40px;   /* 根据需要设置大小 */
  height: 40px;
  display: block;
}


/* Footer */
footer {
    background-color: #877051;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .service-container, .gallery-container {
        grid-template-columns: 1fr;
    }
}


.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #000;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 45px;
        gap: 0;
        flex-direction: column;
        background-color: #8A8EB8;
        border-bottom: 1px solid #e1e1e1;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 1rem 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }

    nav ul li a {
        color: #fff;
    }
    
}
/* Reviews Section - Carousel Implementation */
.reviews {
    background-color: white;
    text-align: center;
}

/* This is the viewport for the carousel, it hides the overflowing review cards */
.reviews-carousel-wrapper {
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    padding: 10px 0; /* Add some vertical padding */
}

/* This container holds all the review cards and will be moved with transform */
.reviews-container {
    display: flex; /* Key for horizontal layout */
    /* The transition is added via JS to allow for silent jumps */
}

.review-card {
    background-color: white;
    border-radius: 10px; /* Rounded corners */
    padding: 30px;
    /* Each card is 1/3 of the viewport width, accounting for margins */
    flex: 0 0 calc(33.333% - 20px);
    box-sizing: border-box;
    margin: 0 10px; /* Horizontal margin to create space between cards */

    /* Efficient shading */
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    
    border-left: 5px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.review-card .review-stars {
    color: #f39c12;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.review-card .review-stars i {
    margin-right: 3px;
}

.review-card .review-comment {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.review-card .review-comment::before {
    content: '"';
}
.review-card .review-comment::after {
    content: '"';
}

.review-card .reviewer-name {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

.review-card .reviewer-name::before {
    content: "— ";
}

/* Styling for the navigation buttons */
.reviews-navigation {
    text-align: center;
    margin-top: 30px;
}

.review-nav-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%; /* Makes them circular */
    width: 50px;
    height: 50px;
    font-size: 1.2rem; /* Adjust icon size */
    cursor: pointer;
    transition: var(--transition);
    margin: 0 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow);
}

.review-nav-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.review-nav-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}
.section-header {
    text-align: center !important;
}

.section-header h2,
.section-header p {
    text-align: center;
}




/* Responsive adjustments for carousel */
@media screen and (max-width: 992px) {
    .review-card {
        /* Show 2 cards on tablets */
        flex: 0 0 calc(50% - 20px);
    }
}

@media screen and (max-width: 680px) {
    .review-card {
        /* Show 1 card on mobile */
        flex: 0 0 calc(100% - 20px);
    }
}
