body{

    background-color: white !important;
}

:root {
  --primary: #006d77;
  --primary-dark: #004d57;
  --accent: #ff9f1c;
  --gray: #6c757d;
  --dark: #1d3557;
  --navy: #0a1d37;           /* deep navy */
    --navy-light: #1e3a5f;     /* lighter hover variant */
    --navy-focus: #0f2b52;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
}


/* ── Sidebar Toggle ── */
.sidebar-toggle {
    display: none;
}

/* Toggle Button (Hamburger) */
.toggle-btn {
    /* Common styles for all screen sizes */
    width: 56px;
    height: 56px;
    background:var(--primary-dark);     /* blue – change as needed */
    border-radius: 50%;
    cursor: pointer;
    z-index: 1100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.25s ease, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Mode buttons (Tours, Hotels, etc.) */
.btn-mode {
  background-color: white;
  color: var(--navy);
  border: 2px solid #e0e0e0;
  transition: all 0.2s ease;
}

.btn-mode:hover {
  background-color: #f8f9fa;
  border-color: var(--primary);
  color: var(--primary-dark);
}

.btn-mode.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(0, 109, 119, 0.25);
}

/* Search button */
.btn-search {
  background-color: var(--accent);
  color: white;
  border: none;
  font-size: 1.05rem;
  transition: all 0.25s ease;
}

.btn-search:hover,
.btn-search:focus {
  background-color: #ff8c00;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 159, 28, 0.35);
}

.btn-search:active {
  transform: translateY(0);
}

/* Form controls */
.form-control,
.form-select {
  border: 1px solid #ced4da;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(0, 109, 119, 0.15);
}

.form-floating > label {
  color: var(--gray);
}

/* Mobile tweaks */
@media (max-width: 767px) {
  .btn-mode {
    flex: 1 1 auto;
    min-width: 120px;
  }
  
  .search-box .row.g-3 {
    --bs-gutter-x: 0.75rem;
  }
}

/* ── Desktop / large screens ── left side ── */
@media (min-width: 992px) {    /* typical lg breakpoint – adjust if needed */
    .toggle-btn {
        position: fixed;
        top: 10%;
        left: 13%;             /* distance from left edge */
        transform: translateY(-50%);
        margin-left: 0;         /* override any previous margin */
    }

    .toggle-btn:hover {
        transform: translateY(-50%) scale(1.1);
        background: var(--primary-dark)
    }
}

/* ── Mobile / smaller screens ── bottom-right corner ── */
@media (max-width: 991px) {
    .toggle-btn {
        position: fixed;
        bottom: 24px;           /* distance from bottom */
        right: 24px;            /* distance from right edge */
        top: auto;              /* reset top positioning */
        left: auto;
        transform: none;        /* no vertical centering needed */
        margin: 0;              /* clean margins */
    }

    .toggle-btn:hover {
        transform: scale(1.1);
        background: var(--primary-dark)
    }
}

/* Optional: even smaller phones – make it a bit smaller & closer to edges */
@media (max-width: 576px) {
    .toggle-btn {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
    }
}

.toggle-btn:hover {
    transform: scale(1.08);
}

.hamburger {
    position: relative;
    width: 24px;
    height: 18px;
    display: inline-block;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.35s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 7.5px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* When open → X icon */
#sidebar-toggle:checked + .toggle-btn .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 7.5px;
}
#sidebar-toggle:checked + .toggle-btn .hamburger span:nth-child(2) {
    opacity: 0;
}
#sidebar-toggle:checked + .toggle-btn .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 7.5px;
}

/* Sidebar itself */
.sidebar {
    width: 280px;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 1000;
}

/* When checkbox is checked → slide in */
#sidebar-toggle:checked ~ .sidebar {
    transform: translateX(0);
}

/* Overlay (darkens background on mobile when open) */
.sidebar-overlay {
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
    z-index: 900;
}
#sidebar-toggle:checked ~ .sidebar-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Push main content when sidebar open (optional - looks nicer on wide screens) */
#sidebar-toggle:checked ~ .main-wrapper {
    margin-left: 280px;
    transition: margin-left 0.35s ease;
}

/* Responsive - on small screens don't push content (overlay style) */
@media (max-width: 992px) {
    #sidebar-toggle:checked ~ .main-wrapper {
        margin-left: 0;
    }
    .sidebar {
        width: 80vw;          /* wider on mobile */
        max-width: 320px;
    }
}

/* Close button (×) */
.close-btn {
    color: white;
    font-weight: bold;
    transition: color 0.2s;
}
.close-btn:hover {
    color: #ff6b6b;
}

/* Menu items styling */
.sidebar-nav a {
    display: block;
    padding: 12px 16px;
    color: #ddd;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}
.sidebar-nav a:hover,
.sidebar-nav .current-menu-item > a {
    background: rgba(255,255,255,0.1);
    color: white;
}




h1,h2,h3 {
  font-family: 'Playfair Display', serif;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.65)),
  url('https://cdn.coxandkingstravel.com/images/ztdma7t1/production/ea257ad4d97e4a5b9872567d8a89a0769b2460ca-2560x1440.jpg') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 50px 15px 80px;
}

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 5rem);
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* SEARCH BOX */
.search-box {
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* CARDS */
.custom-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.14);
}

.card-img-top {
  height: 230px;
  object-fit: cover;
}

.price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.3rem;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 120px 20px;
  text-align: center;
}


  @media (max-width: 767px) {
    .btn-lg {
      padding: 0.75rem 1.25rem;
      font-size: 1.05rem;
    }
  }

  /* Make sure the parent container never causes horizontal scroll */
