/* General Styles */
body {
    line-height: 1.6;
}
 
.page-post-container h1.hero-title, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #8B0000;
}

.page-post-container{
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 95%;
    margin: 20px auto;
    padding:0px;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
  }

/* Hero Section */
.page-post-container .hero-section {
    background: url('../images/bachta/bachta-hero-img1.png') center center / cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.page-post-container .hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
}


.hero-section h1 {
    font-size: 3rem; /* Adjust as per your design */
    color: #fff;
    text-align: center;
    margin-top: 0;
    line-height: 1.2;
}



.bachata-logo {
    width: auto; /* Adjust the width */
    height: 160px; /* Adjust the height as needed */
    vertical-align: middle; /* Aligns the logo with the text */
}

@media (max-width: 768px) {
    .bachata-logo {
        height: 125px; /* Adjust for mobile */
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem; /* Adjust as per your design */
    }
    .hero-section p.hero-subtitle{font-size: 1rem; /* Adjust as per your design */}
    .bachata-logo {
        height: 120px; /* Adjust for mobile */
    }
}
@media (max-width: 460px) {
    .hero-section h1 {
        font-size: 1.5rem; /* Adjust as per your design */
    }
    .hero-section p.hero-subtitle{font-size: 0.7rem; /* Adjust as per your design */}
    .bachata-logo {
        height: 80px; /* Adjust for mobile */
    }
}


.page-post-container .hero-content {
    position: relative;
    z-index: 1;
}

.page-post-container .hero-title {
    font-size: 4rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}
 
.page-post-container .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.page-post-container .hero-cta {
    padding: 15px 40px;
    font-size: 1.2rem;
    background: #8B0000;
    border-radius: 8px;
    color: white;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.page-post-container .hero-cta:hover {
    background: #a00000;
}

/* Alternating Background Sections */
.page-post-container .bachata-section {
    padding: 60px 20px;
}

.page-post-container .bachata-section p{text-align: center;}

.page-post-container #bachata-classes .container ul.class-list{
    list-style-position: inside; /* Ensures the bullets align with the text */
    display: inline-block; /* Allows the list to be treated as inline for centering */
    padding-left: 0; /* Removes default padding */
    margin: 0 auto; /* Centers the list within its container */
}
.page-post-container #bachata-classes .container ul.class-list li{
    margin: 10px 0; /* Adds space between the list items */
    display: list-item; /* Ensures list item is displayed as a block-level element */
}

.page-post-container .light-bg {
    background-color: #f9f9f9;
}

.page-post-container .white-bg {
    background-color: #fff;
}

.page-post-container .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-post-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Flexbox Layout for Features */
.page-post-container .flex-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.page-post-container .feature {
    flex: 0 1 30%;
    background-color: white;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-post-container .feature:hover {
    transform: translateY(-10px);
}

.page-post-container .cta-section {
    padding: 60px 20px;
}


/* CTA Button */
.page-post-container .cta-button {
    display: inline-block;
    padding: 15px 30px;
    margin-top:20px;
    background: linear-gradient(135deg, #8B0000, #3A0000);
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    border:2px solid white;
    transition: background 0.3s ease;
    transform: scale(1); /* Initial scale */
    transition: transform 0.3s ease-in-out; /* Smooth transition */
}

.page-post-container .cta-button:hover {
    background: linear-gradient(135deg, #a00000, #4d0000);
    color:white;
    text-decoration: none;
    transform: scale(1.02);
}

/* Responsive Design */
@media (max-width: 768px) {
    .flex-features {
        flex-direction: column;
    }

    .feature {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-cta {
        font-size: 1rem;
    }
}
