/* Adesao Page Stylesheet */
/* Styles for the membership subscription page */

/* ==========================================================================
   Base Styles and Layout
   ========================================================================== */

body {
    font-family: "Poppins", sans-serif;
}

/* Set all sections to have white background and dark text */
section, .form-section, .card, body, .polygon-shape, .polygon-shape-inverted {
    background-color: white !important;
    color: #333 !important;
}

/* Ensure all text is dark and readable */
h1, h2, h3, h4, h5, h6, p, span, div, a:not(.btn) {
    color: #333 !important;
}

/* Form section */
.form-section {
    padding-top: 15px;
    background-color: white !important;
    overflow-x: hidden;
}

/* Remove border radius from all elements */
* {
    border-radius: 0 !important;
}

/* ==========================================================================
   Button Styles
   ========================================================================== */

/* Disabled button state */
.disabled-btn {
    pointer-events: none;
    background-color: #dc3545 !important;
    color: white !important;
    opacity: 0.7;
}

/* Enabled button state */
.enabled-btn {
    pointer-events: auto;
    background-color: #28a745 !important;
    color: white !important;
    opacity: 1;
}

/* Primary button styling */
.btn-primary, .btn-outline-secondary {
    padding: 5px 20px;
    transition: transform 0.2s ease-in-out, background-color 0.3s ease, color 0.3s ease;
    transform: skew(-25deg);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: orange;
    color: black;
    border: 1px solid orange;
}

.btn-primary:hover {
    background-color: black;
    color: orange;
    border: 1px solid green;
    transform: skew(-12.5deg) scale(1.1);
}

.btn-outline-secondary:hover {
    transform: skew(-12.5deg) scale(1.1);
    background-color: black;
    color: white;
    border: none;
}

.btn-primary:disabled {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
    cursor: not-allowed;
}

/* Select button styling */
.select-btn:hover {
    background-color: #0056b3;
    border-color: orange;
}

.select-btn.selected {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    transition: none !important;
    border: none;
}

/* ==========================================================================
   Navigation Styles
   ========================================================================== */

