 * {
margin: 0;
padding: 0;
box-sizing:  border-box;
 }

 html {
    scroll-behavior: smooth; 
    scroll-padding: 120px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}
body {
    background-color: #BC002D;
}

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    
}

.header-container {
    max-width:  1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content:  space-between;
    align-items: center;
    gap: 40px;
}

.JapanBackpackersLogo {
    font-size: 28px;
    font-weight: bold;
    color: #dc143ddc;
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-button {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 4px;
    border: 2px solid transparent;
}

.nav-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2PX);    
}

.nav-button.active {
    color: #dc143ddc;
    border-bottom: 3px solid #dc143ddc;
}

.main-content {
    background-color: transparent;
    color: white;
    min-height: calc(100vh - 200px);
    flex-grow: 1;
}

.front-intro {
    background: linear-gradient(135deg, #dc143c 0%, #c41030 100%);
    padding: 80px 40px;
    text-align: center;
}

.front-intro h2 {
    font-size: 58px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.2;
    margin-bottom: 25px;

    text-shadow: 0 4px 20px rgba(0,0,0,0.35),
                 0 0 12px rgba(255,255,255,0.6);

    animation: fadeInDown 1.2s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.front-intro-content p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.70;
}

.destinations-main {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.destinations-main h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    font-weight:  bold;
}

.destinations-grid {
    display: grid;
    grid-template-columns:  repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.destinations-card {
   background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.destinations-card:hover {
     transform: translateY(-6px);   
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);  
    background-color: rgba(255, 255, 255, 0.25); 
    cursor: pointer;
    
}

.destinations-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.destinations-card h3 {
    font-size: 24px;
    padding: 20px 20px 10px;
    font-weight: bold;
}

.destinations-card p {
    padding: 0px 20px 20px;
    font-size: 20px;
    opacity: 0.85;
    line-height: 1.4;
}

.destinations-card{
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}


.page-section {
    padding: 60px 40px;
    max-width: 1200px;
    margin:  0 auto;
}

.page-section h1 {
    text-align: center;
    font: 50px;
    margin-bottom: 25px;
    font-weight: bold;
}

.intro-text {
    text-align: center;
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.80;
}

.detailed-destinations {
    display: flex;
    flex-direction: column;
    gap: 45px;
}
.destinations-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  scroll-margin-top: 140PX;
}

.detailed-destinations .destinations-detail:nth-child(even) {
    direction: rtl;
}

.detailed-destinations .destinations-detail:nth-child(even) .detail-content {
    direction: ltr;
}

.detail-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.3);
}

.detail-content h2 {
    font-size: 35px;
    margin-bottom: 15px;
    font-weight: bold;
}

.detail-content p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.7;
}

.detail-content ul {
    list-style: none;
    margin-top: 15px;
}

.detail-content li {
    padding: 8px 0px;
    font-size: 16px;
    line-height: 1.5;

}

.page-section {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}


.page-section h1 {
    margin-bottom: 10px;
}

.page-section .intro-text {
    margin-bottom: 30px;
    font-size: 18px;
    opacity: 0.9;
}


.form-container {
    max-width: 600px;
    margin: 0 auto;                
    padding: 30px 35px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
}

.booking-form {
    text-align: left;          
       
}

.booking-form select {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;     
}

.booking-form select option {
    color: #222;
    background-color: #ffffff;
}


.form-fill {
    margin-bottom: 18px;
}

.form-fill label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
    color: #ffffff;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 15px;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}


.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
}


.booking-form textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    margin-top: 10px;
    padding: 12px 18px;
    background: #ffffff;
    color: #c41030;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.submit-button:hover {
    background: #ffe0e7;
    transform: translateY(-1px);
}


.contact-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
}


.contact-section h2,
.contact-section .intro-text {
    text-align: center;
    margin-bottom: 20px;
}


.contact-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}


.contact-card h2 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: bold;
}

.contact-card p, 
.contact-card a {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;

}

