@import url("https://fonts.googleapis.com/css2?family=Antonio:wght@700&family=Manrope:wght@300;400;600&family=Mr+De+Haviland&display=swap");

:root {
  --c-bg: #faf8f5;
  --c-bg-accent: #f0ede8;
  --c-text: #1a1614;
  --c-accent: #ff8c00;
  --c-subtle: #6b6460;

  --f-hero: "Antonio", sans-serif;
  --f-body: "Manrope", sans-serif;
  --f-script: "Mr De Haviland", cursive;

  --grain-url: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Drop-down animation */
@keyframes dropDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-drop {
  animation: dropDown 0.8s ease-out forwards;
  opacity: 0;
}

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: var(--grain-url);
  z-index: 9999;
  opacity: 0.4;
  mix-blend-mode: overlay;
}

.text-hero {
  /* font-family: var(--f-hero);
  font-size: clamp(6rem, 20vw, 24rem);
  line-height: 0.8;
  text-transform: uppercase;
  color: rgba(220, 131, 23, 0.687);
  -webkit-text-stroke: 2px rgba(220, 131, 23, 0.95);
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  letter-spacing: -0.02em;
  transform: scaleY(1.3);
  position: relative;
  z-index: 4; */
  font-family: var(--f-hero);
  font-size: clamp(6rem, 20vw, 24rem);
  line-height: 0.8;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px var(--c-accent);
  background: linear-gradient(
    180deg,
    var(--c-accent) 0%,
    rgba(193, 152, 102, 0.346) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: -0.02em;
  transform: scaleY(1.3);
  position: relative;
  z-index: 1;
}

.hero-content .text-script {
  color: #ffffff; /* White for hero "Beauty" text */
  font-size: clamp(2.5rem, 4vw, 4.5rem);
}

.text-script {
  font-family: var(--f-script);
  font-size: clamp(3rem, 5vw, 6rem);
  color: var(--c-accent);
  position: absolute;
  z-index: 10;
  transform: rotate(-5deg);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.dest-visual .text-script {
  color: #ffffff;
  text-shadow:
    0 4px 12px rgba(10, 10, 10, 0.994),
    0 0 30px rgb(123, 81, 4);
  font-weight: 400;
  letter-spacing: 0.02em;
  z-index: 4;
}

.text-micro {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #080808;
  font-weight: 600;
}

.text-block {
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: justify;
  max-width: 600px;
  color: #4a4542;
  margin: 0 auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  position: fixed;
  width: 100%;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 22, 20, 0.1);
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 101;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--c-text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--c-text);
  transition: color 0.3s ease;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--c-accent);
}

.nav-link:hover::after {
  width: 100%;
}

/* Remove underline from Destinations and About links */
.nav-link[href*="#destinations"],
.nav-link[href*="#narrative"] {
  text-decoration: none !important;
}

.nav-link[href*="#destinations"]::after,
.nav-link[href*="#narrative"]::after,
.nav-link[href*="#destinations"]:hover::after,
.nav-link[href*="#narrative"]:hover::after {
  display: none !important;
  width: 0 !important;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border: 1px solid #1a1614;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  color: inherit;
}

.logo-text {
  font-family: var(--f-hero);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-text);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.logo-text:hover {
  color: var(--c-accent);
}

.btn-booking {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: transparent;
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  text-transform: uppercase;
  font-family: var(--f-body);
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-booking::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--c-accent);
  transition: width 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
}

.btn-booking:hover {
  color: black;
}

.btn-booking:hover::before {
  width: 100%;
}

