@font-face {
  font-family: 'Pasajero';
  src: url('/assets/fonts/pasajero.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/*Comment for testing */

:root {
  --color-dark-cyan: #008191;
  --color-davys-grey: #54575A;
  --color-pacific-blue: #22A4BC;
  --color-bg: rgba(255,255,255,0.82);
  --color-bg-secondary: #f8f9fa;
  --color-text: #1e293b;
  --color-accent: #22A4BC;
  --card-bg: rgba(255,255,255,0.94);
  --footer-bg: rgba(255,255,255,0.7);
  --font-main: 'Century Gothic', Arial, sans-serif;
  --font-deco: 'Pasajero', serif;
  --spacing-section: 4rem;
  --spacing-container: 2rem;
  --border-radius: 14px;
  --shadow-card: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-card-hover: 0 8px 22px rgba(0,0,0,0.17);
  --transition-main: 0.3s cubic-bezier(.39,.58,.57,1);
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--color-bg-secondary);
  color: var(--color-text);
  min-height: 100vh;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: var(--font-deco), var(--font-main), serif;
}

/* GENERAL HEADER STYLING */


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 1.2rem;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  height: 56px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

nav.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.basket-area {
  display: flex;
  align-items: center;
  position: relative;
}

.basket-link {
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
}

.basket-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-left: 1rem;
}

.basket-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #e63946;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  line-height: 1;
}



/* LOGO SECTION */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 45px;
  display: block;
  vertical-align: middle;
  max-height: 100%;
}

/* NAVIGATION */
nav a {
  margin: 0 0.5rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1;
}

nav a.active,
nav a:hover {
  background: var(--color-dark-cyan);
  color: #fff;
}

nav.main-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-grow: 1;
}

footer {
  background: var(--footer-bg);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  border-top: 1px solid #ccc;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.6em 1.2em;
  background: var(--color-dark-cyan);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.btn:hover {
  background: var(--color-pacific-blue);
  transform: scale(1.03);
}

.btn.secondary {
  background: #ccc;
  color: #333;
}

.btn.secondary:hover {
  background: #aaa;
}

form {
  max-width: 500px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 0.75em;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

input[type="submit"],
button {
  font-size: 1rem;
  padding: 0.7em 1.2em;
}

.blog-snippet {
  margin: 1.5rem auto;
  padding: 1.2rem;
  border-bottom: 1px solid #ddd;
}

.blog-snippet h2 {
  font-size: 1.6rem;
  color: var(--color-dark-cyan);
  margin-bottom: 0.3rem;
}

.blog-snippet p {
  color: var(--color-text);
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 2rem;
}

.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}

.p-2 {
  padding: 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.basket-area {
  margin-left: auto;
  display: flex;
  align-items: center;
  position: relative;
}

.basket-link {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  padding-left: 0.5rem;
}


.basket-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.basket-icon:hover {
  transform: scale(1.1);
}

.basket-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #e63946;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 50%;
  padding: 4px 6px;
  line-height: 1;
  min-width: 18px;
  text-align: center;
}



@media (max-width: 760px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
  }
  header nav {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0.5rem;
  }
}
