/* ======================================
   RESET / BASE
====================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}


/* ======================================
   HEADER / NAVIGATION
====================================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  padding: 1rem 5%;
  z-index: 1000;
  border-bottom: 2px solid #e67e22;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
  transition: opacity 0.3s;
}

.logo img:hover {
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline-flex;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.current-menu-item > a {
  color: #e67e22;
}


/* ======================================
   HERO
====================================== */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 50 Q 25 30, 50 50 T 100 50" stroke="%23e67e22" stroke-width="0.5" fill="none" opacity="0.1"/></svg>');
  opacity: 0.3;
}

.hero-content {
  text-align: center;
  z-index: 2;
  padding: 2rem;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #e67e22;
  letter-spacing: 4px;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #ccc;
  animation: fadeInUp 1s ease 0.3s backwards;
}

.cta-button {
  display: inline-block;
  padding: 1rem 3rem;
  background: #e67e22;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s;
  animation: fadeInUp 1s ease 0.6s backwards;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background: #d35400;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(230, 126, 34, 0.4);
}


/* ======================================
   PAGE CONTENT
====================================== */
.page-content {
  display: none;
  min-height: 100vh;
  padding: 120px 5% 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.page-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.page-title {
  font-size: 3rem;
  color: #e67e22;
  margin-bottom: 2rem;
  text-transform: uppercase;
}


/* ======================================
   TOURS GRID
====================================== */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 300px);
  gap: 2rem;
  justify-content: center;
}

.tour-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.tour-card-link:hover .tour-card {
  transform: translateY(-10px);
  border-color: #e67e22;
}

.tour-card {
  width: 300px;
  height: 460px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s;
}

.tour-image {
  height: 180px;
  overflow: hidden;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tour-info h3 {
  margin-bottom: 0.75rem;
}

.tour-info p {
  color: #ccc;
  line-height: 1.5;
  font-size: 0.95rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tour-meta {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #aaa;
}

.tour-price {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #444;
  font-size: 1.1rem;
  font-weight: bold;
  color: #e67e22;
}


/* ======================================
   CONTACT PAGE
====================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid #e67e22;
}

.contact-info h3 {
  color: #e67e22;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item strong {
  color: #e67e22;
  min-width: 80px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  color: #e67e22;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  background: #1a1a1a;
  border: 2px solid #444;
  border-radius: 8px;
  color: #fff;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e67e22;
}

.submit-button {
  padding: 1rem 2rem;
  background: #e67e22;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
}

.submit-button:hover {
  background: #d35400;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(230, 126, 34, 0.4);
}


/* ======================================
   ABOUT
====================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.about-text {
  line-height: 1.8;
  color: #ccc;
}

.about-text h3 {
  color: #e67e22;
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
}

.about-highlight {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid #e67e22;
}

.about-highlight h4 {
  color: #e67e22;
  margin-bottom: 1rem;
}


/* ======================================
   TERMS
====================================== */
.terms-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 2rem;
  border-radius: 15px;
  line-height: 1.8;
  color: #ccc;
}

.terms-content h3 {
  color: #e67e22;
  margin: 2rem 0 1rem;
}


/* ======================================
   SINGLE TOUR PAGE
====================================== */
.tour-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 5%;
}

