@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
  --primary: #657871; /* tmavě zelená/šedá */
  --secondary: #a37466; /* hnědo růžová */
  --tertiary: #e5cec6; /* světlejší růžovohnědá */
  --bg-light: #fee7dd; /* světle broskvová */
  --bg-lighter: #fef3ee; /* velmi světle broskvová - pozadí */
  --accent: #6b5488; /* fialová (na detaily) */
  --white: #ffffff;
  --text-color: #333333;
  
  --font-main: 'Rubik', sans-serif;
  --font-script: 'Dancing Script', cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-lighter);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

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

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

/* Tlačítka */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}

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

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

.btn-accent:hover {
    background-color: #55436c;
    color: var(--white);
    transform: translateY(-2px);
}

/* Tvar kapky pro obrázky */
.shape-teardrop {
  border-radius: 50% 50% 50% 0;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--accent);
}

/* Hlavička a Logo */
header {
  padding: 20px 0;
  background-color: var(--bg-lighter);
  text-align: center;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-main {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  line-height: 1;
}

.logo-sub {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--secondary);
  margin-top: -5px;
  margin-left: 100px; /* pro posunutí vpravo jako na referenci */
}

/* Navigace */
nav {
  margin-top: 20px;
}

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

nav a {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--secondary);
}

.nav-cta {
  color: var(--white) !important;
  background-color: var(--secondary);
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background-color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mobile-menu-btn {
  display: none;
}

/* Hero Sekce */
.hero {
  padding: 40px 20px;
  background-color: var(--bg-light);
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero-subtitle {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* O salonu */
.about-salon {
  padding: 80px 20px;
  text-align: center;
}

.about-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.feature-item {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 30px;
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--tertiary);
  margin-bottom: 15px;
}

.about-text {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
}

/* Služby Flip Effect */
.flip-image-container {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px auto;
  perspective: 1000px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.flip-image-container:hover {
  transform: scale(1.05);
}
.flip-image-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.flip-image-container.flipped .flip-image-inner {
  transform: rotateY(180deg);
}
.flip-image-front, .flip-image-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 50% 50% 50% 0;
}
.flip-image-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--accent);
  border-radius: 50% 50% 50% 0;
}
.flip-image-back {
  transform: rotateY(180deg);
  background-color: var(--bg-lighter);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.flip-image-back p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-color);
  margin: 0;
}

/* Služby */
.services {
  padding: 80px 20px;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.section-subtitle {
    text-align: center;
    font-family: var(--font-script);
    color: var(--secondary);
    font-size: 2rem;
    margin-bottom: 10px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  text-align: center;
  padding: 20px;
}

.service-card img {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.services-action {
  text-align: center;
  margin-top: 50px;
}

/* Proces ošetření */
.process-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.process-step {
  text-align: center;
  flex: 1;
  min-width: 200px;
}
.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--tertiary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 auto 15px auto;
  font-family: var(--font-script);
}
.process-step h4 {
  color: var(--primary);
  font-size: 1.1rem;
}

/* Dárkové poukazy */
.gift-voucher {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.gift-voucher .container {
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: var(--white);
  padding: 50px;
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.voucher-content {
  flex: 1;
}

.voucher-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.voucher-image {
  flex: 1;
  text-align: center;
}

.voucher-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
  border: 1px solid var(--accent);
}

.voucher-image img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* Recenze */
.reviews {
  padding: 80px 20px;
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.review-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  position: relative;
  text-align: left;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: var(--font-script);
  font-size: 6rem;
  color: var(--bg-light);
  line-height: 1;
}

.review-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.review-author {
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-script);
  font-size: 1.5rem;
}

/* O mně */
.about-me {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.about-me .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-me-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-me-image img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 20% 10%;
  /* kapka zrcadlově */
  border-radius: 50% 50% 0 50%;
  border: 1px solid var(--accent);
}

.about-me-content {
  flex: 1;
}

.about-me-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-me-content p {
  margin-bottom: 15px;
}

/* Kontakt a Formulář */
.contact {
  padding: 80px 20px;
  background-color: var(--white);
}

.contact .container {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
  padding-right: 20px;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-details p, .contact-details a {
  color: var(--text-color);
  font-size: 1rem;
}

.contact-details a:hover {
  color: var(--secondary);
}

.contact-form-wrap {
  flex: 1;
  background-color: var(--bg-lighter);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.contact-form h3 {
  margin-bottom: 20px;
  color: var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--tertiary);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
  background-color: var(--white);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form-check input {
  margin-top: 5px;
}

.form-check label {
  font-size: 0.9rem;
  color: var(--text-color);
}

/* Patička */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 60px 0 20px 0;
}

.footer-top {
  display: flex;
  gap: 50px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.footer-faq {
  flex: 2;
  min-width: 300px;
}

.footer-faq h3 {
  color: var(--bg-light);
  margin-bottom: 25px;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--bg-light);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #ddd;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 15px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.footer-links {
  flex: 1;
  min-width: 250px;
}

.footer-links h3 {
  color: var(--bg-light);
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: #ccc;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #ccc;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Responzivita */
@media (max-width: 992px) {
  .hero .container, .gift-voucher .container, .about-me .container, .contact .container {
    flex-direction: column;
    text-align: left;
  }
  
  .about-intro {
    text-align: left !important;
  }
  
  .hero-buttons {
    justify-content: flex-start;
  }
  
  .logo-sub {
    margin-left: 0;
  }
  
  .contact-info {
    padding-right: 0;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 60px;
    right: 20px;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 100;
  }
  
  nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-lighter);
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
    z-index: 99;
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}
