/* ========================================
   RESULTS.CSS - Results Page Styling
   ======================================== */

/* Page 3 Initial State */
#page3 {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Purple Strip */
.results-strip {
    background-color: #5C4F9D;
    padding: 15px 0;
    text-align: center;
}

.results-strip p {
    margin: 0;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

/* Results Content Section */
.results-content {
    background-color: #1a1a1a;
    min-height: calc(100vh - 120px);
    padding: 0;
}

/* Destination Image Container */
.destination-image-container {
    position: relative;
    width: 510px;
    height: 100%;
    max-height: 391px;
    overflow: hidden;
    left: 12%;
    top: 6%;
}

.destination-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.destination-name {
    position: absolute;
    bottom: 30px;
    right: 40px;
    font-family: 'Qwitcher Grypen', cursive;
    font-weight: 700;
    font-size: 100px;
    color: white;
    transform: rotate(-7deg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

/* Results Text Container */
.results-text-container {
    padding: 40px 50px 40px 0;
    color: white;
}

/* Destination Note with Yellow Border */
.destination-note {
    border-left: 4px solid #FBA637;
    padding-left: 20px;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    color: white;
}

/* Destination Section */
.destination-section {
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #B794F6;
    margin-bottom: 15px;
}

.destination-description {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: white;
    margin-bottom: 0;
}

/* Highlight Experiences */
.highlight-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #B794F6;
    margin-bottom: 15px;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-list li {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: white;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.highlight-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #A080E2;
    font-weight: bold;
    font-size: 16px;
}

/* Travel Checklist Card */
.travel-checklist-card {
    background-color: white;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.destination-checklist-header {
    background-color: #A080E2;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    padding: 15px 20px;
    text-align: center;
}

.checklist-items {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.checklist-items li {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #1E1E1E;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist-items li:last-child {
    margin-bottom: 0;
}

.checklist-items li i {
    color: #4CAF50;
    font-size: 16px;
}

/* Results Footer */
.results-footer {
    background-color: #5C4F9D;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
}

.footer-btn {
    background: none;
    border: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.footer-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.footer-btn i {
    font-size: 16px;
}

.footer-divider {
    width: 1px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Share Modal */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: flex-end;
}

.share-modal.active {
    display: flex;
}

.share-modal-content {
    background-color: white;
    border-radius: 20px 20px 0 0;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.share-options {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.share-option {
    background-color: white;
    border: none;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.share-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.share-option i {
    font-size: 32px;
    color: #5C4F9D;
}

.share-option span {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #333;
}

@media (min-width: 1400px) {
    .destination-image-container {
        left: 25%;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Hide desktop header */
    #page3 .desktop-only {
        display: none !important;
    }

    .results-strip {
        padding: 12px 0;
    }

    .results-strip p {
        font-size: 14px;
    }

    .destination-section {
        margin-bottom: 10px;
    }


    .destination-image-container {
        min-height: 288px;
        width: 100%;
        max-height: 288px;
        left: 0;
        top: 0;
    }

    .destination-image-container::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 25%;
        background: linear-gradient(0deg, #1E1E1E 25%, rgba(30, 30, 30, 0.5) 72.48%, rgba(30, 30, 30, 0) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .destination-name {
        z-index: 2;
    }

    .destination-name {
        font-size: 80px;
        bottom: 20px;
        right: 20px;
    }

    .results-text-container {
        padding: 30px 20px;
    }

    .destination-note {
        padding-left: 15px;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 16px;
    }

    .destination-description {
        font-size: 13px;
    }

    .highlight-experiences {
        padding: 20px 0 0 5px !important;
    }

    .highlight-title {
        font-size: 14px;
    }

    .highlight-list li {
        font-size: 14px;
    }

    .travel-checklist {
        padding: 0 5px 0 10px !important;
    }

    .destination-checklist-header {
        font-size: 14px;
        padding: 12px 15px;
    }

    .checklist-items {
        padding: 15px;
    }

    .checklist-items li {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .results-footer {
        padding: 12px 0;
    }

    .footer-btn {
        font-size: 13px;
    }

    .footer-btn i {
        font-size: 14px;
    }

    .share-modal-content {
        padding: 20px;
    }

    .share-options {
        gap: 10px;
    }

    .share-option {
        padding: 15px 10px;
    }

    .share-option i {
        font-size: 24px;
    }

    .share-option span {
        font-size: 11px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .destination-name {
        font-size: 100px;
    }

    .results-text-container {
        padding: 25px 15px;
    }

    .travel-checklist-card {
        margin-top: 20px;
    }
}

@media (max-width: 400px) {
    .highlight-title {
        font-size: 13px;
    }
}





/* ========================================
   SHARE MODAL ICON STYLING
   ======================================== */

/* Facebook Icon */
.share-option:nth-child(1) i {
    color: #039be5;
    font-size: 32px;
}

/* X (Twitter) Icon */
.share-option:nth-child(2) i {
    color: #fff;
    background: #000;
    border-radius: 50%;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* WhatsApp Icon */
.share-option:nth-child(3) i {
    color: #fff;
    background: #40c351;
    border-radius: 50%;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Messenger Icon (Copy Link) */
.share-option:nth-child(4) i {
    color: #fff;
    background: #0056B3;
    border-radius: 50%;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}