/*
Theme Name: Travel n Tour Theme
Author: Adina Pervaiz
Version: 1.0
*/

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
@media (max-width: 991px) {
  .navbar.show,
  .navbar:has(.navbar-collapse.show) {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
}
/* =========================================
   CONTACT SECTION
   ========================================= */

   .contact-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
}

.contact-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-left, .contact-right {
    flex: 1;
    min-width: 300px;
}

.contact-left h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-left p {
    color: #555;
    line-height: 1.6;
}

.contact-info p {
    margin: 8px 0;
}

/* FORM */
#icf-form input,
#icf-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

#icf-form button {
    background: #0073aa;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#icf-form button:hover {
    background: #005f8d;
}

/* MAP */
.map-container {
    margin-top: 50px;
}

.map-placeholder {
    width: 100%;
    height: 350px;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    position: relative;
}

.map-placeholder span {
    background: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
}

.map-iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: none;
    border-radius: 8px;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-grid {
        flex-direction: column;
    }
}

/* =========================================
   FLOATING BUTTONS
   ========================================= */ 

   /* FLOATING BUTTONS */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

/* Scroll Button */
#scrollTopBtn {
    width: 45px;
    height: 45px;
    border: none;
    background: #0073aa;
    color: #fff;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;      /* ← add this */
    justify-content: center;  /* ← add this */
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* ← optional but looks better */
}

#scrollTopBtn:hover {
    background: #005f8d;
    transform: translateY(-3px); /* ← subtle lift on hover */
}
/* WhatsApp Button */
#whatsappBtn {
    width: 50px;
    height: 50px;
    background: #25D366;
    color: #fff;
    font-size: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

#whatsappBtn:hover {
    transform: scale(1.1);
}

/* Mobile Adjust */
@media (max-width: 768px) {
    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }

    #scrollTopBtn {
        width: 40px;
        height: 40px;
    }

    #whatsappBtn {
        width: 45px;
        height: 45px;
    }
}

/* =========================================
   ABOUT SECTION
   ========================================= */

.about-section {
    padding-top: 80px;
    padding-bottom: 80px;
    color: #000 !important;
}

.about-section p {
    line-height: 1.7;
    font-size: 15px;
    color: #000 !important;
}

.about-section img {
    max-width: 100%;
    height: auto;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .about-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .about-section h2 {
        font-size: 24px;
    }

    .about-section p {
        font-size: 14px;
    }
}