/*
Theme Name: MALYA.studio
Theme URI: https://malya.studio
Author: MALYA.studio
Author URI: https://malya.studio
Description: Dynamic, trilingual (CZ/SK/EN, Polylang-ready) luxury theme for a women's community club. Burgundy palette, Cormorant Garamond typography. All content editable in admin; logo and texts added by the user.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: malya
Tags: custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

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

:root {
  --burgundy: #722F37;
  --burgundy-dark: #5A252C;
  --burgundy-light: #A64D5B;
  --burgundy-soft: #C67A86;
  --blush: #F5E6E8;
  --blush-deep: #E8D0D4;
  --cream: #FAFAF8;
  --warm: #F9F6F4;
  --dark: #1A1A1A;
  --gray: #666666;
  --gray-light: #888888;
  --border: #EDE4E6;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--cream);
  color: var(--dark);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ========== Navigation ========== */
.site-nav {
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 22px;
  letter-spacing: 5px;
  color: var(--burgundy);
  text-decoration: none;
  display: inline-block;
}
.logo span { color: var(--burgundy-light); font-weight: 300; }

/* Custom uploaded logo (WordPress) */
.custom-logo-link {
  display: inline-block;
  text-decoration: none;
}
.custom-logo,
.custom-logo-link img {
  max-height: 50px;
  width: auto;
  display: block;
}

/* Placeholder when no logo is uploaded yet — invisible but maintains space */
.logo-placeholder {
  display: inline-block;
  width: 140px;
  height: 30px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--burgundy); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--burgundy);
  transition: 0.3s;
}

/* ========== Language switcher (CZ/SK/EN) ========== */
.lang-switcher {
  display: flex;
  gap: 12px;
  list-style: none;
  margin-left: 24px;
  align-items: center;
}
.lang-switcher li { display: inline-block; }
.lang-switcher a {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gray-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 4px 6px;
}
.lang-switcher a:hover { color: var(--burgundy); }
.lang-switcher .current-lang a {
  color: var(--burgundy);
  border-bottom: 1px solid var(--burgundy);
}

/* ========== Hero ========== */
.hero {
  text-align: center;
  padding: 80px 5% 100px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%);
}
.hero-label {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--burgundy);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--dark);
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.2;
}
.hero p {
  font-size: 16px;
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto 40px;
  font-weight: 300;
}
.btn {
  display: inline-block;
  background: var(--burgundy);
  color: white;
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}
.btn:hover {
  background: var(--burgundy-light);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
}
.btn-outline:hover {
  background: var(--burgundy);
  color: white;
}

/* ========== Shared ========== */
section { padding: 80px 5%; }
.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--burgundy-light);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}
.section-title {
  font-size: clamp(28px, 4vw, 36px);
  color: var(--dark);
  margin-bottom: 24px;
}
.section-sub {
  font-size: 15px;
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
}
.container { max-width: 1100px; margin: 0 auto; }

/* ========== About ========== */
.about { background: var(--cream); }
.about-content { max-width: 640px; margin: 0 auto; text-align: center; }
.about p {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 16px;
  font-weight: 300;
}

/* ========== Services ========== */
.services { background: var(--blush); }
.services-header { text-align: center; margin-bottom: 56px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.service-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(114, 47, 55, 0.1);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--burgundy);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon span { color: var(--blush); font-size: 22px; }
.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--burgundy);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 300;
}

/* ========== Gallery ========== */
.gallery { background: var(--cream); }
.gallery-header { text-align: center; margin-bottom: 48px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-item {
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item-1 { background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%); }
.gallery-item-2 { background: linear-gradient(135deg, var(--blush-deep) 0%, var(--blush) 100%); }
.gallery-item-3 { background: linear-gradient(135deg, var(--burgundy-light) 0%, var(--burgundy-soft) 100%); }
.gallery-item-4 { background: linear-gradient(135deg, var(--blush) 0%, var(--blush-deep) 100%); }
.gallery-item-5 { background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 100%); }
.gallery-item-6 { background: linear-gradient(135deg, var(--burgundy-soft) 0%, var(--blush-deep) 100%); }
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(0,0,0,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.gallery-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 10, 13, 0.75) 100%);
  color: white;
}
.gallery-tag {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
  font-weight: 500;
}
.gallery-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.2;
}
.gallery-note {
  text-align: center;
  font-size: 12px;
  color: var(--gray-light);
  margin-top: 32px;
  font-style: italic;
  font-weight: 300;
}

