/* styles.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content .motto {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ff6b00;
    color: #fff;
    font-size: 1.25rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e65c00;
}

/* Countdown Banner */
.countdown-banner {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #ff6b00;
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    font-size: 1.1rem;
}

/* Search Section */
.search-section {
    padding: 4rem 2rem;
    text-align: center;
}

.search-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.search-bar {
    display: inline-flex;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar input {
    flex: 1;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 5px 0 0 5px;
}

.search-bar button {
    padding: 0.75rem 1.5rem;
    background-color: #007bff;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.search-bar button:hover {
    background-color: #0069d9;
}

#search-results {
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Map Section */
.map-section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #f9f9f9;
}

.map-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

#world-map {
    max-width: 800px;
    margin: 0 auto;
}

/* Featured Deals */
.featured-deals {
    padding: 4rem 2rem;
}

.featured-deals h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.deals-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.deal-card {
    background-color: #fff;
    border: 1px solid #ddd;
    margin: 1rem;
    width: calc(33% - 2rem);
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
}

.deal-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.deal-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.deal-description {
    padding: 0 1rem;
    font-size: 1rem;
}

.discount {
    color: #ff6b00;
    font-size: 1.25rem;
    margin: 1rem 0;
}

.deal-cta {
    display: block;
    padding: 1rem;
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border-top: 1px solid #ddd;
    transition: background-color 0.3s;
}

.deal-cta:hover {
    background-color: #0069d9;
}

/* Why Choose Us */
.why-choose-us {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.why-choose-us h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.benefit-item {
    width: calc(25% - 2rem);
    margin: 1rem;
    text-align: center;
}

.benefit-item i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    font-size: 1rem;
}

/* Testimonials */
.testimonials {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #fff;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
    font-size: 1.25rem;
    padding: 0 2rem;
}

.testimonial-item.active {
    display: block;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-item h4 {
    font-weight: normal;
    color: #555;
}

.testimonial-rating span {
    color: #f1c40f;
    font-size: 1.5rem;
}

.testimonial-plan {
    font-weight: bold;
    color: #007bff;
}

/* Media and Accreditations */
.media-accreditations {
    padding: 4rem 2rem;
    text-align: center;
}

.media-accreditations h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.media-logos img {
    margin: 0 1rem;
    max-height: 50px;
}

.accreditations p {
    font-size: 1rem;
    margin: 0.5rem 0;
}

.accreditations i {
    color: #28a745;
    margin-right: 0.5rem;
}

/* Final CTA */
.final-cta {
    padding: 4rem 2rem;
    background-color: #007bff;
    color: #fff;
    text-align: center;
}

.final-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.final-cta .cta-button {
    background-color: #ff6b00;
}

.final-cta .cta-button:hover {
    background-color: #e65c00;
}

.final-cta .closing-remark {
    margin-top: 2rem;
    font-size: 1rem;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #ff6b00;
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    z-index: 1000;
}

.sticky-cta a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-links, .newsletter, .social-media {
    width: calc(33% - 2rem);
    margin: 1rem;
}

.footer-links a {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-links a:hover {
    text-decoration: underline;
}

.newsletter p {
    margin-bottom: 1rem;
}

.newsletter form {
    display: flex;
}

.newsletter input {
    flex: 1;
    padding: 0.5rem;
    border: none;
}

.newsletter button {
    padding: 0.5rem 1rem;
    background-color: #ff6b00;
    color: #fff;
    border: none;
    cursor: pointer;
}

.newsletter button:hover {
    background-color: #e65c00;
}

.social-media a {
    margin-right: 1rem;
    font-size: 1.5rem;
    color: #fff;
}

.social-media a:hover {
    color: #ff6b00;
}

.footer-content p {
    margin-top: 2rem;
    text-align: center;
    width: 100%;
    font-size: 0.9rem;
    color: #aaa;
}

/* Exit-Intent Popup */
#exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 1001;
}

#exit-popup .popup-content {
    background-color: #fff;
    padding: 2rem;
    width: 80%;
    max-width: 500px;
    margin: 10% auto;
    text-align: center;
    position: relative;
    border-radius: 8px;
}

#exit-popup .popup-content h2 {
    margin-bottom: 1rem;
}

#exit-popup .popup-content p {
    margin-bottom: 2rem;
}

#exit-popup .popup-content .popup-cta {
    background-color: #ff6b00;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
}

#exit-popup .popup-content .popup-cta:hover {
    background-color: #e65c00;
}

#exit-popup .popup-content #close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

#exit-popup .popup-content #close-popup:hover {
    color: #ff6b00;
}

/* GDPR Compliance Notice */
#cookie-notice {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    color: #333;
    text-align: center;
    padding: 0.5rem;
    border-top: 1px solid #ccc;
    z-index: 1002;
}

#cookie-notice p {
    display: inline;
    margin-right: 1rem;
}

#cookie-notice button {
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-right: 1rem;
}

#cookie-notice button:hover {
    background-color: #0069d9;
}

/* Privacy Policy Section */
.privacy-policy {
    background-color: #f9f9f9;
    padding: 2rem 0;
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.privacy-container h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.privacy-container h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-container p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.privacy-container ul {
    list-style-type: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.privacy-container a {
    color: #007bff;
    text-decoration: none;
}

.privacy-container a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .privacy-container {
        padding: 1rem;
    }

    .privacy-container h1 {
        font-size: 2rem;
    }

    .privacy-container h2 {
        font-size: 1.5rem;
    }
}

/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1003;
}

#chat-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
}

#chat-box {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    z-index: 1004;
}

#chat-box.hidden {
    display: none;
}

.chat-header {
    padding: 1rem;
    background-color: #007bff;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    font-size: 1rem;
}

.chat-body {
    padding: 1rem;
    height: 300px;
    overflow-y: auto;
    background-color: #f9f9f9;
    flex: 1;
}

.chat-footer {
    display: flex;
    padding: 1rem;
    background-color: #007bff;
}

.chat-footer input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 4px 0 0 4px;
}

.chat-footer button {
    padding: 0 1rem;
    background-color: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.chat-footer button:hover {
    background-color: #e65c00;
}

.bot-message, .user-message {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.bot-message p, .user-message p {
    padding: 0.75rem;
    border-radius: 10px;
    max-width: 80%;
}

.bot-message p {
    background-color: #e1f0ff;
    color: #000;
}

.user-message {
    align-items: flex-end;
}

.user-message p {
    background-color: #007bff;
    color: #fff;
}

.quick-replies {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-replies button {
    background-color: #e1f0ff;
    border: none;
    border-radius: 5px;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.quick-replies button:hover {
    background-color: #d0e7ff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .deals-container, .benefits-container {
        flex-direction: column;
    }

    .deal-card, .benefit-item {
        width: 100%;
        margin: 1rem 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links, .newsletter, .social-media {
        width: 100%;
        margin: 1rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .motto {
        font-size: 1.25rem;
    }
}
