﻿/* ============================
   GLOBAL
============================= */
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
  text-align: center;
}

header, footer {
  background-color: #1e2a2a;
  color: white;
  padding: 1rem 0;
}

h1, h2 {
  color: #c62828;
  margin: 0.5rem 0;
}

a {
  color: #c62828;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

nav {
  background-color: #333;
  padding: 0.5rem 0;
}

nav a {
  color: white;
  margin: 0 1rem;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

nav a.active {
  color: #ffeb3b;
  text-decoration: underline;
}

.container {
  padding: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

/* ============================
   GALLERY
============================= */
.gallery-vertical {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  justify-items: center;
  padding: 1rem 0;
}

.gallery-vertical img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ============================
   REVIEWS + BUTTON
============================= */
.review {
  background-color: #fff;
  margin: 1rem auto;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  max-width: 800px;
  text-align: left;
}

.btn {
  display: inline-block;
  background: #c62828;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  margin: 1rem 0;
  text-decoration: none;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* ============================
   SIDEBAR (Desktop)
============================= */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 240px;
  background: #111;
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 1rem;
  transition: transform 0.3s ease;
  z-index: 999;
}

.sidebar a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
}

.sidebar a:hover,
.sidebar a.active {
  text-decoration: underline;
  color: #ffeb3b;
}

/* Desktop pushes content right */
main, header, footer {
  margin-left: 240px;
}

/* ============================
   HAMBURGER BUTTON (Unified)
============================= */
.menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 2000; /* ← FIXED: always clickable above image/header */
}

/* ============================
   MOBILE MODE
============================= */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-260px);
    padding-top: 100px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
  }

  main, header, footer {
    margin-left: 0;
  }
}

/* ============================
   HEADER LAYOUT
============================= */
.site-header {
  position: relative;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.header-text {
  text-align: center;
  padding: 0 20px;
}

.header-text h1 {
  margin-top: 0.2rem;
  font-size: 1.4rem;
}

/* Header image */
.header-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 1rem;
}

/* SMALL DEVICE FONT */
@media (max-width: 600px) {
  .header-text h1 {
    font-size: 1.2rem;
    line-height: 1.25;
  }
}

/* ============================
   FORMS
============================= */
form { 
  max-width: 600px; 
  margin: 0 auto; 
  display: flex; 
  flex-direction: column; 
  gap: 1rem; 
}

input, textarea {
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  width: 100%;
}

button {
  padding: 0.75rem;
  background-color: #c62828;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

button:hover { 
  background-color: #a71d1d; 
}

.formsite-wrapper {
  max-width: 600px;
  margin: 1rem auto;
}
