/*
Theme Name: Best Feel
Theme URI: https://bestfeel.ee
Author: Best Feel OÜ
Author URI: https://bestfeel.ee
Description: One-page landing for Best Feel OÜ — beauty in comfort. Designed in Estonia.
Version: 1.1.0
License: GNU GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bestfeel
Tags: onepage, multilingual, responsive, clean
*/

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

html, body {
  height: 100%;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  scroll-behavior: smooth;
}

/* --- GLOBAL BACKGROUND --- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("https://bestfeel.ee/wp-content/uploads/2025/10/photo_2025-10-12_13-51-27112.jpg") center/cover no-repeat;
  filter: brightness(0.85);
  z-index: -1;
}

/* --- LAYOUT --- */
body {
  background: transparent;
  line-height: 1.6;
}

/* --- HEADER / NAV --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 1000;
}

header a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
  margin: 0 12px;
  transition: color 0.25s ease;
}

header a:hover {
  color: #000;
}

/* --- HERO --- */
.hero {
  text-align: center;
  padding: 200px 20px 140px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.hero p {
  margin: 20px auto 40px;
  max-width: 700px;
  font-size: 1.2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-buttons a {
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  font-weight: 500;
}

.hero-buttons a:hover {
  background: #fff;
  color: #333;
}

/* --- SECTIONS --- */
section {
  text-align: center;
  padding: 100px 20px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

section p {
  max-width: 800px;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
  color: #f0f0f0;
}

/* --- CONTACT --- */
.contact a {
  color: #fff;
  text-decoration: underline;
}
.contact a:hover {
  color: #ffcc66;
}

/* --- LANGUAGE SWITCHER --- */
.lang-switch {
  position: relative;
  display: inline-block;
}

.lang-switch .lang-current {
  cursor: pointer;
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 10px;
}

.lang-switch .lang-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(5px);
  transition: all 0.5s ease;
  z-index: 999;
}

.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-switch .lang-menu a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.lang-switch .lang-menu a:hover {
  background: #f0f0f0;
  color: #000;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  header { flex-direction: column; gap: 10px; padding: 10px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
}

/* === Contact Form Styling === */
.wpcf7 form {
  max-width: 480px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.wpcf7-form p {
  margin-bottom: 1rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.25);
  outline: none;
}

.wpcf7 input[type="submit"] {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid #fff;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background: #fff;
  color: #222;
}

.wpcf7-response-output {
  margin-top: 1rem;
  color: #fff;
  text-align: center;
}

/* === Fade-in animation for contact form === */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.wpcf7 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

