/* style.css - Barber Shop Edition */

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-weight: 300;
}

h1, h2, h3, .logo {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #cccccc;
}

/* Header & Navigation */
header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}

nav a:hover, nav a.active {
    text-decoration: underline;
    text-underline-offset: 5px;
    color: #fff;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Sections Structure */
section {
    margin-bottom: 60px; /* Space between sections */
    padding-top: 20px;
}

/* Hero Section */
.profile-img {
    width: 150px; 
    height: 150px; 
    border-radius: 50%; 
    object-fit: cover; 
    margin-bottom: 20px; 
    border: 3px solid #fff;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

/* Bio List Structure */
.bio-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px auto;
    display: inline-block; /* Allows text-align left inside a centered block */
    text-align: left;
    font-size: 1.1rem;
    color: #e0e0e0;
}

.bio-list li {
    margin-bottom: 5px;
}

.bio-list a {
    color: #0095f6; /* Instagram Blue highlight */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Primary Button (White Background) */
.btn-primary {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
}

.btn-primary:hover {
    background-color: #000000;
    color: #ffffff;
}


/* Address Card */
.address-card {
    display: flex;
    border: 1px solid #333;
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
    background-color: #0a0a0a;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.address-line {
    display: block; /* WICHTIG: Erzwingt neue Zeile */
    font-family: 'Oswald', sans-serif;
    margin: 5px 0 5px 0;
}

.address-grid {
    display: inline-grid;
    grid-template-columns: 30px 1fr; 
    gap: 3px 7px;
    text-align: left;
    align-items: center;
    margin-right: 8%;
}

/* Fix for icons */
.address-grid .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    justify-self: center;
    margin: 0;
    color: #ffffff;
    /* Prevents layout breaking if icon fails to load */
    max-width: 100%; 
    overflow: hidden; 
    white-space: nowrap;
}

/* Fix for text */
.address-grid span, 
.address-grid a {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.4;
}

.address-grid a:hover {
    color: #cccccc;
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 0;
    font-size: 0.9rem;
    color: #444;
    border-top: 1px solid #222;
    margin-top: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Booking iframe: make embedded booking widget full-width and tall enough */
.iframe-container {
    width: 100%;
    min-height: 600px;
    max-width: 1000px; 
    height: 80vh;
    margin: 20px auto;
    border: 1px solid #222;
    background: #000;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.iframe-wrapper{
    min-height: 600px;
}

@media (max-width: 800px) {
    .iframe-container { height: 60vh; }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    h1 { font-size: 2.2rem; }
    .logo { font-size: 2rem; }
    nav ul { gap: 15px; }
    .btn { width: 80%; } /* Bigger button on mobile */
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  
  /* Damit sie schön mittig neben dem Text stehen */
  vertical-align: middle;
  margin-right: 5px;
  position: relative;
  top: -2px; 
}

/* --- Scroll Reveal Animation --- */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    /* The transition must be HERE so it animates both IN and OUT */
    transition: all 0.8s ease-out; 
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Shop */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #333;
    max-width: 400px;
    width: 100%;
    background-color: #0a0a0a;
    border-radius: 4px; /* Leichte Abrundung, falls gewünscht */
    overflow: hidden;
}

.product-image-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #333;
}

.product-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-color: #1a1a1a; /* Platzhalter-Hintergrund, falls Bild transparent ist */
}

.product-info {
    padding: 30px;
    text-align: center;
}

.product-info h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 2rem;
}

.product-description {
    font-size: 1rem;
    color: #bbbbbb;
    margin-bottom: 15px;
    max-width: 380px; /* Constrain line length */
    margin-left: auto;
    margin-right: auto;
}

.product-description:last-of-type {
    margin-bottom: 0;
}

.product-description strong {
    color: #fff;
}

.product-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-top: -10px;
    margin-bottom: 30px;
    font-weight: 300;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 25px auto;
    display: inline-block;
    text-align: left;
    font-size: 1rem;
    color: #bbbbbb;
}

.product-features li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
}

.product-divider {
    border: 0;
    height: 1px;
    background-color: #333;
    margin: 35px auto;
    width: 60%;
}

.price {
    font-family: 'Anton', sans-serif;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.product-outro {
    font-size: 1rem;
    color: #bbbbbb;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.5;
}

.product-outro:last-of-type {
    margin-bottom: 25px;
}

.product-outro strong {
    color: #fff;
}

.product-outro em {
    color: #ccc;
    font-style: italic;
}

.shipping-info {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 0;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.impressum {
    text-align: left;
}

/* fonts */
/* anton-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/anton-v27-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* oswald-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/oswald-v57-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* oswald-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/oswald-v57-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* oswald-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/oswald-v57-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* material-symbols-outlined-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/material-symbols-outlined-v321-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