.contact-card a {
    color: white;
    text-decoration: none;
}

.contact-section {
    margin-top: 0;
    padding-top: 0;
}

.contact-section h2 {
    margin-top: 0;
    padding-top: 10px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}


.about-section {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-section > h2 {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    color: white;
    text-transform: none;
}

.about-section h3 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: bold;
}

.about-section p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.about-list {
  list-style: none;
  margin-top: 15px;
}

.about-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
}

.about-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
}

.footer {
  background-color: #ffffff;
  color: #333;
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid #ddd;
  font-weight: 600;
}


.header {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative; 
}

.JapanBackpackersLogo {
    font-size: 28px;
    font-weight: 800;
    color: #dc143ddc;
    white-space: nowrap;
}


.menu-checkbox {
    display: none;
}


.menu-icon {
    display: none;
    font-size: 32px;
    cursor: pointer;
    color: #dc143ddc;
    user-select: none;
    line-height: 1;
}


.nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-button {
    padding: 10px 18px;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    transition: all 0.25s ease;
    border-radius: 6px;
    border: 2px solid transparent;
}

.nav-button:hover {
    background-color: #f3f3f3;
    transform: translateY(-2px);
}

.nav-button.active {
    color: #dc143ddc;
    border-bottom: 3px solid #dc143ddc;
    border-radius: 0;
}

@media (max-width: 768px) {


    .header-container {
        padding: 14px 18px;
    }

    .JapanBackpackersLogo {
        font-size: 22px;
    }

 
    .menu-icon {
        display: block;
    }

  
    .nav {
        display: none;
        position: absolute;
        top: 100%;       
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: #ffffff;
        padding: 8px 0;
        border-top: 1px solid #eee;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 10px 22px rgba(0,0,0,0.12);
        z-index: 9999;
    }

    .menu-checkbox:checked ~ .nav {
        display: flex;
    }

    .nav-button {
        width: 100%;
        text-align: center;
        padding: 14px 0;
        border-bottom: 1px solid #f0f0f0;
        font-size: 16px;
        border-radius: 0;
        transform: none; 
    }

    .nav-button:last-child {
        border-bottom: none;
    }

    .nav-button:hover {
        background: #fafafa;
    }
}

@media (max-width: 480px) {
    .JapanBackpackersLogo {
        font-size: 20px;
    }

    .menu-icon {
        font-size: 30px;
    }

    .nav-button {
        font-size: 15px;
        padding: 12px 0;
    }

    .front-intro-content h1 {
        font-size: 32px;          
        line-height: 1.2;         
        padding: 0 15px;          
        text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    }

    .front-intro-content p {
        font-size: 16px; 
        padding: 0 20px;
        line-height: 1.5;
        opacity: 0.9;
        margin-top: 10px;
    }

    .front-intro {
        padding: 40px 10px; 
    }
}

  .destinations-detail {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .destinations-detail {
  scroll-margin-top: 120px;
}

  .detailed-destinations .destinations-detail:nth-child(even) {
    direction: ltr;
  }


  .destinations-detail .detail-image {
    order: 1;
    width: 100%;
    height: 240px; 
    object-fit: cover;
  }

  .destinations-detail .detail-content {
    order: 2;
    text-align: left;
  }


  .detail-content h2 {
    font-size: 26px;
  }

  .detail-content p,
  .detail-content li {
    font-size: 15px;
    line-height: 1.6;
  }

@media (max-height: 500px) {

    .menu-icon {
        display: block;
    }

    .menu-checkbox {
        display: none;
    }

    .nav {
        display: none;
        flex-direction: column;
        gap: 12px;
        background: white;
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        width: 100%;
    }

    .menu-checkbox:checked ~ .nav {
        display: flex;
    }

    .nav-button {
        width: 100%;
        text-align: center;
        padding: 14px 0;
        color: #333;
        border-bottom: 1px solid #ddd;
    }

    .nav-button:last-child {
        border-bottom: none;
    }
}





