/* ===== CSS VARIABLES ===== */
:root {
  --primary-yellow: #f7c873;
  --primary-yellow-dark: #b48835;
  --primary-light: #f8e4c0;
  --background-color: #f5f4f0;
  --text-color: #2E2E2E;
  --text-secondary: #5E5E5E;
  --accent-color: #D6D6CE;
  --shadow-color: rgba(46, 46, 46, 0.1);
  --transition-speed: 0.3s;
}

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  font-weight: 300;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/bg_repeat2.jpg');
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}

/* ===== HEADER ===== */
header {
  text-align: center;
  background: linear-gradient(100deg, #151516 0%, #191a1d 100%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 100;
  backdrop-filter: blur(3px);
}

.header-inner {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  position: relative;
  min-height: 420px;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  position: relative;
  z-index: 10;
  justify-content: flex-end;
  width: 340px;
  min-width: 240px;
  height: auto;
}

.header-photo {
  width: 320px;
  object-fit: contain;
  transition: all var(--transition-speed);
  position: static;
  left: auto;
  bottom: -15px;
  transform: none;
}

.header-right {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-top: 20px;
  text-align: left;
  align-items: flex-start;
  max-width: 650px;
  width: 100%;
}

.header-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}

.header-info .header-name,
.header-name {
  width: 250px;
  height: auto;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.1);
  margin: 0;
}

.header-info p {
  font-size: 1.2rem;
  color: var(--primary-light);
  margin: 0 0 1.4rem 0;
  font-weight: 400;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}

.header-title {
  font-family: 'Plus Jakarta Sans', 'Inter', Arial, sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-yellow);
  letter-spacing: -1px;
  margin: 0 0 0.2em 0;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.8rem;
  margin: 0;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
  font-size: 1.4rem;
  color: #e0e0e0;
  margin: 0;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.intro-text {
  padding: 0.7rem 0;
  text-align: left;
  max-width: 600px;
  margin: 0;
}

.intro-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin: 0;
  font-weight: 300;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== NAVIGATION ===== */
nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 1rem;
  margin: 2rem auto;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 600px;
  overflow-x: visible;
}

nav button {
  background: #23232a;
  border: 1.5px solid #e0e0e0;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  position: relative;
  white-space: nowrap;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  min-width: 110px;
  margin-right: 0.3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

nav button:last-child {
  margin-right: 0;
}

nav button:hover, 
nav button:focus, 
nav button.active {
  background: #23232a;
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  outline: none;
}

/* ===== LANGUAGE SWITCH ===== */
.lang-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.lang-switch a {
  display: inline-block;
  padding: 0.4em 1.2em;
  border-radius: 6px;
  background: #ffe9a7;
  color: #23232a;
  font-weight: 600;
  font-size: 1.1rem;
  border: 1.5px solid #ffe9a7;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.lang-switch a:hover, 
.lang-switch a:focus {
  background: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: #23232a;
}

/* ===== SECTIONS ===== */
section {
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-speed), transform var(--transition-speed);
  background: rgba(248, 249, 246, 0.45);
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow-color);
  backdrop-filter: blur(3px);
  box-sizing: border-box;
  overflow: hidden;
}

section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ===== SECTION HEADINGS ===== */
section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #23232a;
  position: relative;
  padding-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-yellow);
  border-radius: 2px;
  margin-top: 0.5rem;
}

section h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
  color: #23232a;
  font-weight: 600;
}

section h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-yellow-dark);
  font-weight: 600;
  letter-spacing: -0.2px;
}

section p {
  margin-bottom: 1.2rem;
  color: var(--text-color);
}

section ul {
  list-style: none;
  padding-left: 0;
}

section ul li {
  padding: 1rem;
  border-bottom: 1px solid var(--accent-color);
  transition: all var(--transition-speed);
  border-radius: 8px;
}

section ul li:hover {
  background-color: var(--accent-color);
  transform: translateX(5px);
}

/* ===== LINKS ===== */
a {
  color: var(--primary-yellow-dark);
  text-decoration: underline;
  transition: color var(--transition-speed);
  border-bottom: none;
}

a:visited {
  color: var(--primary-yellow-dark);
}

a:hover,
a:focus {
  color: var(--primary-yellow);
  text-decoration: underline;
}

/* Header links */
.header-right a, 
.intro-text a {
  color: #f8e4c0;
  text-decoration: underline;
  transition: color 0.2s;
}

.header-right a:hover, 
.intro-text a:hover,
.header-right a:focus, 
.intro-text a:focus {
  color: var(--primary-yellow-dark);
}

.intro-text p a {
  color: #f8e4c0 !important;
  border-bottom: none !important;
  text-decoration: underline !important;
}

.intro-text p a:hover,
.intro-text p a:focus {
  color: var(--primary-yellow-dark) !important;
  border-bottom: none !important;
  text-decoration: underline !important;
}

/* Section links */
section a {
  color: #2474c6;
  text-decoration: underline;
  transition: color 0.2s;
}

section a:hover, 
section a:focus {
  color: #174a7c;
}

.about-text a,
.price-info a,
#contact a {
  color: var(--primary-yellow-dark) !important;
  border-bottom: none !important;
  text-decoration: underline !important;
}

.about-text a:hover,
.price-info a:hover,
#contact a:hover,
.about-text a:focus,
.price-info a:focus,
#contact a:focus {
  color: var(--primary-yellow) !important;
  border-bottom: none !important;
  text-decoration: underline !important;
}

/* ===== BUTTONS ===== */
.education-button,
.form-submit button {
  background: #23232a;
  color: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, border 0.2s;
  padding: 0.7rem 1.6rem;
  font-size: 1.1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  text-decoration: none;
  display: inline-block;
}

