/*
Theme Name: Vida Stone
Theme URI: https://vidastone.hu
Author: Vida Stone
Description: Egyedi Vida Stone téma.
Version: 1.0
*/

:root {
  --bg-dark: #050913;
  --bg-card: #0B1320;
  --accent-orange: #f2a51b;
  --accent-orange-soft: #f9c76a;
  --text-light: #f9fafb;
  --text-muted: #d1d5db;
}

/* Globális reset */

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

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    repeating-linear-gradient(
      135deg,
      #070c18 0,
      #070c18 12px,
      #0c1220 12px,
      #0c1220 24px
    );
  color: var(--text-light);
}

/* Linkek */

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Oldal keret */

.page {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
}

/* NAVBAR */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #000000e6;
  color: var(--text-light);
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  letter-spacing: 3px;
  font-weight: 600;
  color: #f4a623;
}

/* Menü */

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-orange);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.2s ease;
}

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

/* Mobil menü */

.menu-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* HERO SZEKCIÓ */

.hero {
  margin-top: 60px;
  min-height: 100vh;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  background-image:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url("http://vidastone.hu/wp-content/uploads/2025/11/hatter-1.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

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

.hero-title {
  font-family: "Cinzel", serif;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  color: var(--accent-orange);
  margin-bottom: 0.9rem;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  border: none;
  background: var(--accent-orange);
  color: #1f2933;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0,0,0,0.6);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.8);
  background: #f6b338;
}

/* Általános szekciók */

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

section {
  margin-bottom: 3rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  color: var(--accent-orange);
  margin-bottom: 0.2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 60px;
  height: 3px;
  background: var(--accent-orange);
}

.section-bg {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 40px 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}

/* RÓLUNK */

.rolunk-box {
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 60px 80px;
  border-radius: 24px;
  background: #050913;
  display: flex;
  gap: 64px;
  align-items: center;
}

.rolunk-text p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: #e4e7ec;
  letter-spacing: 0.2px;
}

.rolunk-text p + p {
  margin-top: 1rem;
}

.rolunk-logo-card {
  flex: 0 0 320px;
  aspect-ratio: 1 / 1;
  background: #020712;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rolunk-logo-card img {
  max-width: 70%;
  height: auto;
}

/* SZOLGÁLTATÁSOK */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #050913;
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
}

.service-title {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: var(--accent-orange);
  margin-bottom: 0.8rem;
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* REFERENCIÁINK */

.referenciaink-grid {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.referenciaink-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* KAPCSOLAT */

#kapcsolat .section-bg {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 1.5rem;
  padding: 40px 60px;
}

.kapcsolat-left {
  padding-right: 40px;
}

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

.info-item .icon {
  font-size: 22px;
  line-height: 1.2;
}

/* CF7 űrlap */

#kapcsolat .wpcf7 {
  width: 100%;
}

#kapcsolat .wpcf7-form {
  max-width: 650px;
  margin-left: auto;
}

#kapcsolat .wpcf7-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
}

#kapcsolat .wpcf7-form input[type="text"],
#kapcsolat .wpcf7-form input[type="email"],
#kapcsolat .wpcf7-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: #101722;
  border: 1px solid #232b36;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 15px;
  color: #ffffff;
  outline: none;
}

#kapcsolat .wpcf7-form input::placeholder,
#kapcsolat .wpcf7-form textarea::placeholder {
  color: #8a93a5;
}

#kapcsolat .wpcf7-form input[type="text"]:focus,
#kapcsolat .wpcf7-form input[type="email"]:focus,
#kapcsolat .wpcf7-form textarea:focus {
  border-color: #f4a623;
}

#kapcsolat .wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}

#kapcsolat .wpcf7-form input[type="submit"] {
  background: #f4a623;
  color: #000000;
  border: none;
  border-radius: 999px;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s ease, transform 0.1s ease;
}

#kapcsolat .wpcf7-form input[type="submit"]:hover {
  background: #ffb63a;
  transform: translateY(-1px);
}

#kapcsolat .wpcf7-form input[type="submit"]:active {
  transform: translateY(0);
}

#kapcsolat .wpcf7-not-valid-tip {
  color: #ff6363;
  font-size: 13px;
  margin-top: -10px;
  margin-bottom: 10px;
}

#kapcsolat .wpcf7-response-output {
  margin-top: 15px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
}

#kapcsolat .wpcf7-response-output.wpcf7-mail-sent-ok {
  border-color: #27ae60;
  background: rgba(39, 174, 96, 0.08);
  color: #a6f3c2;
}

#kapcsolat .wpcf7-response-output.wpcf7-validation-errors,
#kapcsolat .wpcf7-response-output.wpcf7-mail-sent-ng {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.08);
  color: #ffb3b3;
}

/* LIGHTBOX */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  animation: zoomIn .25s ease;
}

@keyframes zoomIn {
  from { transform: scale(.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox {
  cursor: zoom-in;
}

/* TERMÉKEINK – kategória és kártyák */

.termek-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 40px 20px;
}

.termek-filter-btn {
  border: 1px solid rgba(244, 166, 35, 0.5);
  background: transparent;
  color: var(--text-light);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.termek-filter-btn.active,
.termek-filter-btn:hover {
  background: var(--accent-orange);
  color: #000;
  border-color: var(--accent-orange);
}

.termek-grid {
  max-width: 1100px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 10px 40px 40px;
}

.termek-card {
  background: #050913;
  border-radius: 18px;
  padding: 18px 18px 22px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border 0.12s ease;
  border: 1px solid transparent;
}

.termek-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

.termek-nev {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--accent-orange);
  margin-bottom: 6px;
}

.termek-leiras {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.termek-ar {
  margin-top: auto;
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent-orange-soft);
}

.termek-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
  border-color: rgba(244,166,35,0.7);
}

.termek-card.hidden {
  display: none;
}

/* Scroll animációk */

.js-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s ease-out;
}

.js-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsív */

@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav.open ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 0.8rem;
  }

  .rolunk-box {
    flex-direction: column;
    padding: 40px 24px;
  }

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

  #rolunk .section-bg,
  #kapcsolat .section-bg {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }

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

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

  .referenciaink-item img {
    height: 260px;
  }

  .termek-filters {
    margin: 0 20px 14px;
  }

  .termek-grid {
    grid-template-columns: 1fr;
    padding: 10px 20px 30px;
  }

  .termek-card img {
    height: 220px;
  }
}