.search-box,
.search-box > div.shadow-lg,
.search-box .p-4,
.search-box .p-lg-5 {
  overflow-x: hidden;           /* emergency brake */
}

/* Buttons – force them to be flexible on mobile */
.btn-mode {
  background-color: white;
  color: var(--navy);
  border: 2px solid #e0e0e0;
  transition: all 0.2s ease;
  
  /* Important mobile fixes */
  white-space: normal;          /* allow text to wrap inside button if very long */
  flex: 1 1 auto;               /* grow AND shrink */
  min-width: 0;                 /* ← critical: allows shrinking below content size */
  max-width: 100%;              /* never wider than parent */
}

/* Smaller padding on very small screens */
@media (max-width: 576px) {
  .btn-mode {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    font-size: 0.95rem;
  }
  
  /* Make them stack more naturally if needed */
  .d-flex.flex-wrap.gap-2 {
    --bs-gap: 0.5rem !important;   /* smaller gap on tiny screens */
  }
}

/* Make sure form row doesn't overflow either */
form.row.g-3 {
  margin-left: -0.75rem !important;
  margin-right: -0.75rem !important;
}

@media (max-width: 767px) {
  form.row.g-3 {
    --bs-gutter-x: 0.5rem;
  }
  
  .col-3.col-md-auto.ms-auto {
    margin-top: 0.5rem;
  }
}


.custom-card {
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.custom-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.card-img-top {
  height: 200px;          /* or whatever height you prefer */
  object-fit: cover;
}

.price {
  font-weight: 700;
  color: #e74c3c;         /* or your brand color */
  font-size: 1.3rem;
  margin: 0.5rem 0;
}

.btn-primary {
  /* Customize if needed */
  background-color: #007bff;
  border-color: #007bff;
}

.buttonmarginhero{
  margin-left: 1%;margin-right:1%;
  margin-bottom: 2%;
}

  .but-marginlast{
    margin-right:20px !important;
  }

  .main-footer {
  background: #1d3557;
  color: #ccc;
}

.main-footer h3,
.main-footer h4 {
  color: #fff;
  font-weight: 600;
}

.main-footer p {
  font-size: 14px;
  line-height: 1.7;
}

.main-footer a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.main-footer a:hover {
  color: #ff9f1c;
  padding-left: 4px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

/* Social Icons */
.social-links a {
  width: 36px;
  height: 36px;
  background: #2a4a6f;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: 0.3s;
}

.social-links a:hover {
  background: #ff9f1c;
  color: #1d3557;
}

/* Badges */
.footer-badges span {
  display: inline-block;
  background: #2a4a6f;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin: 4px 4px 0 0;
}

/* Bottom bar */
.footer-bottom {
  font-size: 13px;
}

.footer-links a {
  margin-left: 15px;
}

.footer-links a:hover {
  color: #ff9f1c;
}


/* BLOG CARD STYLING */

.blog-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

/* Image Area */
.blog-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-img {
  transform: scale(1.08);
}

/* Text */

.blog-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

.card-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
}


/* Wrapper spacing (optional) */
.malluzon-search-form {
  background: #ffffff;
  padding: 15px 20px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

/* Input & Select common style */
.malluzon-search-form .form-control,
.malluzon-search-form .form-select {
  height: 48px;
  border-radius: 10px;
  border: 1px solid #e2e6ea;
  padding: 10px 14px;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: #fafafa;
}

/* Placeholder color */
.malluzon-search-form .form-control::placeholder {
  color: #9aa0a6;
}

/* Focus effect */
.malluzon-search-form .form-control:focus,
.malluzon-search-form .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
  background-color: #fff;
}

/* Select arrow modern look */
.malluzon-search-form .form-select {
  
  background-size: 12px;
  background-position: right 14px center;
}

/* Button styling */
.malluzon-search-form .btn-primary {
  height: 48px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  border: none;
  transition: all 0.3s ease;
}

.malluzon-search-form .btn-primary:hover {
  background: linear-gradient(135deg, #0a58ca, #084298);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.3);
}
/* ---------- Responsive Search Form ---------- */

/* Tablet (≤ 991px) */
@media (max-width: 991px) {
  .malluzon-search-form {
    padding: 12px 15px;
  }

  .malluzon-search-form .col-md-3,
  .malluzon-search-form .col-md-2,
  .malluzon-search-form .col-md-1 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Make button full width in its row */
  .malluzon-search-form .col-md-1 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .malluzon-search-form .btn-primary {
    width: 100%;
  }
}

/* ---------- Mobile Full Width & Spacing ---------- */
@media (max-width: 576px) {

  /* Stack all columns full width */
  .malluzon-search-form .col-md-3,
  .malluzon-search-form .col-md-2,
  .malluzon-search-form .col-md-1,
  .malluzon-search-form .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Add bottom spacing to each field wrapper */
  .malluzon-search-form .col-md-3,
  .malluzon-search-form .col-md-2,
  .malluzon-search-form .col-md-1 {
    margin-bottom: 12px;
  }

  /* Full width inputs & selects */
  .malluzon-search-form .form-control,
  .malluzon-search-form .form-select {
    width: 100%;
    height: 46px;
    font-size: 15px;
  }

  /* Full width button with spacing */
  .malluzon-search-form .btn-primary {
    width: 100%;
    height: 48px;
    font-size: 16px;
    margin-top: 5px;
  }
}

