/* Plans & Pricing Page Styles */
@import url('globals.css');

:root {
    --plans-bg-dark: #072A30;
    --plans-bg-light: #EDF2F2;
    --plans-accent: #17C64F;
    --plans-text-dark: #072A30;
    --plans-text-light: #FFFFFF;
}

/* Centered Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--plans-text-dark);
    margin-top: 10px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: none;
    font-family: var(--font-primary);
}

.plans-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--plans-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    padding: 12px 24px;
    background: rgba(23, 198, 79, 0.08);
    /* Light green tint */
    border-radius: 100px;
    border: 1px solid rgba(23, 198, 79, 0.2);
}

/* Hero Section */
.plans-hero {
    background-color: var(--plans-bg-dark);
    color: white;
    padding: 180px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Doodle Animation */
.doodle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.8;
}

.doodle-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doodle-svg path {
    animation: dash 60s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 1000;
    }
}

.plans-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.plans-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 700;
}

.plans-hero .price-start {
    font-size: 1.5rem;
    color: var(--plans-accent);
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
}

.plans-hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #B8C1C1;
    max-width: 700px;
    margin: 0 auto;
}

/* Pricing Grid */
.pricing-section {
    padding: 100px 20px;
    background-color: #FFFFFF;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.price-card {
    background: #FFFFFF;
    border: 1px solid #E6EEEE;
    border-radius: 32px;
    overflow: hidden;
    /* For image corners */
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.price-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.price-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.price-card:hover .price-card-image img {
    transform: scale(1.1);
}

.price-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(7, 42, 48, 0.12);
    border-color: var(--plans-accent);
}

.price-card h3 {
    font-size: 1.8rem;
    color: var(--plans-text-dark);
    margin-bottom: 15px;
}

.price-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--plans-text-dark);
    margin-bottom: 25px;
}

.price-card .price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #667777;
}

.price-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #556666;
    margin-bottom: 30px;
}



/* Plans List Layout (Alternating Rows) */
/* Plans List Layout (Alternating Rows) */
.plans-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-top: 60px;
}

.plan-row {
    display: flex;
    align-items: center;
    /* Vertically centered */
    justify-content: center;
    /* Horizontally centered content */
    gap: 60px;
    /* Reduced gap to keep them close */
    max-width: 1200px;
    margin: 0 auto;
}

.plan-row.reverse {
    flex-direction: row-reverse;
}


.plan-image {
    flex: 0 1 500px;
    /* Base width 500px, can shrink */
    border-radius: 32px;
    overflow: hidden;
    height: 360px;
    box-shadow: 0 20px 40px rgba(7, 42, 48, 0.08);
    position: relative;
    width: 100%;
    /* Ensure responsiveness */
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill the area */
    object-position: center;
    transition: transform 0.6s ease;
}

.plan-row:hover .plan-image img {
    transform: scale(1.05);
}


.plan-content {
    flex: 0 1 500px;
    /* Base width 500px, can shrink */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Left align text */
    text-align: left;
    padding: 20px;
}

.plan-content h3 {
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    color: var(--plans-text-dark);
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* Feature List Styles */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
    width: 100%;
}

.plan-features li {
    margin-bottom: 14px;
    position: relative;
    padding-left: 32px;
    font-size: 1.15rem;
    color: #445555;
    line-height: 1.5;
}

.plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C853' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.plan-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #556666;
    margin-bottom: 24px;
    font-weight: 400;
    max-width: 100%;
}

.plan-extra {
    font-size: 1.05rem;
    color: #1b5e20;
    /* Darker green for readability */
    font-weight: 700;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-price-action {
    display: flex;
    justify-content: flex-start;
    /* Left align button */
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.btn-plan {
    padding: 18px 48px;
    background-color: #00C853;
    /* Vibrant Green */
    color: white;
    /* Text white */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 200, 83, 0.3);
    border: none;
    min-width: 240px;
}

.btn-plan::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-plan:hover {
    background-color: #00a042;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 200, 83, 0.4);
    color: white;
}

.btn-plan:hover::after {
    transform: translateX(4px);
}

/* Flexibility Section Redesign */
.flexibility-section {
    padding: 120px 20px;
    background-color: var(--plans-bg-dark);
    color: white;
    overflow: hidden;
}

.flex-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.flex-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    color: white;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: none;
    font-family: var(--font-primary);
}

.flex-header p {
    font-size: 1.25rem;
    color: #B8C1C1;
    line-height: 1.6;
}

.flex-visual-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.flex-visual-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

.flex-visual-item.reverse {
    flex-direction: row-reverse;
}

.flex-visual-image {
    flex: 1;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.flex-visual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.flex-visual-item:hover .flex-visual-image img {
    transform: scale(1.05);
}

.flex-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(23, 198, 79, 0.9);
    color: #072A30;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

.flex-visual-content {
    flex: 0.9;
}

.flex-visual-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: white;
}

.flex-visual-content p {
    font-size: 1.15rem;
    color: #E6EEEE;
    line-height: 1.7;
    margin-bottom: 30px;
}

.flex-checklist {
    list-style: none;
    padding: 0;
}

.flex-checklist li {
    font-size: 1rem;
    color: white;
    /* Accent */
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 900px) {
    .flex-visual-item {
        flex-direction: column;
        gap: 40px;
    }

    .flex-visual-item.reverse {
        flex-direction: column;
    }

    .flex-visual-image {
        width: 100%;
        height: 300px;
    }
}

/* Inclusions Section */
.inclusions-section {
    padding: 100px 20px;
    background-color: var(--plans-bg-dark);
    color: white;
}

.inclusions-container {
    max-width: 1200px;
    margin: 0 auto;
}

.inclusions-header {
    text-align: center;
    margin-bottom: 80px;
}

.inclusions-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: none;
    font-family: var(--font-primary);
}

.inclusions-header p {
    font-size: 1.25rem;
    color: #B8C1C1;
    max-width: 700px;
    margin: 0 auto;
}

.inclusions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.inclusion-item {
    text-align: center;
}

.inclusion-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--plans-accent);
}

.inclusion-item h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* CTA Section */
.plans-cta {
    padding: 120px 20px;
    text-align: center;
    background: #FFFFFF;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--plans-text-dark);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: none;
    font-family: var(--font-primary);
}

.cta-box p {
    font-size: 1.25rem;
    color: #445555;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-tour {
    padding: 18px 40px;
    background-color: #00C853;
    color: white;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-whatsapp {
    padding: 18px 40px;
    background: white;
    color: #25D366;
    border: 2px solid #25D366;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-tour:hover,
.btn-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsiveness */
@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .inclusions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .flex-grid {
        grid-template-columns: 1fr;
    }

    .plans-hero h1 {
        font-size: 2.2rem;
    }

    .flexibility-section h2 {
        font-size: 2.2rem;
    }

    .cta-box h2 {
        font-size: 2.2rem;
    }

    /* Mobile styles for Plans List */
    .plan-row,
    .plan-row.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: left;
        min-height: auto;
    }

    .plan-image {
        width: 100%;
        height: 300px;
        min-height: auto;
        border-radius: 20px;
        flex: none;
        /* Reset flex basis */
    }

    .plan-content {
        flex: auto;
        /* Reset flex basis for content */
        padding: 0;
        /* Remove side padding on mobile if needed, or keep it */
    }

    .plan-content h3 {
        font-size: clamp(1.2rem, 4.5vw, 1.6rem);
        white-space: nowrap;
    }

    .plan-price-action {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn-plan {
        width: 100%;
        text-align: center;
    }
}