/* ========== For who ========== */
.for-who { background: var(--warm); }
.for-who-header { text-align: center; margin-bottom: 40px; }
.for-who-list {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.for-who-item {
  background: var(--cream);
  padding: 18px 24px;
  border-radius: 10px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #333;
  font-weight: 400;
  border: 1px solid var(--border);
}
.for-who-item span {
  color: var(--burgundy);
  font-size: 18px;
  font-weight: 500;
}

/* ========== About me ========== */
.about-me { background: var(--cream); }
.about-me-content {
  display: flex;
  gap: 48px;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}
.about-me-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush) 0%, var(--blush-deep) 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--burgundy);
  overflow: hidden;
}
.about-me-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-me-photo .placeholder {
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
}
.about-me-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--dark);
  margin-bottom: 16px;
}
.about-me-text p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  font-weight: 300;
}

/* ========== Blog ========== */
.blog { background: var(--warm); }
.blog-header { text-align: center; margin-bottom: 56px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.blog-card {
  background: var(--cream);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(114, 47, 55, 0.12);
}
.blog-cover {
  aspect-ratio: 16/10;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.blog-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.blog-cover-1 { background: linear-gradient(135deg, var(--blush) 0%, var(--blush-deep) 100%); }
.blog-cover-2 { background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%); }
.blog-cover-3 { background: linear-gradient(135deg, #FAF0F1 0%, var(--blush) 100%); }
.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.blog-cover-symbol {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.blog-cover-1 .blog-cover-symbol { color: var(--burgundy); opacity: 0.35; }
.blog-cover-2 .blog-cover-symbol { color: var(--blush); opacity: 0.55; }
.blog-cover-3 .blog-cover-symbol { color: var(--burgundy-light); opacity: 0.4; }
.blog-body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-category {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--burgundy-light);
  font-weight: 600;
  margin-bottom: 12px;
}
.blog-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-title a { color: inherit; text-decoration: none; }
.blog-title a:hover { color: var(--burgundy); }
.blog-excerpt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 18px;
  flex: 1;
}
.blog-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--gray-light);
  letter-spacing: 0.5px;
  align-items: center;
}
.blog-meta .dot { color: #CCC; }
.blog-cta { text-align: center; margin-top: 48px; }
.blog-cta a {
  color: var(--burgundy);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--burgundy);
  padding-bottom: 4px;
  transition: opacity 0.3s;
}
.blog-cta a:hover { opacity: 0.6; }

/* ========== Partners ========== */
.partners {
  background: #1F1416;
  color: var(--blush);
  padding: 96px 5%;
  position: relative;
  overflow: hidden;
}
.partners::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at top right, rgba(166, 77, 91, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(114, 47, 55, 0.2) 0%, transparent 55%);
  pointer-events: none;
}
.partners-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.partners-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.partners-header .section-label { color: var(--burgundy-soft); }
.partners-header h2 {
  color: var(--cream);
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 20px;
}
.partners-header p {
  color: #C9B5B8;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}
.partners-intro-accent {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--burgundy-soft);
  font-size: 18px;
  margin-bottom: 8px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.partner-card {
  background: rgba(250, 250, 248, 0.03);
  border: 1px solid rgba(198, 122, 134, 0.25);
  border-radius: 12px;
  padding: 36px 30px;
  transition: background 0.4s, border-color 0.4s, transform 0.4s;
  position: relative;
}
.partner-card:hover {
  background: rgba(250, 250, 248, 0.06);
  border-color: rgba(198, 122, 134, 0.5);
  transform: translateY(-3px);
}
.partner-numeral {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 34px;
  color: var(--burgundy-soft);
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 1px;
}
.partner-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--cream);
  margin-bottom: 6px;
  font-weight: 500;
}
.partner-subtitle {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--burgundy-soft);
  margin-bottom: 18px;
  font-weight: 500;
}
.partner-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #BFA8AC;
  font-weight: 300;
  margin-bottom: 20px;
}
.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.partner-tag {
  font-size: 11px;
  padding: 5px 11px;
  border: 1px solid rgba(198, 122, 134, 0.3);
  border-radius: 20px;
  color: #BFA8AC;
  letter-spacing: 0.3px;
}
.partners-cta { text-align: center; padding-top: 16px; }
.partners-cta-text {
  color: #C9B5B8;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 24px;
}
.btn-partner {
  display: inline-block;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--burgundy-soft);
  padding: 15px 34px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s;
  font-family: 'Montserrat', sans-serif;
}
.btn-partner:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
}
.partners-footnote {
  text-align: center;
  font-size: 12px;
  color: #8A7578;
  margin-top: 28px;
  font-style: italic;
  font-weight: 300;
}

