/*
Theme Name: SCH - Helen Embroideries
Theme URI: https://sch-helen-embroideries.com
Description: Elegantes, minimalistisches Theme für kunstvolle Stickerei-Arbeiten. Klassisch, zeitlos und dezent gestaltet.
Version: 1.0.0
Author: SCH Design Team
Author URI: https://sch-helen-embroideries.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sch-helen
Tags: elegant, minimal, portfolio, embroidery, craft, classic

This theme was designed for SCH - Helen Embroideries.
*/

/* ========================================================
   CSS VARIABLES - FARBSCHEMA & TYPOGRAFIE
   ======================================================== */

:root {
  /* Farbschema */
  --color-primary: #4A4A4A;        /* Warmes Grau */
  --color-secondary: #B8956A;      /* Gedämpftes Gold */
  --color-accent: #FAF7F2;         /* Cremeweiß */
  --color-text: #2C2C2C;           /* Dunkelgrau */
  --color-background: #FEFEFE;     /* Off-White */
  --color-white: #FFFFFF;
  --color-light-gray: #F5F5F5;

  /* Typografie */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Transitions */
  --transition: 0.3s ease;

  /* Shadows */
  --shadow-subtle: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.08);

  /* Max Width */
  --max-width: 1200px;
}

/* ========================================================
   RESET & BASE STYLES
   ======================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================================
   TYPOGRAFIE
   ======================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 2px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 1.5px;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 1px;
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-sm);
  font-size: 1rem;
  line-height: 1.8;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary);
}

/* ========================================================
   LAYOUT
   ======================================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-white {
  background-color: var(--color-white);
}

.section-accent {
  background-color: var(--color-accent);
}

/* ========================================================
   HEADER & NAVIGATION
   ======================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-subtle);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-md);
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  letter-spacing: 2px;
  font-weight: 400;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
}

.main-navigation a {
  color: var(--color-text);
  letter-spacing: 1px;
  font-size: 0.9rem;
  text-transform: uppercase;
  padding: 0.5rem 0;
  position: relative;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-secondary);
  transition: var(--transition);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
  width: 100%;
}

/* ========================================================
   BUTTONS
   ======================================================== */

.btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--color-primary);
  background-color: transparent;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 2px;
}

.btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-secondary {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

/* ========================================================
   HERO SECTION
   ======================================================== */

.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(74, 74, 74, 0.7), rgba(184, 149, 106, 0.5));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  max-width: 800px;
  padding: var(--spacing-md);
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: var(--spacing-lg);
  letter-spacing: 0.5px;
}

.made-in-austria-badge {
  display: inline-block;
  background: linear-gradient(135deg, #B8956A 0%, #D4AF7A 100%);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(184, 149, 106, 0.4);
  animation: pulse-badge 2s ease-in-out infinite;
  text-transform: uppercase;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(184, 149, 106, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(184, 149, 106, 0.6);
  }
}

/* ========================================================
   GRID LAYOUTS
   ======================================================== */

.grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  align-items: center;
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

/* ========================================================
   SERVICES/LEISTUNGEN
   ======================================================== */

.service-item {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
  border: 1px solid var(--color-accent);
  transition: var(--transition);
}

.service-item:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.service-item h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.service-item p {
  color: var(--color-text);
  line-height: 1.8;
}

/* ========================================================
   PORTFOLIO GALERIE
   ======================================================== */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-md);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(74, 74, 74, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay-content {
  text-align: center;
  color: var(--color-white);
  padding: var(--spacing-md);
}

.portfolio-overlay-content h3 {
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
}

/* ========================================================
   FOOTER
   ======================================================== */

.site-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
  color: var(--color-secondary);
  margin-bottom: var(--spacing-sm);
}

.footer-section a {
  color: var(--color-white);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.footer-section a:hover {
  color: var(--color-secondary);
}

/* Footer Buttons */
.footer-button {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--color-secondary);
  color: var(--color-white) !important;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 0 !important;
  text-decoration: none;
}

.footer-button:hover {
  background-color: var(--color-white);
  color: var(--color-primary) !important;
  transform: translateY(-2px);
}

.footer-link-button {
  color: var(--color-secondary) !important;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0 !important;
  transition: var(--transition);
}

.footer-link-button:hover {
  color: var(--color-white) !important;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* ========================================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================================== */

/* Mobile: 320px - 767px (Base Styles) */

/* Tablet: 768px - 1023px */
@media (min-width: 768px) {
  .grid-2-col {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .grid-3-col {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Desktop: 1440px+ */
@media (min-width: 1440px) {
  :root {
    --spacing-xl: 8rem;
  }
}

/* Mobile Navigation */
@media (max-width: 767px) {
  .main-navigation ul {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .hero-section {
    min-height: 70vh;
  }

  .service-item {
    padding: var(--spacing-md);
  }
}

/* ========================================================
   UTILITY CLASSES
   ======================================================== */

.text-center {
  text-align: center;
}

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

/* ========================================================
   ACCESSIBILITY
   ======================================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ========================================================
   WORDPRESS SPECIFIC
   ======================================================== */

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.alignwide {
  max-width: calc(var(--max-width) * 1.2);
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  max-width: 100%;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