.navbar {
    font-size: 16px;
    padding: 1% 10%;
    background-color: white;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar.hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.navbar-nav {
    gap: 6rem;
}

.nav-link {
    font-weight: 400;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.nav-link:hover {
    color: black !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -1px;
    left: 50%;
    background-color: orange;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* ==========================================================================
   Plan Cards
   ========================================================================== */

/* Card container */
.card2 {
    background-color: #f6f6f6;
    width: 80%;
    max-width: 350px;
    padding: 12px;
    cursor: pointer;
}

.card2 .card-body {
    padding: 5px;
}

.card2 img {
    max-height: 125px;
    width: auto;
}

.card2 .list-unstyled li {
    font-size: 0.85rem;
    line-height: 1.25;
    margin-bottom: 4px;
}

.card2 p {
    font-size: 0.85rem;
    line-height: 1.2;
    margin-bottom: 4px;
}

/* Card hover effect */
.card2:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 
                0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Selected card state */
.card2.selected {
    background-color: #ffe8cc !important;
    border: 2px solid #ffa94d !important;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5) !important;
    transition: none !important;
}

/* Selected card hover override */
.card2.selected:hover {
    transform: none;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5) !important;
}

/* Card animation */
.card2 {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1.2s cubic-bezier(0.25, 0.1, 0.1, 1);
}

.card2.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delays for cards */
.card2:nth-child(1) { transition-delay: 0.8s; }
.card2:nth-child(2) { transition-delay: 1.1s; }
.card2:nth-child(3) { transition-delay: 1.4s; }
/* ==========================================================================
   Form Styles
   ========================================================================== */

input[type="text"], 
input[type="email"], 
input[type="password"], 
input[type="date"], 
select, 
textarea {
    width: 90%;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 1rem;
    padding: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="password"]:focus, 
select:focus, 
textarea:focus, 
input[type="date"]:focus {
    border-color: #28a745;
    box-shadow: 8px 8px 4px rgba(40, 167, 69, 0.3);
}

.numbers {
    width: 180px;
    padding: 0;
    text-align: center;
    border: none;
    outline: none;
    font-size: 12px;
    letter-spacing: 2px;
}

.phone-input::placeholder {
    color: black;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.titulo_card {
    font-family: "Times New Roman", Times, serif;
}

.section-title {
    font-weight: bold;
    font-size: 1.6rem;
    color: #007bff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.separator {
    width: 60%;
    height: 6px;
    background-color: #f97316;
    margin: 0.25rem auto 0.5rem;
}

span {
    color: #dc3545;
}

/* ==========================================================================
   Animations
   ========================================================================== */

.card {
    animation: slideLeft 0.5s ease-out;
}

@keyframes slideLeft {
    from {
        transform: translateX(30%);
    }
    to {
        transform: translateX(0);
    }
}

.section-title-animate {
    opacity: 0;
    transform: translateY(-100px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    z-index: 1;
    margin: 20px 0 40px 0;
    padding-top: 60px;
    will-change: transform, opacity;
}

.section-title-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

#confirmPlanBtn {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

#confirmPlanBtn.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Map Container
   ========================================================================== */

#map-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    clip-path: polygon(0% 0%, 20% 10%, 30% 5%, 70% 5%, 80% 10%, 100% 0%, 100% 90%, 80% 85%, 70% 90%, 30% 90%, 20% 85%, 0% 90%);
    z-index: 1;
}

#map-container::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    background: white;
    z-index: 3;
}

/* ==========================================================================
   Polygon Shapes
   ========================================================================== */

.polygon-shape {
    position: relative;
    width: 100%;
    height: 100px;
    background-color: #0f0f0f;
    clip-path: polygon(0% 100%, 25% 60%, 50% 90%, 75% 60%, 100% 100%);
    z-index: 50;
    bottom: -155px;
}

.polygon-shape-inverted {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 80px;
    background-color: #0f0f0f;
    clip-path: polygon(
        0% 100%,        
        25% 80%,        
        30% 100%,       
        65% 80%,        
        65% 80%,        
        70% 100%,       
        85% 80%,        
        100% 100%,      
        100% 0%,        
        0% 0%           
    );
    z-index: 8;
    top: -20px;
}

/* ==========================================================================
   Carousel Styles
   ========================================================================== */

#carouselExample {
    height: 100vh;
}

.carousel-item img {
    height: 100vh;
    object-fit: cover;
}

.carousel-indicators li {
    background-color: #fff !important;
    border-radius: 0 !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 8px !important;
}

.carousel-indicators .active {
    background-color: orange !important;
}

.carousel-indicators {
    position: absolute;
    bottom: 8%;
    left: 33%;
    transform: translateX(-50%);
    z-index: 15;
    padding: 0;
    list-style: none;
}

.scroll-btn {
    position: absolute;
    bottom: 1%;
    left: 48%;
    transform: translateX(-50%);
    background-color: rgba(255, 166, 0, 0.959);
    color: white;
    border: rgb(22, 1, 1) solid 3px !important;
    border-radius: 0;
    width: 46px;
    height: 46px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.scroll-btn:hover {
    background-color: rgb(0, 0, 0);
    border: rgb(255, 166, 0) solid 4px !important;
    transition: background-color 2s ease;
}

/* ==========================================================================
   Navigation Buttons
   ========================================================================== */

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #f97316;
    border: none;
    cursor: pointer;
    font-size: 4rem;
    z-index: 10;
    background: none;
    padding: 0;
    transition: transform 0.2s ease-in-out, color 0.3s;
}

.nav-button:hover {
    transform: translateY(-50%) scale(1.3);
    color: #ff6a00;
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    padding-top: 100px;
}

.benefit {
    width: 60%;
    height: 300px;
    position: relative;
    overflow: show;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: -70px;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 1s ease-out 0.5s, transform 1s ease-out 0.5s;
}

.benefit.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit:hover {
    transform: translateY(-5px);
    transform: scale(1.05);
}

.benefit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.benefit:hover img {
    filter: blur(4px);
    transform: scale(1.2);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: -5px;
    flex-direction: column;
}

.benefit:hover .overlay {
    opacity: 1;
}

.overlay h2 {
    font-size: 2em;
    text-align: center;
    margin: 0;
    padding: 0 10px;
    line-height: 1.2;
}

.overlay p {
    font-size: 1em;
    text-align: center;
    margin: 0;
    padding: 0 10px;
    line-height: 1.4;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.footer-container {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 100px 50px 1px 50px;
    background: white;
    margin-top: -25px;
    padding-top: 40px;
    z-index: 2;
}

.footer-top, .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px 0;
}

.footer-section {
    flex: 1;
    padding: 10px;
}

.footer-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section.start {
    text-align: left;
}

.footer-section.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section.end {
    text-align: end;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section form {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.footer-section button {
    background-color: #ff6600;
    color: rgb(0, 0, 0);
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-icons {
    right: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    color: rgb(0, 0, 0);
    font-size: 20px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ff6600;
}

.footer-bottom .footer-section {
    display: flex;
}


/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 991px) {
    .navbar-brand {
        margin-right: auto;
    }
    .navbar-toggler {
        order: 2;
        margin: 0 auto;
    }
    .d-flex.gap-3 {
        order: 3;
        margin-left: auto;
    }
    .navbar-collapse {
        width: 100%;
        text-align: center;
        transition: height 0.3s ease-in-out;
        overflow: hidden;
        display: block;
    }
    .navbar-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .form-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .card2 {
        width: 100%;
        max-width: none;
    }
    
    .benefit {
        width: 90%;
    }
}
