@import '../../css/main.css';
@import '../../css/header.css';
@import '../../css/navigation.css';
@import '../../css/copyright.css';

/****************************/
/* Content */

.cover-image {
  position: relative;
}
.cover-image-wrapper {
  background-image: url('../../Images/travel-cover.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--color-dark-1);
  padding: 1rem;
}
.travel-summary-wrapper {
  display: flex;
  justify-content: center;
}

.travel-summary {
  position: absolute;
  top: -2rem;
  width: 50%;
  display: flex;
  justify-content: center;
  width: 50rem;
  padding: 3rem;
  background-color: rgba(0, 88, 138, 0.95);
}

.city-summary,
.how-to-arrive-summary,
.accommodation-summary,
.sightseeing-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 22%;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--color-dark-1);
}
.city-summary a,
.how-to-arrive-summary a,
.accommodation-summary a,
.sightseeing-summary a {
  color: var(--color-dark-1);
  text-decoration: none;
}

.city-summary a:hover,
.how-to-arrive-summary a:hover,
.accommodation-summary a:hover,
.sightseeing-summary a:hover {
  color: var(--color-lightest-blue);
}

.active-travel,
.active-travel a {
  color: #fff;
}

.sightseeing-wrapper {
  padding: 5rem;
}
.sightseeing-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 2rem 2rem 2rem;
}
.sightseeing-title {
  color: var(--color-dark-1);
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 1.4rem;
}
/* text underline*/
.text-underline {
  display: flex;
  background-color: var(--color-blue-dark-1);
  margin-top: 1rem;
  margin-bottom: 1rem;
  width: 4rem;
  height: 0.2rem;
}

.dot {
  width: 1rem;
  height: 0.2rem;
  background-color: var(--color-grey-light-2);
}

/* styling the cards */
.card-wrapper {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--color-lightest-grey);
  flex: 0 0 28%;
  border-radius: 15px;
  background-color: var(--color-lightest-grey);
}
.card-img {
  width: 100%;
}
.tour-img {
  width: 100%;
  height: 20rem;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.tour-info {
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-grey-light-1);
}

.tour-info > * {
  margin-top: 1rem;
}
.tour-name {
  font-size: 1.1rem;
  color: var(--color-blue-dark-1);
}
.more-info-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}
.location-icon {
  color: var(--color-blue-dark-1);
}
.more-info-btn {
  padding: 1rem;
  border: none;
  background-color: var(--color-blue-dark-1);
  width: 10rem;
  color: #fff;
  transition: all 0.5s;
  position: relative;
  text-decoration: none;
}
.more-info-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}
.more-info-btn:hover::before {
  opacity: 0;
  transform: scale(0.5, 0.5);
}
.more-info-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: scale(1.2, 1.2);
}
.more-info-btn:hover::after {
  opacity: 1;
  transform: scale(1, 1);
}
.chevron {
  margin-left: 0.5rem;
}

/****************************************/
/***   Media Queries ***/

@media screen and (max-width: 1200px) {
  .conf-name {
    font-size: 1.9rem;
  }
}

@media screen and (max-width: 1024px) {
  .srr {
    font-size: 1.6rem;
  }

  .srrnet {
    font-size: 1rem;
  }

  .srrnet-date,
  .srrnet-venue {
    font-size: 0.8rem;
  }

  .conf-name {
    font-size: 1.45rem;
  }

  p.sub {
    font-size: 1.4rem;
  }

  /* Making header responsive */

  .nav_menu {
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 35vh;
    background-color: rgba(0, 125, 190, 0.98);
    top: 5rem;
    width: 100%;
    position: absolute;
    left: -110%;
    transition: all 1s ease;
  }

  .nav_link {
    color: white;
  }
  .nav_link:after {
    content: '';
    display: none;
  }
  .nav_link:hover {
    text-decoration: underline;
  }

  .active {
    text-decoration: underline;
  }
  .checkbtn {
    display: flex;
    transform: scale(2);
    color: var(--color-blue-dark-1);
    cursor: pointer;
  }
  .checkbtn:hover {
    color: var(--color-blue-dark-2);
  }
  label #btn {
    display: block;
  }
  #check:checked ~ .nav_menu {
    left: 0;
  }
  #check:checked ~ label #btn {
    display: none;
  }
  #check:checked ~ label #cancel {
    display: flex;
  }

  .sightseeing-title {
    margin-top: 5rem;
  }
  .sightseeing-wrapper {
    padding: 0rem;
  }
  .card-wrapper {
    justify-content: space-evenly;
    align-items: center;
  }

  .travel-summary {
    width: 100%;
  }
}