/* Form Styles */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--c-text);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #d4cfc8;
  background: var(--c-bg);
  font-family: var(--f-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

footer {
  padding: 4rem 5vw;
  border-top: 2px solid var(--c-accent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: #e8e4df;
}

.license-plate {
  border: 2px solid #1a1614;
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: white;
  color: black;
  font-family: var(--f-hero);
  font-size: 1.5rem;
  border-radius: 4px;
}

.eu-strip {
  background: #003399;
  color: white;
  height: 100%;
  padding: 0 5px;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

/* Homepage specific styles */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  perspective: 1000px;
  padding-top: 6rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      180deg,
      rgba(250, 248, 245, 0.35) 0%,
      rgba(26, 22, 20, 0.55) 100%
    ),
    url("https://i.ibb.co.com/W4XXX2Gm/most-beautiful-places-in-portugal-sete-cidades-azores-vista-do-rei-hero.avif")
      center/cover;
  z-index: 0;
  filter: saturate(1.05) contrast(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 35%,
    rgba(255, 140, 0, 0.15),
    transparent 55%
  );
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--c-accent);
  opacity: 0.6;
  filter: blur(2px);
  border-radius: 50% 0 50% 0;
  animation: float 10s infinite ease-in-out;
}

.p1 {
  width: 40px;
  height: 40px;
  top: 20%;
  left: 10%;
  animation-duration: 12s;
  transform: rotate(15deg);
}
.p2 {
  width: 20px;
  height: 20px;
  bottom: 30%;
  right: 15%;
  animation-duration: 8s;
  filter: blur(4px);
  transform: rotate(-15deg);
}
.p3 {
  width: 60px;
  height: 60px;
  top: 10%;
  right: 20%;
  animation-duration: 15s;
  filter: blur(8px);
  opacity: 0.3;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-40px) rotate(10deg);
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding-top: 2rem;
}

.hero-title-wrapper {
  position: relative;
  line-height: 0;
  display: grid;
  place-items: center;
  min-height: clamp(280px, 50vh, 520px);
}

.hero-subject {
  position: absolute;
  bottom: -5vh;
  left: 50%;
  transform: translateX(-50%);
  width: 60vw;
  height: 60vh;
  z-index: 5;
  background: url("https://images.unsplash.com/photo-1533282209633-5c79313670c5?q=80&w=2670&auto=format&fit=crop")
    no-repeat center center;
  background-size: cover;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  filter: contrast(1.2) saturate(1.1);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.hero-subject-cutout {
  display: none;
}

.script-loc {
  top: 12%;
  left: -2%;
}

.scroll-indicator {
  position: absolute;
  bottom: 0rem;
  left: 50%;

  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 20;
}

.scroll-indicator .text-micro {
  color: #ffffff;
}

.line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
}

.destinations {
  padding: 10vh 0;
  background: var(--c-bg);
}

.destination-card {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  padding: 0 5vw;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--c-bg);
  border-top: 1px solid rgba(26, 22, 20, 0.1);
}

.dest-info {
  padding-right: 4rem;
  z-index: 10;
}

.dest-visual {
  position: relative;
  height: 80vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 40%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) contrast(1.1);
  transition:
    transform 0.8s ease,
    filter 0.5s ease;
}

.destination-card:hover .visual-img {
  transform: scale(1.08);
  filter: brightness(0.85) contrast(1.05);
}

.huge-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleY(1.3);
  font-family: var(--f-hero);
  font-size: 15vw;
  color: rgba(255, 255, 255, 0.08);
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.5);
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: overlay;
  transition: all 0.5s ease;
}

.destination-card:hover .huge-label {
  color: rgba(255, 140, 0, 0.15);
  -webkit-text-stroke: 2px rgba(255, 140, 0, 0.6);
}