.tour-title {
  color: #e67e22;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

/* Slider */
.tour-slider {
  position: relative;
  height: 450px;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 2rem;
}

.tour-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.tour-slider .slide.active {
  opacity: 1;
}

/* Slider buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: 2px solid #e67e22;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 26px;
  transition: 0.3s;
  z-index: 10;
}

.slider-btn:hover { background: #e67e22; }
.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

.tour-description { color: #ccc; margin-bottom: 2rem; }

/* Tour documents */
.tour-documents {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid #e67e22;
    border-radius: 18px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.tour-documents h2 {
    color: #e67e22;
    margin-bottom: 1.5rem;
}

.tour-documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tour-documents-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
    border-bottom: 1px solid #444;
}

.tour-documents-list li:last-child {
    border-bottom: none;
}

.tour-documents-list a {
    color: #fff;
    text-decoration: none;
    transition: color .3s;
}

.tour-documents-list a:hover {
    color: #e67e22;
}

.download-link {
    font-size: .9rem;
    color: #e67e22;
}

/* Tour documents buttons */
.tour-documents-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

/* Details */
.tour-details-line {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
}

detail-item svg {
  width: 18px;
  height: 18px;
  fill: #e67e22;
}

/* Details box */
.tour-details-box {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  border: 2px solid #e67e22;
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.tour-details-box h2 {
  color: #e67e22;
  margin-bottom: 1rem;
}

/* PDF */
.tour-pdf-button {
  display: inline-block;
  background: #e67e22;
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
  margin-bottom: 2rem;
}

.tour-pdf-button:hover { background: #ff8b29; }


/* ======================================
   HERO VIDEO
====================================== */
.hero-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}


/* ======================================
   FLUENT FORMS
====================================== */
.fluentform,
.ff-form {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 2px solid #e67e22;
  border-radius: 18px;
  padding: 2rem !important;
  margin-top: 2rem;
}

.ff-el-group label {
  color: #fff !important;
  font-weight: 500;
}

.fluentform input,
.fluentform select,
.fluentform textarea,
.ff-form input,
.ff-form select,
.ff-form textarea {
  background: #111 !important;
  border: 1px solid #444 !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
}

.fluentform input:focus,
.fluentform textarea:focus,
.fluentform select:focus {
  border-color: #e67e22 !important;
  box-shadow: 0 0 8px rgba(230, 126, 34, 0.7) !important;
}

.fluentform button,
.ff-btn-submit {
  background: #e67e22 !important;
  border: none !important;
  padding: 12px 30px !important;
  border-radius: 50px !important;
  color: #fff !important;
  cursor: pointer;
  transition: 0.3s;
}

.fluentform button:hover,
.ff-btn-submit:hover {
  background: #ff8b29 !important;
  transform: translateY(-2px);
}


/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: #000;
  border-top: 2px solid #e67e22;
  padding: 3rem 5% 2rem;
  color: #ccc;
}

/* Container principal */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  grid-template-columns: 2fr 1fr 1fr;
}

/* Branding */
.footer-brand .footer-logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #e67e22;
}

.footer-brand p {
  margin-top: .5rem;
  color: #aaa;
}

/* Títulos */
.footer-links h4 {
  color: #e67e22;
  margin-bottom: 1rem;
}

/* Links */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: .3s;
}

.footer-links ul li a:hover {
  color: #e67e22;
}
/* Footer – Turismo de Portugal logo */
.footer-brand img {
    max-width: 160px;      /* tamanho coerente em desktop */
    width: 100%;
    height: auto;
    margin: 0.75rem 0;
    display: block;
    filter: brightness(0.95);
}

/* Social */
.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social li {
  margin-bottom: .5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #ccc;
  text-decoration: none;
  transition: .3s;
}

.footer-social a:hover {
  color: #e67e22;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #333;
  color: #888;
}

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

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

  .footer-bottom {
    font-size: .9rem;
  }
  .footer-brand img {
        max-width: 120px;
        
  }
}


/* ======================================
   ANIMATIONS
====================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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


/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 768px) {
  .nav-links { gap: 1rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.2rem; }
  .contact-container,
  .about-content { grid-template-columns: 1fr; }
  .page-title { font-size: 2rem; }
  .tours-grid { grid-template-columns: 1fr; }
}


/* ======================================
   TYPOGRAPHY
====================================== */
body {
  font-family: 'Montserrat', Arial, sans-serif;
}

h1, 
.hero h1 {
  font-family: 'Teko';
  letter-spacing: 1px;
  text-transform: uppercase;
}

h2,
h3,
.page-title,
.nav-links a {
  font-family: 'Teko';
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  letter-spacing: 2px;
  font-weight: 700;
}

.nav-links a {
  font-weight: 600;
}

.page-title {
  font-weight: 700;
}

.hero h1,
.page-title {
  text-shadow:
    1px 1px 0 rgba(0,0,0,0.9),
    -1px -1px 0 rgba(0,0,0,0.6);
  filter: contrast(110%) brightness(95%) grayscale(10%);
  letter-spacing: 3px;
}

.hero h1 {
  mix-blend-mode: overlay;
}

body,
p,
li {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

footer,
footer p,
footer li,
footer a,
footer span {
  font-family: 'Teko';
  font-weight: 400;
  line-height: 1.6;
}

.footer-logo {
  text-transform: uppercase;
}
