/*
Theme Name: Madlen Nagelstudio
Theme URI: https://madlen-jaeckel.de
Description: Premium Nagelstudio Website - Vollständiges eigenständiges WordPress Theme
Author: Claude Code
Author URI: https://claude.com/claude-code
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: madlen-nagelstudio
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ============================================
   MADLEN NAGELSTUDIO - MAIN STYLESHEET
   ============================================ */

:root {
  --primary-black: #1a1a1a;
  --primary-gold: #C9A961;
  --primary-white: #FFFFFF;
  --light-gray: #f5f5f5;
  --dark-gray: #4a4a4a;
  --border-radius: 12px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & GLOBAL STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--primary-black);
  background-color: var(--primary-white);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--primary-black);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   HEADINGS
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--primary-black);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 56px;
  line-height: 1.15;
  font-weight: 800;
}

h2 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 0;
  display: block;
  width: 100%;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-gold);
  margin: 20px auto 0;
}

h3 {
  font-size: 26px;
}

p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

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

.site-header {
  background-color: var(--primary-white);
  border-bottom: 1px solid #e8e8e8;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  max-width: 150px;
  height: auto;
}

.site-logo img {
  max-width: 100%;
  height: auto;
}

.site-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-black);
}

.site-title a {
  color: var(--primary-black);
}

.site-title a:hover {
  color: var(--primary-gold);
}

/* Navigation */
.site-navigation {
  display: flex;
  gap: 40px;
  align-items: center;
}

.site-navigation a {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-black);
  transition: color 0.3s ease;
}

.site-navigation a:hover {
  color: var(--primary-gold);
}

.site-navigation a.active {
  color: var(--primary-gold);
  border-bottom: 2px solid var(--primary-gold);
  padding-bottom: 5px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--primary-black);
}

/* ============================================
   SECTIONS & CONTAINERS
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 20px;
  position: relative;
}

.section.light-bg {
  background-color: var(--light-gray);
}

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

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

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

.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 100px;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  color: var(--primary-black);
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.3);
}

.hero-subheading {
  font-size: 20px;
  color: var(--primary-black);
  margin-bottom: 30px;
  font-weight: 300;
}

.hero-logo {
  max-width: 150px;
  margin: 0 auto 30px;
  display: block;
}

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

.btn,
.whatsapp-btn {
  background-color: var(--primary-gold);
  color: var(--primary-black);
  padding: 16px 40px;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  margin-top: 20px;
  letter-spacing: 0.5px;
}

.whatsapp-btn:hover {
  background-color: #c99d2e;
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.3);
  transform: translateY(-3px);
}

/* Instagram Button */
a.whatsapp-btn[href*="instagram"],
a.whatsapp-btn[href*="instagram"]:hover {
  background: linear-gradient(45deg, #E4405F, #FD1D1D, #F77737, #FCAF45);
  color: white !important;
}

a.whatsapp-btn[href*="instagram"]:hover {
  box-shadow: 0 12px 32px rgba(228, 64, 95, 0.3);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-card {
  background-color: var(--primary-white);
  padding: 40px 30px;
  text-align: center;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid #e0e0e0;
}

.service-card:hover {
  background-color: var(--light-gray);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
  transform: translateY(-8px);
  border-color: var(--primary-gold);
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 22px;
  margin: 20px 0 15px 0;
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================
   GALLERY
   ============================================ */

.gallery-grid {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.gallery-grid::-webkit-scrollbar {
  height: 6px;
}

.gallery-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
  background: #b8956a;
}

/* Scroll Arrow Buttons */
.gallery-container {
  position: relative;
}

.gallery-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-gold);
  color: var(--primary-black);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-scroll-btn:hover {
  background-color: #b8956a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.gallery-scroll-btn.prev {
  left: 10px;
}

.gallery-scroll-btn.next {
  right: 10px;
}

.gallery-scroll-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .gallery-scroll-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .gallery-scroll-btn.prev {
    left: 5px;
  }

  .gallery-scroll-btn.next {
    right: 5px;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 1;
  min-width: 280px;
  flex-shrink: 0;
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(212, 175, 55, 0.25);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-info {
  background-color: var(--primary-white);
  padding: 40px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-gold);
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  color: var(--dark-gray);
  margin-bottom: 15px;
  line-height: 1.8;
}

.contact-info strong {
  color: var(--primary-black);
  font-weight: 600;
}

.contact-info img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin: 30px 0;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 400px;
}

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

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--primary-black) 0%, #2a2a2a 100%);
  padding: 60px 40px;
  border-radius: var(--border-radius);
  text-align: center;
  margin: 60px 20px;
  color: var(--primary-white);
}

.cta-section h3 {
  color: var(--primary-white);
  font-size: 32px;
}

.cta-section p {
  color: #e0e0e0;
  font-size: 18px;
}

.cta-section h3 {
  margin-bottom: 20px;
}

.cta-section p {
  margin-bottom: 30px;
  font-size: 16px;
}

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

.site-footer {
  background-color: var(--primary-black);
  color: var(--primary-white);
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}

.site-footer a {
  color: var(--primary-gold);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
}

/* ============================================
   PAGE TEMPLATE (Impressum, Datenschutz)
   ============================================ */

.page-content {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-content h1 {
  margin-bottom: 30px;
}

.page-content h2 {
  font-size: 24px;
  text-align: left;
  border: none;
  padding: 0;
  display: block;
  margin-top: 30px;
  margin-bottom: 15px;
  width: auto;
}

.page-content p {
  margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-content li {
  margin-bottom: 10px;
  color: var(--dark-gray);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .section {
    padding: 40px 15px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .site-navigation {
    gap: 20px;
  }

  .map-container {
    height: 300px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  p {
    font-size: 15px;
  }

  .header-container {
    flex-wrap: wrap;
  }

  .site-navigation {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--primary-white);
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
  }

  .site-navigation.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-section {
    min-height: 400px;
    padding: 50px 15px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-subheading {
    font-size: 18px;
  }

  .section {
    padding: 30px 15px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card img {
    height: 200px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .contact-info {
    padding: 25px;
  }

  .whatsapp-btn,
  .btn {
    padding: 12px 30px;
    font-size: 14px;
    width: 100%;
  }

  .map-container {
    height: 250px;
  }

  .site-footer {
    padding: 30px 15px;
    font-size: 13px;
  }

  .footer-links {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  p {
    font-size: 14px;
  }

  .header-container {
    padding: 10px;
  }

  .site-header {
    padding: 10px;
  }

  .site-logo {
    max-width: 100px;
  }

  .hero-section {
    min-height: 350px;
    padding: 40px 10px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-logo {
    max-width: 100px;
  }

  .section {
    padding: 20px 10px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding: 15px;
  }

  .cta-section {
    margin: 20px 10px;
    padding: 25px 15px;
  }

  .map-container {
    height: 200px;
  }

  .whatsapp-btn,
  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .page-content {
    margin: 40px auto;
  }
}

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

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

.text-gold {
  color: var(--primary-gold);
}

.text-white {
  color: var(--primary-white);
}

.bg-light {
  background-color: var(--light-gray);
}

.bg-dark {
  background-color: var(--primary-black);
}

.margin-top {
  margin-top: 30px;
}

.margin-bottom {
  margin-bottom: 30px;
}

.padding {
  padding: 30px;
}