.accent-box {
  border-left: 4px solid var(--c-accent);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.narrative {
  padding: 10rem 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  border-top: 1px solid #d4cfc8;
}

.narrative-title {
  font-family: var(--f-hero);
  font-size: 5rem;
  line-height: 0.9;
  color: var(--c-accent);
  transform: scaleY(1.2);
  margin-bottom: 2rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.spec-item h4 {
  color: var(--c-accent);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.spec-item p {
  font-size: 1.5rem;
  font-family: var(--f-hero);
  letter-spacing: 0.05em;
}

/* ========================================
   RESPONSIVE STYLES - MOBILE FIRST
   ======================================== */

/* Tablet styles */
@media (max-width: 1024px) {
  nav {
    padding: 1.2rem 2rem;
  }

  .text-hero {
    font-size: clamp(4rem, 15vw, 12rem);
  }

  .destination-card {
    grid-template-columns: 1fr;
    padding: 3rem 3vw;
    min-height: auto;
  }

  .dest-info {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .dest-visual {
    height: 60vh;
  }

  .script-loc {
    top: 8%;
    left: 5%;
    font-size: 2.5rem !important;
    display: none;

  }

  .narrative {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 6rem 3vw;
  }

  .narrative-title {
    font-size: 4rem;
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }

  footer > div:last-child {
    text-align: center !important;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1rem;
    width: 100%;
    padding: 0.5rem 0;
  }

  body.menu-open {
    overflow: hidden;
  }

  .text-hero {
    font-size: clamp(4.5rem, 18vw, 10rem);
  }

  .hero-content .text-script {
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  }

  .hero {
    padding-top: 4rem;
    height: 100svh;
  }

  .hero-title-wrapper {
    min-height: clamp(280px, 50vh, 450px);
  }

  .script-loc {
    top: 5%;
    left: 15%;
    font-size: 2.2rem !important;
    display: none;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .scroll-indicator {
    bottom: 0.5rem;
  }

  .scroll-indicator .line {
    height: 40px;
  }

  .destination-card {
    padding: 2rem 1.5rem;
  }

  .dest-info h2 {
    font-size: 3rem !important;
  }

  .dest-visual {
    height: 50vh;
  }

  .dest-visual .text-script {
    font-size: 2.5rem !important;
    bottom: 5% !important;
    right: 0 !important;
    left: 0 !important;
  }

  .huge-label {
    font-size: 20vw;
  }

  .accent-box {
    padding-left: 1rem;
  }

  .btn-booking {
    padding: 0.875rem 1.5rem;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }

  .narrative {
    padding: 4rem 1.5rem;
  }

  .narrative-title {
    font-size: 3rem;
  }

  .text-block {
    text-align: left;
  }

  .specs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .form-container {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .license-plate {
    font-size: 1.2rem;
  }

  footer {
    padding: 3rem 1.5rem;
  }

  /* Page headers responsive */
  .page-header {
    min-height: 50vh !important;
  }

  .page-title {
    font-size: 4rem !important;
  }

  .page-subtitle {
    font-size: 2rem !important;
  }

  .experience-cards,
  .guides-grid {
    grid-template-columns: 1fr !important;
  }

  .filter-bar {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .text-hero {
    font-size: clamp(3.5rem, 15vw, 8rem);
    -webkit-text-stroke: 2px var(--c-accent);
  }

  .hero-title-wrapper {
    min-height: clamp(240px, 45vh, 380px);
  }

  .hero-content .text-script {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
  }

  .script-loc {
    font-size: 1.8rem !important;
    top: 3%;
    left: 8%;
    display: none;
  }

  .logo-text {
    font-size: 1rem;
  }

  .destination-card {
    padding: 1.5rem 1rem;
  }

  .dest-info h2 {
    font-size: 2.5rem !important;
  }

  .dest-visual {
    height: 40vh;
  }

  .dest-visual .text-script {
    font-size: 2rem !important;
  }

  .narrative-title {
    font-size: 2.5rem;
  }

  .text-block {
    font-size: 0.75rem;
  }

  .spec-item p {
    font-size: 1.2rem;
  }

  .license-plate {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }

  .nav-menu {
    width: 100%;
    right: -100%;
  }

  .nav-menu.active {
    right: 0;
  }

  .page-title {
    font-size: 3rem !important;
  }

  .page-subtitle {
    font-size: 1.5rem !important;
  }

  .form-container {
    padding: 1.5rem 1rem;
  }
}