/* ========== Newsletter ========== */
.newsletter {
  background: var(--burgundy);
  text-align: center;
  padding: 80px 5%;
}
.newsletter h2 {
  color: var(--cream);
  font-size: clamp(26px, 4vw, 32px);
  margin-bottom: 12px;
}
.newsletter p {
  color: #E8C0C4;
  font-size: 15px;
  margin-bottom: 32px;
  font-weight: 300;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
}
.newsletter-form button {
  background: var(--dark);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.3s;
}
.newsletter-form button:hover { background: #333; }
.newsletter-note {
  font-size: 12px;
  color: #C4949A;
  margin-top: 20px;
}

/* ========== Instagram ========== */
.instagram {
  background: var(--cream);
  text-align: center;
  padding: 56px 5%;
}
.instagram-grid {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 24px 0;
  flex-wrap: wrap;
}
.instagram-item {
  width: 80px;
  height: 80px;
  background: var(--blush);
  border-radius: 6px;
  overflow: hidden;
}
.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.instagram-item:nth-child(even):not(:has(img)) {
  background: var(--blush-deep);
}
.instagram-handle {
  color: var(--burgundy);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--dark);
  padding: 32px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-size: 18px;
  letter-spacing: 4px;
  color: var(--burgundy-light);
  font-weight: 200;
  text-decoration: none;
  display: inline-block;
}
.footer-logo span { color: var(--gray-light); }

/* Footer logo image */
.footer-logo img {
  max-height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(0.85);
  opacity: 0.7;
  transition: opacity 0.3s;
}
.footer-logo:hover img { opacity: 1; }

/* Footer logo placeholder */
.footer-logo-placeholder {
  width: 120px;
  height: 24px;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--cream); }
.footer-copy { font-size: 12px; color: #555; }

/* ========== Single post / Page ========== */
.single-post-content,
.page-content {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 5%;
}
.single-post-content h1,
.page-content h1 {
  font-size: clamp(32px, 5vw, 44px);
  color: var(--dark);
  margin-bottom: 16px;
}
.single-post-meta {
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: 1px;
  margin-bottom: 32px;
  text-transform: uppercase;
}
.single-post-content p,
.page-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 20px;
}
.single-post-content h2,
.page-content h2 {
  font-size: 28px;
  color: var(--dark);
  margin: 40px 0 16px;
}
.single-post-content blockquote,
.page-content blockquote {
  border-left: 3px solid var(--burgundy);
  padding-left: 24px;
  margin: 32px 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--burgundy);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px 5%;
    gap: 20px;
    border-bottom: 1px solid var(--blush);
    z-index: 10;
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: flex; }
  .site-nav { position: relative; }
  .about-me-content { flex-direction: column; text-align: center; gap: 28px; }
  .newsletter-form { flex-direction: column; }
  .site-footer { flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  section { padding: 64px 5%; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ========== WordPress core ========== */
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
.aligncenter { display: block; margin: 0 auto 24px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--gray); font-style: italic; margin-top: 8px; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.sticky { background: var(--blush-light); }
