/* Base */
body {
  font-family: 'Mohave', Arial, sans-serif;
  color: #111;
  background-color: #fff;
  line-height: 1.6;
}

.breadcrumb a,
.breadcrumb {
  letter-spacing: 2px;
  color: gray;
  text-decoration: none;
  font-style: italic;
  margin-left: 15px;
}

.highlight { text-decoration: underline; }

/* Header (tilbake til “gammel” oppsett) */
.main-header {
  background-color: var(--main-color);
  color: #fff;
}

/* 3 kolonner: venstre nav, logo i midten, ikoner til høyre */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 1.5px;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* Logo midtstilt, ingen absolutte posisjoner */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

img.enlarged {
  width: 180px;
  height: auto;
  display: block;
}

/* Ikoner høyrejustert */
.header-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
}

.header-icons i {
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.header-icons i:hover {
  transform: scale(1.2);
}



/* Responsivt – litt tettere på små skjermer */
@media (max-width: 768px) {
  .main-header { padding: 0.75rem 1rem; }
  .header-container { column-gap: 1rem; }
  .main-nav ul { gap: 1rem; }
  .logo img { height: 48px; }
}


/* Hero section background */
.welcome {
  background-image: url("../../images/welcome.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  padding-left: 5%;
}


/* Overlay box on top of hero image */
.welcome_content {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  border-radius: 10px;
  text-align: left;
  color: white;
  max-width: 40%;
  width: 550px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.welcome h1 {
  font-size: 1.75rem;
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

p.welcome_subtext {
  font-size: 20px;
  font-style: italic;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
}

/* CTA buttons */
.cta_buttons {
    margin-top: 5%;
    margin-left: 1%;
}
.cta {
  background-color: #0a2c3d;
  color: white;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  margin: 0.5rem;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s ease;
  width: 200px;
  letter-spacing: 4px;
}

.cta:hover {
  background-color: #05445e;
}

/*category section*/

.category-section {
  background-color: white;
  padding: 1rem 4rem;
  display: flex;
  gap: 0rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  height: 230px;
}

.category-card {
  min-width: 285px;
  padding: 2rem;
}

.category-container {
  flex: 0 0 258px;
  position: sticky;
  overflow: hidden;
  text-align: center;
  font-weight: bold;
  border-radius: 12px;
  scroll-snap-align: start;
}

.category-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  filter: brightness(0.5);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
  z-index: 1;
  text-shadow: 0 1px 2px black;
}

.category-container span {
  display: block;
  padding: 0.5rem;
}

.view-more {
  background-color: #888;
  height: 85px;
  margin-top: 32px;
}

/* --- New arrivals (forside) --- */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 80px;
  align-items: start;
  margin: 24px 0 48px;
}

.product {
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
}

.product img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.title {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 6px;
  font-weight: 700;
}

.price { font-weight: 600; }

.sizes-label { margin: 6px 0 2px; }

.sizes { 
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.sizes .off {
  opacity: 0.4;
  text-decoration: line-through;
}

/* Mobil-tilpasning */
@media (max-width: 768px) {
  .products { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .products { grid-template-columns: 1fr; }
}

/* Size-knapper */
.size-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.size {
  padding: 6px 12px;
  border: 1px solid #0a2c3d;
  background: #fff;
  border-radius: 20px;
  font: inherit;
  cursor: pointer;
}

.size:hover { background: #002d45;
color: #fff; }

.size.is-off,
.size:disabled {
  opacity: .45;
  text-decoration: line-through;
  cursor: not-allowed;
}


.loading {
  font-style: italic;
  color: #555;
  margin: 1rem 0;
}


/*Footer*/

footer {
  background-color: #002d45;
  padding-left: 5rem;
  padding-right: 5rem;
  padding-top: 1rem;
  padding-bottom: 5rem;
  border-top-style: solid;
  border-top-width: 0px;
  margin-left: -8px;
  margin-right: -8px;
  margin-bottom: -8px;
}

.footer-text {
  display: flex;
  gap: 3rem;
  margin: 0 auto;
  justify-content: space-between;
  width: 1740px;
  height: 250px;
font-size: 20px;
}

.footer-container {
  background-color: #002d45;
  color: white;
  padding: 2rem;
}

/* Row 1: Logo + Newsletter */

.footer-logo img {
max-width: 230px;
}

img.footer-enlarged {
  position: relative;
  width: 200px;
  top:5px;
  left: 25px;
  z-index: 1;
}

.logo-newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}


.newsletter {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.newsletter input {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  min-width: 250px;
  margin-top: 15px;
  background-color: white;
}

.newsletter-input-text {
  font-size: 12px;
}

.newsletter button {
  padding: 0.75rem 1.5rem;
  background-color: #3b8e9e;
  color: white;
  border: none;
  border-radius: 4px;
}

/* Horizontal line */
.footer-hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 2rem 0;
  width: 100%;
}

/* Row 2: Links */
.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.customer-information {
  min-width: 150px;
}

.footer-headers {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

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

.footer-links li {
  margin-bottom: 0.3rem;
}

/* Row 3: App icons and social media */
.social-media-footer {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  flex-direction: column;
}

.social-media-footer img {
  width: 32px;
  height: 32px;
  margin-right: 0.5rem;
}

.sosial-icons a {
  text-decoration: none;
  color: inherit;
}

.social-icons a:visited {
  text-decoration: none;
  color: inherit;
}

.social-icons a img {
text-decoration: none;
transition: transform 0.2s;
color: #fff;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

/* Footer bottom text */

.footer-copy {
  text-align: left;
  font-size: 0.8rem;
  color: #ccc;
  margin-top: -1rem;
}
