header{
    position: relative;
    background-color: #edbd79;
    max-width: 1100px;
    margin: auto;
    
    }
.inside-header{
  display: grid;
  grid-template-columns: 2fr 3fr;
    align-items: center;
    padding: 10px 30px;
  /*text-align: left;*/
}
.logo{
    width: 150px;
    vertical-align: middle;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    height: auto;
    }
.title{
        font-family: Arial;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 50px;
    line-height: 1.3em;
        word-wrap: break-word;
        margin: 0;
}
.title, .sub-title{
    color: #612625;
    margin: 0;
}
#menu{
    max-width: 1100px;
        height: 50px;
    margin: auto;
    background-color: #612625;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    z-index: 1000;
    
}
#navList{
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
  align-items: center;
  z-index: 999;
}
#navList li{
    list-style-type: none;
    border-right: 1px solid #fff;
    flex: 1 1 0;
    /*height: 50px;*/
}
#navList li a{
  color: #fff;
  line-height: 50px;
  /*font-weight: 500;*/
  display: flex;
  align-items: center;
  justify-content: center;
}
#navList li a:hover{
    background: #000;
}
#navSearchBtn{
     color: #fff;
  line-height: 50px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
    background: none;
    min-width: 100px;
    height: 100%;
  border: none;
  margin: auto;
  cursor: pointer;
}
#navSearchBtn i{
        font-size: 18px;
}
#navSearchBtn:hover {
  background-color: #000;
}

/* Dropdown base */
.dropdown {
    position: relative;
}

.dropbtn {
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    height: 50px;
    cursor: pointer;
    font-size: 16px;
}

.dropdown-content {
    position: absolute;
    top: 50px;
    left: 0;
    background: #612625;
    min-width: 200px;
    overflow: hidden;
    max-height: 0;
    display: block;
    padding: 0;
    transition: max-height 0.3s ease;
}


.dropdown-content li {
    border-bottom: 1px solid #fff;
}

.dropdown-content li a {
    padding: 12px;
    display: block;
    text-align: left;
    line-height: 1 !important;
}
    /* Rotate arrow */
.arrow {
     display: inline-block;
    margin-left: 4px;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.dropdown.active .arrow {
    transform: rotate(180deg);
}
/*+++++footer+++++++*/
.main-footer {
  background: #1c1c1c;
  color: #ccc;
  padding-top: 50px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 0 20px 40px;
}

.footer-col h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #edbd79;
  padding-left: 5px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.social-icons a {
  background: #333;
  color: #fff;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  font-size: 16px;
}

.social-icons a:hover {
  background: #edbd79;
  color: #000;
  transform: translateY(-4px);
}

.footer-about {
  font-size: 13px;
  line-height: 1.6;
  color: #aaa;
}

/* Bottom Bar */
.footer-bottom {
  background: #111;
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
  border-top: 1px solid #333;
}
/*++++++++++++*/
/* Overlay */
.navSearchOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.navSearchOverlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Search box */
.navSearch {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Form */
.navSearchForm {
  display: flex;
}

.navSearchForm input {
  flex: 1;
  padding: 14px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px 0 0 8px;
  outline: none;
}

.navSearchForm button {
  padding: 0 20px;
  border: none;
  background: #000;
  color: #fff;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

/* Autocomplete */
.autocomplete {
  width: 100%;
}

.autocomplete-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 0 0 8px 8px;
  max-height: 260px;
  overflow-y: auto;
  z-index: 10000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.autocomplete-items div {
  padding: 12px;
  cursor: pointer;
}

.autocomplete-items div:hover,
.autocomplete-active {
  background: #f2f2f2;
}
/*++++++++++++*/
   .toSearch {
    background-color: #aa183d;
    position: fixed;
    bottom: 16px;
    right: 32px;
    width: 20px;
    height: 20px;
    padding: 22px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s;
    border: none;
    display: none;
    z-index: 5;
  }
  .toSearch:hover {
    background: green;
  }
  .toSearch i {
    font-size: 20px;
    color: #fff;
  }
  /* =========================================================
   SOCIAL STICKY BUTTON
========================================================= */
.social-sticky {
    position: fixed;
    top: 80%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .8s ease;
}

.social-sticky.visible {
    opacity: 1;
    pointer-events: auto;
}

.social-link {
    background: #0088cc;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-radius: 30px 0 0 30px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    width: 50px;
    transition: width .6s ease, background .3s ease;
}

.social-link:hover {
    width: auto;
}

.typing {
    opacity: 0;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid rgba(255,255,255,0.7);
    animation: blink .7s infinite;
    transition: opacity .3s ease;
}

.icon-wrapper {
    font-size: 20px;
    margin-left: 8px;
    transition: transform .6s ease, opacity .6s ease;
}

.rotate-out {
    transform: rotateY(90deg);
    opacity: 0;
}

.rotate-in {
    transform: rotateY(0deg);
    opacity: 1;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

/* =========================================================
   ANIMATIONS
========================================================= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes blink {
    0%, 50%, 100% { border-color: rgba(255,255,255,0.7); }
    25%, 75% { border-color: transparent; }
}

/*++++++++++++++++++++++++*/
#toggle{
    display: none;
}

/* Desktop hover */
@media screen and (min-width: 801px) {
    .dropdown:hover .dropdown-content {
        max-height: 500px;
    }
 /* 🔥 Add this for arrow rotation on hover */
    .dropdown:hover > .dropbtn .arrow {
        transform: rotate(180deg);
    }
}


@media screen and (max-width: 800px) {

/*++++++++++++++++++++++++*/
.inside-header{
    grid-template-columns: 1fr;
    text-align: center;
        padding: 25px 30px;
}
.inside-header a{
    display: none;
}
.title{
        font-size: 40px;
}
.sub-title{
        font-size: 24px;
}
/*+++++++++++++++++++++++++++++++++++*/
#menu {
    position: relative;
    height: 50px;
    padding: 0 15px;
    justify-content: space-between;
    flex-direction: row;
}

/* Show hamburger */
#menuToggle {
    display: block;
    cursor: pointer;
}

/* Search button style */
.mobile-search-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}
#navSearchBtn i{
        font-size: 18px;
}

/* NAV LIST SLIDE SYSTEM */
#navList {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background: #612625;
    flex-direction: column;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.activeNavLink{
    text-decoration: underline;
}

/* Active state */
#navList.active {
    max-height: 600px; /* enough height */
}

/* Menu items */
#navList li {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #fff;
}

/* Hamburger lines */
.iconbar1,
.iconbar2,
.iconbar3 {
    width: 35px;
    height: 4px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.4s;
}

/* Cross animation */
.change .iconbar1 {
    transform: translate(0, 10px) rotate(-45deg);
}

.change .iconbar2 {
    opacity: 0;
}

.change .iconbar3 {
    transform: translate(0, -10px) rotate(45deg);
}

#navSearchBtn{
        min-width: 0;
    margin: 0;
}


/* Make dropdown full width */
.dropdown-content {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    background: #743737;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.dropdown.active .dropdown-content {
    max-height: 500px;
}

}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}
