/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Macondo&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
/* CSS Variables */
:root {
    --primary-font: "Playfair Display", sans-serif;
    --secondary-font: "Lato", sans-serif;
    --primary-color: #1F3B4D; /* dark blue (heading and highlight color)  */
    --secondary-color: #333333; /* dark gray (main text color) */
    --third-color: #2C3E50 ; /* night blue (navbar, footer) */
    --fourth-color: #E67E22 ; /* orange (buttons, CTA`S) */
    --fifth-color: #FDF2E9 ; /* light beige (section background) */
    --sixth-color: #BDC3C7  ; /*Dividers, borders, etc. */
    --seventh-color: #FAFAFA ; /* White (background color) */
    --highlight-color: #FF6B6B; /* red (highlight color) */
    --highlight-color-light: #FFECEC; /* light red (highlight color) */
}

/* Global styles */
body {
    font-family: var(--secondary-font);
    padding-top: 50px;
}
 
h1,
h2,
h3 {
    font-family: var(--primary-font);
    color: var(--primary-color);
}

h1,
h2 {
    text-transform: uppercase;
}

h2 {
    margin-bottom: 2rem;
}

h1,
h3 {
    font-family: var(--secondary-font);
    text-decoration: underline;
}

h4 {
    font-family: var(--primary-font);
    text-decoration: underline;
}

h5 {
    font-family: var(--primary-font);
    color: var(--highlight-color);
}


.sub-heading-color {
    color: var(--highlight-color);
}

.section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.btn-mycolor {
    border: 1px solid white;
    background-color: var(--highlight-color);
    color: white;
}

.btn-mycolor:hover {
    border: 1px solid white;
    background-color: var(--primary-color);
    color: white;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .height-img {
    max-height: 600px;
    width: 100%;
    height: auto;
    -o-object-fit: cover;
       object-fit: cover;
  }
  

/* carousel styles */
.carousel-img {
    width: 100%;
    height: auto;
    max-height: 425px; /* Limita a altura, mas ainda responsivo */
    -o-object-fit: cover;
       object-fit: cover;
    display: block;
  }

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    z-index: 100;
  }
  .skip-link:focus {
    top: 0;
  }

/* Navbar styles */
#navbar {
    background-color: var(--third-color);
}

#navbar .logo {
    width: 30px;
}
/* Header styles */
#header .leader {
    font-family: var(--primary-font);
}

.carousel-img {
    max-height: 425px;
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
}

#hero {
    background-attachment: fixed;
    position: relative;
    color: white;
  }
  
  #hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
  }
  
  #hero .container {
    position: relative;
    z-index: 2;
  }

  #hero h1,
#hero p {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}
/* Cards styles */

.square {
    border-radius: 0;
}

.card-img-top {
    max-height: 200px;
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
}

#hero h1 {
    color: white;
}
/* Routes styles */
.routes{
    font-weight: bold;
    color: var(--highlight-color);
    background-color: transparent;
}

.routes .card {
    margin-bottom: 1.5rem;
}

/* Itineraries section */
.card-img-top {
    height: 100px;
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
}

.carousel-img {
    margin-top: 1rem;
}

iframe {
    width: 100%;
    height: 300px;
    border: none;
    -webkit-filter: brightness(1.0);
            filter: brightness(1.0);
}

.height-img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover; 
    max-height: 600px;
}

.map-text-style {
    color: var(--highlight-color);
    text-decoration: none;
}

/* Footer / contact */

#contact {
    background-color: var(--primary-color);
    color: white;
    padding-bottom: 3rem;
}

#contact h2 {
    color: white;
}

#contact .sub-heading-color {
    color: var(--highlight-color-light);
}

#contact i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 15px;
}

#contact .social-links i {
    color: var(--highlight-color);
    font-size: 1.9rem;
    -webkit-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}

#contact .social-links i:hover {
    color: var(--fourth-color);
}

/* Gallery page */
#photos {
    -webkit-column-count: 3;
       -moz-column-count: 3;
            column-count: 3;
    -webkit-column-gap: 10px;
       -moz-column-gap: 10px;
            column-gap: 10px;
    padding: 10px;
  }
  
  #photos img {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 3px;
    display: block;
  }
  
  #photos img:hover {
    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            transform: scale(1.1);
  }
/* Media queries */

/* Medium devices (tablets, 768px and up) */
@media screen and (min-width: 768px) {
    /* Make all service cards the same height for consistency */
    #routes .card-body {
        min-height: 191px;
    }
}

/* Large devices (small laptops, 992px and up) */
@media screen and (min-width: 992px) {
    /* Make all service cards the same height for consistency */
    #routes .card-body {
        min-height: auto;
    }
}

/* xl devices (large desktops, 1200px and up) */
@media screen and (min-width: 1200px) {
    /* make all service cards the same height for consistency */
    #routes .card-body {
        min-height: 220px;
    }
}

/* xxl devices (larger desktops, 1400px and up) */
@media screen and (min-width: 1400px) {
    /* make all service cards the same height for consistency */
    #routes .card-body {
        min-height: 195px;
    }
}