@media screen and (max-width: 920px) {
  .nav_menu {
    display: flex;
    flex-wrap: wrap;
  }

  /* Show hamburger */
  .nav_link-toggle {
    display: initial;
    display: flex;
    justify-content: center;
  }

  .nav {
    display: flex;
    justify-items: center;
    padding-bottom: 0;
    height: 70px;
    align-items: center;
  }

  .nav_menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }

  .nav_menu li {
    width: 100vw;
    margin: 0;
  }

  .nav_link {
    margin-left: 40px;
  }

  .nav_link:hover {
    color: rgba(255, 255, 255, 1);
  }

  .nav-top {
    flex-direction: column;
    height: 35vh;
  }

  .udm-logo {
    padding: 1rem;
  }

  .conf-name {
    justify-content: flex-start;
    flex: 0;
    padding: 1rem;
  }

  .city-summary,
  .how-to-arrive-summary,
  .accommodation-summary,
  .sightseeing-summary {
    font-size: 0.9rem;
  }
  .sightseeing-intro {
    margin-top: 1rem;
  }
  .sightseeing-title {
    margin-top: 0;
  }
  .sightseeing-wrapper {
    padding: 0;
  }
  .card-wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .card {
    width: 60%;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 600px) {
  .travel-summary {
    flex-wrap: wrap;
  }
  .city-summary,
  .how-to-arrive-summary,
  .accommodation-summary,
  .sightseeing-summary {
    flex: 50%;
    max-width: 50%;
  }

  .accommodation-summary,
  .sightseeing-summary {
    margin-top: 1.5rem;
  }

  .nav-top {
    height: 38vh;
  }

  .sightseeing-wrapper {
    margin-top: 8rem;
  }
}

@media screen and (max-width: 500px) {
  .nav-top {
    flex-direction: column;
    height: 40vh;
  }

  .srrnet-logo {
    flex: 1;
  }
  .conf-name {
    flex: 1;
  }
  .udm-logo {
    flex: 1;
  }

  label #btn {
    position: absolute;
    z-index: 10;
  }

  .conf-name {
    padding: 0.5rem;
    justify-content: flex-start;
  }

  p.main {
    font-size: 1.3rem;
  }

  p.sub {
    font-size: 1.2rem;
  }

  .udm-logo {
    margin: 0;
  }

  label #btn,
  label #cancel {
    position: absolute;
    z-index: 10;
    margin-right: 0;
    right: 1.5rem;
    top: -0.5rem;
  }
}

@media screen and (max-width: 400px) {
  .nav-top {
    height: 30vh;
  }

  .srr {
    font-size: 1.6rem;
  }

  .srrnet {
    font-size: 1rem;
  }

  .srrnet-date,
  .srrnet-venue {
    font-size: 0.8rem;
  }

  .udm-logo {
    margin: 0;
  }
  p.main {
    font-size: 0.8rem;
  }

  p.sub {
    font-size: 0.8rem;
  }

  .nav {
    height: 50px;
    margin: 0;
  }

  label #btn,
  label #cancel {
    position: absolute;
    z-index: 10;
    margin-right: 0;
    right: 1rem;
    top: -0.5rem;
  }
}

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

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

@media screen and (max-width: 800px) {
  .card {
    width: 80%;
    margin-bottom: 1rem;
  }
  .tour-info {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .card {
    width: 95%;
    margin-bottom: 1rem;
  }
}
