*{
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

.wrapper{
    display: flex;
    width: 100%;
    height: 100vh;
    flex-wrap: wrap;
}


.left-col {
  height: 100vh; /* Full viewport height */
  /* padding: 0 5%; Keep some side padding */
  background-color: #FBF8EE;
  flex-basis: 50%;
  position: relative;
  margin: 0;
}

.right-col{
    flex-basis: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden; /* Important to hide overflowing images */
    display: flex; /* make it a flex container */
    flex-direction: column;
}

.logo{
    display: block;
    width: 150px;
    height: auto;
    margin-top: 30px;
    margin-left: 120px;
}

.content{
    max-width: 500px;
    position: absolute;
    top: 50%;
    left: 120px;
    transform: translateY(-50%);
    
}

.content h1{
    color: #5C3B2E;
    font-size: 50px;
    line-height: 70px;
    margin: 25px 0;
}

.content p{
    color: #3A3A3A;
    font-size: 15px;
    line-height: 28px;
    margin-bottom: 50px;
}

button{
    width: 200px;
    border: none;
    background: #D4AF37;
    box-shadow: 0px 10px 10px 1px rgba(219, 219, 219, 0.5);
    padding: 25px 0;
    color: #fff;
    outline: none;
    font-size: 12px ;
    cursor: pointer;
}

input[type="radio"] {
    display: none; /* Hide the radio buttons */
}


.slide {
  display:none;
  flex-direction: column;
  width: 100%;
  height: 100%; /* makes it fill the vertical space */
  padding: 0;
  margin: 0;
  }


  .slide img {
    width: 100%;
    height: 60%; /* or adjust as needed */
    object-fit: cover; /* fills without spacing */
    display: block; /* prevents whitespace from inline image */
    margin: 0;
    padding: 0;
  
   }

.slider-content{
    
    flex: 1;
    background: #D4AF37;
    padding: 30px;
    box-sizing: border-box;
    justify-content: space-between;
    height: 40%;
}

.slider-content h2{
    font-size: 26px;
    font-weight: 100;
    color: #fff;
}

.slider-content p{
    color: #f9edb8;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
}

hr{
    border: none;
    width: 270px;
    height: 1px;
    background: #f0e1a2;
    margin: 20px 0 30px;
}

 .arrows {
    width: 90px; /* Adjust width to accommodate all labels */
    /* padding: 15px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .arrows label {
    
    display: inline-block;
    transition: background 0.3s;
    cursor: pointer;
    font-size: 34px;
    color:#f9edb8;
  }

  .arrows label:hover {
    color: #faeca9;
  }
  
  .arrows span{
    font-size: 30px;
    color:#f9edb8;
}
  /* Show only the selected slide */
  #radio1:checked ~  #slide1,
  #radio2:checked ~ #slide2,
  #radio3:checked ~ #slide3,
  #radio4:checked ~ #slide4 {
    display: block;
  }

  .modal {
    position: absolute;
    top: 69%; /* adjust up/down */
    left: 40%; /* slightly to the right */
    transform: translate(-50%, -100%); /* ensures it appears above the button */
    background: #F5F5F5;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 10px;
    width: 280px;
    z-index: 10;
  }
  
  .modal-content {
    position: relative;
  }
  
  .modal-arrow {
    position: absolute;
    bottom: -15px; /* places it just below the box */
    left: 30px;    /* pushes it to point toward the "Learn More" */
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid #fff; /* white arrow pointing downward */
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.1)); /* slight shadow */
  }
  
  .close-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 22px;
    color: #999;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    z-index: 20;
}

/* Hide modal by default */
.modal {
    display: none;
  }
  
  /* Show modal when targeted via hash */
  #brand-story-modal:target {
    display: block;
  }
  
  .modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #D4AF37;;
    margin-bottom: 12px;
}

.modal-content p {
    font-family: 'Poppins', sans-serif;
    color: #4A4A4A;;
    font-size: 16px;
    line-height: 1.6;
}

.modal-content strong {
    color: #5C3B2E;
    font-weight: 600;
}

.content a{
    width: 200px;
    border: none;
    background: #D4AF37;
    box-shadow: 0px 10px 10px 1px rgba(219, 219, 219, 0.5);
    padding: 25px 55px;
    color: #fff;
    outline: none;
    font-size: 12px ;
    cursor: pointer;
    text-decoration: none;
}






/* media query for small screen devices  */

@media only screen and (max-width: 800px){
  .logo{
    margin: 15px auto 0px; /* This correctly centers the logo horizontally */
    display: block; /* Ensure it behaves as a block-level element for auto margins to work */
  }

  .left-col, .right-col {
    flex-basis: 100%; /* Make them take full width on small screens */
    height: auto; /* Adjust height to content */
  }

  .content{
    position: relative; /* Change to relative or static to allow normal flow */
    top: auto; /* Reset vertical positioning */
    left: auto; /* Reset horizontal positioning */
    transform: translateY(0); /* Reset vertical centering transform */
    padding: 0px 20px 20px;
    text-align: center; /* Center the text content */
    margin: 0 auto; /* Add horizontal auto margins to center the div itself */
    max-width: 90%; /* Optionally reduce max-width for better spacing on small screens */
  }

  .content h1{
    font-size: 34px;
    line-height: 38px;
    margin: 0px auto auto; /* Center the heading within the content */
  }

  .content p{
    margin: 15px auto 30px; /* Center the paragraph within the content */
  }

  .content a {
    margin: 20px auto 0; /* Add top margin and horizontal centering */
    display: block; /* Keep it as block for margin: auto to work effectively */
    width: fit-content; /* Make its width fit its content */
    text-align: center; /* Ensure text within the link is also centered (redundant if only one line) */
  }

  /* .slide{
    height: auto;
  } */

  .slide img {
    
    height: auto;
   }

  .slider-content{
    height: auto;
    
}

hr{
  display: none;
}

.slider-content p{
  margin-top: 10px;
}


.modal {
  width: 65%;
  max-width: none; /* Keep this for full scaling */
  top: 20%;
  left: 50%; /* Ensure it's centered horizontally */
  transform: translate(-50%, 0);
  padding: 15px;
}

.modal-content h2 {
  font-size: 1.3em;
}

.modal-content p {
  font-size: 0.9em;
}

.close-btn {
  font-size: 18px;
  top: 5px;
  right: 5px;
}

.modal-arrow {
  display: none;
}
}