.education-button:hover,
.form-submit button:hover,
.education-button:focus,
.form-submit button:focus {
  color: var(--primary-yellow);
  border-color: var(--primary-yellow);
  background: #23232a;
  text-decoration: none;
}

.education-link {
  text-align: center;
  margin: 0 0 2rem 0;
}

.education-link .education-button {
  background: #23232a !important;
  color: #fff !important;
  border: 1.5px solid #e0e0e0 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
  font-weight: 600 !important;
  transition: background 0.2s, color 0.2s, border 0.2s !important;
  text-decoration: none !important;
  display: inline-block !important;
  padding: 0.7rem 1.6rem !important;
}

.education-link .education-button:hover, 
.education-link .education-button:focus {
  color: var(--primary-yellow) !important;
  border-color: var(--primary-yellow) !important;
  background: #23232a !important;
  text-decoration: none !important;
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.about-image {
  flex: 0 0 50%;
  text-align: center;
}

.about-photo {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow-color);
  display: block;
}

.about-text {
  flex: 1;
  line-height: 1.6;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.about-bottom .services-languages {
  margin: 0;
  text-align: left;
  padding: 1rem;
  font-size: 1rem;
  color: var(--text-color);
}

/* ===== MEMBERSHIP LIST ===== */
.membership-list {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 1rem 0;
}

.membership-list li {
  margin-bottom: 0.4rem;
  line-height: 1.4;
  padding: 0 !important;
  border-bottom: none !important;
  background-color: transparent !important;
  transform: none !important;
  transition: none !important;
}

.membership-list li:hover {
  background-color: transparent !important;
  transform: none !important;
}

.membership-list li a {
  color: var(--primary-yellow-dark);
  text-decoration: none;
}

.membership-list li a:hover {
  color: var(--primary-yellow);
  text-decoration: underline;
}

/* ===== CERTIFICATES ===== */
.certificates {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(85, 107, 47, 0.1);
  width: 100%;
  box-sizing: border-box;
}

.certificate-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-width: 160px;
  margin: 0 auto;
}

.certificate-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-speed);
}

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

/* ===== ART GALLERIES ===== */
.art-gallery {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.art-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform var(--transition-speed);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

/* ===== APPROACH SECTIONS ===== */
.approach-section {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin: 2rem 0;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.approach-content {
  flex: 1;
  min-width: 0;
}

.approach-content h4 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.approach-images {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.approach-side-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 0.9;
}

.approach-side-img:hover {
  transform: scale(1.5);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===== PRICING ===== */
.price-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.price-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  align-items: center;
}

.price-item .service {
  font-weight: 400;
}

.price-item .price {
  color: var(--primary-yellow-dark);
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.price-info {
  margin-top: 2rem;
}

.price-info p {
  margin: 0.5rem 0;
}

/* ===== PAYMENT METHODS ===== */
.payment-methods {
  text-align: center;
  margin: 2rem 0;
}

.payment-methods img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-methods img:hover {
  transform: scale(1.02);
}

/* ===== FORMS ===== */
.map-container {
  width: 80%;
  margin: 2rem auto;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 480px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow-color);
}

.contact-form {
  max-width: 800px;
  margin: 2rem auto;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow-color);
}

.contact-form iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-yellow);
  font-weight: 500;
  font-size: 0.95rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-color);
  background: var(--background-color);
  transition: all var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 4px var(--shadow-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
  font-weight: 300;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.form-submit button:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.form-privacy {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--primary-light);
}

.form-privacy a {
  color: var(--primary-yellow);
  text-decoration: none;
  font-weight: 500;
}

.form-privacy a:hover {
  text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(100deg, #151516 0%, #191a1d 100%);
  padding: 3rem 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: #e0e0e0;
  margin-top: 4rem;
  position: relative;
  backdrop-filter: blur(3px);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-yellow);
  border-radius: 2px;
  opacity: 0.8;
}

/* ===== UTILITY CLASSES ===== */
.hidden {
  display: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    text-align: left;
    justify-items: stretch;
  }
  
  .header-right {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }
  
  .header-info {
    align-items: flex-start;
    text-align: left;
    margin-bottom: 1.5rem;
    width: 100%;
  }
  
  .header-info .header-name {
    width: 180px;
  }
  
  .header-info p {
    text-align: left;
    margin: 0.5rem 0;
    width: 100%;
  }
  
  .intro-text {
    text-align: left;
    margin: 0 0 1.5rem 0;
    width: 100%;
  }
  
  .intro-text p {
    font-size: 1rem;
  }
  
  nav {
    flex-direction: column;
    gap: 0.5rem;
    max-width: none;
    margin: 1rem 0;
  }
  
  nav button {
    width: 100%;
    margin-right: 0;
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
  
  .header-title {
    font-size: 2.1rem;
    text-align: left;
  }
  
  .lang-switch {
    top: 10px;
    right: 10px;
  }
  
  .lang-switch a {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  section {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .about-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .about-image {
    flex: none;
  }
  
  .about-photo {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .certificates {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .certificate-item {
    max-width: none;
  }
  
  .education-link .education-button {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  .art-gallery {
    flex-direction: column;
    padding: 1rem;
  }
  
  .art-img {
    width: 100%;
    height: 200px;
  }
  
  .approach-section {
    flex-direction: column;
    gap: 1rem;
    padding: 0.8rem;
  }
  
  .approach-images {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .approach-side-img {
    width: 100px;
    height: 100px;
  }
  
  .price-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  
  .price-item .price {
    text-align: left;
  }
  
  .payment-methods img {
    max-width: 300px;
  }
  
  .form-submit button {
    width: 100%;
    font-size: 0.9rem;
  }
  
  .map-container {
    width: 100%;
  }
  
  .map-container iframe {
    height: 300px;
  }
}