:root {
  --bg: #ffffff;
  --card: #ffffff;
  --accent: #7c1c1c;
  --accent-2: #aa691e;
  --text: #000000;
  --transition: 200ms cubic-bezier(.22, .9, .29, 1);
}

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

body {
  background-image: url('vöröskép.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}


.logo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 200px;
  height: 200px;
  background-image: url('rweh logo.png');
  background-size: contain;
  background-repeat: no-repeat;
}


header {
  width: 100%;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}
header h1 {
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 25px;
  border-radius: 10px;
  font-size: 2rem;
}


#sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 1000;
}


#menu-toggle {
  position: absolute;
  top: 20px;
  left: -50px; 
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 12px;
  border-radius: 6px 0 0 6px;
  cursor: pointer;
  transition: all 0.4s ease;
  font-size: 1.2rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}



.menu {
  position: fixed;
  top: 0;
  right: -240px;
  width: 240px;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: -3px 0 12px rgba(0, 0, 0, 0.3);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: right 0.4s ease;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}


.menu.open {
  right: 0;
}
#menu-toggle.open {
  left: -280px;
  background: var(--accent-2);
  color: black;
}


.menu a {
  text-decoration: none;
  color: var(--text);
  padding: 10px 0;
  font-weight: 500;
  transition: 0.2s;
}
.menu a:hover {
  color: var(--accent);
}


.content {
  max-width: 900px;
  margin: 50px auto;
  background: var(--card);
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}


.corner-footer {
  position: fixed;
  bottom: 10px;
  right: 15px;
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}
.corner-footer .footer-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.corner-footer .footer-link:hover {
  color: #fff;
  text-decoration: underline;
}


@media (max-width: 600px) {
  header h1 {
    font-size: 1.5rem;
    max-width: 90%;
  }

  .logo {
    width: 120px;
    height: 120px;
  }

  .content {
    padding: 20px;
    margin: 20px;
  }
}


.content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideIn 1s ease-out forwards;
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
header h1 {
  animation: fadeSlideIn 1s ease-out 0.2s forwards;
  opacity: 0;
  transform: translateY(-20px);
}
.menu a {
  position: relative;
  display: block;
  padding: 10px;
  color: #222;
  text-decoration: none;
  transition: color 0.3s ease;
  overflow: hidden;
}


.menu a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #9e1919, #ffb700);
  transition: width 0.4s ease;
}


.menu a:hover::before {
  width: 100%;
}


.menu a.active::before {
  width: 100%;
}


.menu a:hover {
  color: var(--accent);
}
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  resize: none;
  font-size: 1rem;
}

.below-content-gallery {
    margin: 60px auto;
    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.gallery-box {
    width: 260px;
    height: 260px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.below-content-gallery {
    margin: 60px auto;
    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.gallery-box {
    width: 260px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-align: center;
}

.gallery-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-box p {
    margin: 0;
    padding: 15px;
    font-size: 16px;
    color: #333;
}


