* {
    box-sizing: border-box;
    margin: 0%;
    padding: 0;
}
body{
    font-family:Arial, Helvetica, sans-serif;
    background-image: url("/static/plan/images/sky.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}
main{
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
    align-items: center;
}

h1{
    font-family: 'Caveat', cursive;
    font-size: 3.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem; 
    display: inline-block;
    background: linear-gradient(-45deg, #ffffff, #42ed53, #f63939, #000000);
    background-size: 400% 400%;
    animation: gradientFlow 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.subtitle {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.cashin {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    padding: 0.4rem 0.6rem;
    gap: 0.5rem;
}

.currency {
    font-weight: 600;
    color: #333;
    padding-left: 0.5rem;
}

.cashin input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    width: 220px;
    padding: 0.4rem;
}

.mode-prompt {
    margin: 1.75rem 0 1rem;
    font-size: 0.95rem;
    color: #e0e0e0;
}

.buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mode {
    position: relative;
    height: 140px;
    width: 250px;
    border: none;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mode:hover:not([disabled]) {
    transform: scale(1.06) translateY(-4px);
}

.mode[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.mode .content {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.mode .soon {
    font-size: 0.7rem;
    font-weight: 400;
    margin-top: 0.25rem;
    opacity: 0.9;
}


.food { background-image: url("/static/plan/images/food.jpg"); }
.activities { background-image: url("/static/plan/images/activities.jpg"); }
.events { background-image: url("/static/plan/images/events.jpg"); }
.recipes { background-image: url("/static/plan/images/recipes.jpg"); }
.transport { background-image: url("/static/plan/images/transport.jpg"); }


.evently-link {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #d0d0d0;
}

.evently-link a {
    color: #fff;
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.75rem;
    color: #a7a5a5;
    background: rgba(0, 0, 0, 0.35);
}

.message {
    background: #fff;
    color: #333;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.message.error {
    border-left: 4px solid #d9534f;
}

.message.success {
    border-left: 4px solid #5cb85c;
}

@media (max-width: 600px) {
    .buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 1.75rem;
    }
}
html {
    scrollbar-color: #58db5a #c52727;
    scrollbar-width: auto;
    scroll-behavior: smooth;
}
.back-btn {
    position: fixed;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    z-index: 10;
    transition: background 0.2s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}



.container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    color: #fff;
}


.plan{
    max-width: 750px;
    width: 150%;
    text-align: center;
    color: #fff;
}

.results {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding: 0;
    align-items: stretch;
    width: 100%;
}



.result-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-align: left;
    gap: 0;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 15px;
    padding: 0rem;
    color: #1a1f36;
    box-sizing: border-box;
    height: 270px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}


.result-item:hover {
    border-radius: 50px 0 50px 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.result-img {
    display: block;
    width: 50%;
    min-width: 50%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.result-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    width: 60%;
    padding-top: 8px;
    min-width: 0;
    padding: 1rem;
    overflow-y: auto;
    box-sizing: border-box;
}

.result-name {
    display: block;
    font-weight: 600;
    font-size: 1.45rem;
    color: #8a610e;
    line-height: 1.3;
}

.result-place {
    display: block;
    font-family: "Sanchez", serif;
    font-size: 0.85rem;
    line-height: 1.3;
    color: #6b7280;
}

.result-price {
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.3;
}

.result-description {
    display: block;
    font-family: "Saira", sans-serif;
    font-weight: 1500;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #058b85;
    overflow-wrap: anywhere;
}

.result-tag {
    display: inline-block;
    margin-top: 0.3rem;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    background: #0e0e0e;
    color: #00b3ef;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.result-date {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    background: #ff0077;
    color: #0e0e0e;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
}

.change {
    display: block;
    font-size: 0.8rem;
    line-height: 1.3;
    color: #3B6D11;
    font-weight: 500;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.social-links a {
    color: #78d878;
    background: #9e0505;
    margin-top: 0.3rem;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.social-links a:hover {
    margin-top: 0.3rem;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    background: #78d878;
    color: #ec5f5f;
}

@media (max-width: 700px) {
    .results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 450px) {
    .results {
        grid-template-columns: 1fr;
    }
}

.budget-form {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    padding: 0.4rem 0.5rem 0.4rem 1rem;
    color: #1a1f36;
}

.budget-form label { font-weight: 600; }

.budget-form input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1rem;
    width: 110px;
    text-align: right;
}

.budget-form button {
    border: none;
    background: #639922;
    color: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    cursor: pointer;
}

.show-all-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.35rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
}

.show-all-btn:hover { background: rgba(255, 255, 255, 0.2); }