/* --------------------------------------------------
   GLOBAL STYLES
-------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@100..900&display=swap');

:root {
  --bg: #121212;
  --text: #f0f0f0;
  --accent: #ffd700;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Background overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../images/bg3.jpg") center/cover no-repeat;
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

/* Global link styles */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #fff;
}

/* --------------------------------------------------
   LOGO
-------------------------------------------------- */

.logo-head {
  background-image: url(/images/workshop.png);
  background-repeat: no-repeat;
  background-size: 250px;
  display: block;
  width: 250px;
  height: 130px;
}

/* --------------------------------------------------
   DESKTOP NAVIGATION
-------------------------------------------------- */

.nav-wrapper {
  background-color: #222;
  padding: 0 3rem; /* ✅ prevents touching browser edge */
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  padding: 0 3rem;
}

.split-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 130px;
  gap: 1em;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 2.5em;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

.nav-logo {
  text-align: center;
}

.split-nav a {
  color: #ccc;
  font-weight: 600;
}

.split-nav a.active {
  color: var(--accent);
}

.split-nav a:not(.active):hover {
  color: #fff;
}

/* Your existing nav-wrapper stays full width */
.nav-wrapper {
  background-color: #222;
}


/* --------------------------------------------------
   MOBILE NAVIGATION (Hamburger)
-------------------------------------------------- */

.mobile-nav {
  display: none;
  background-color: #222;
  padding: 0;
  text-align: center;
}

/* Hamburger icon */
.menu-icon {
  font-size: 2rem;
  cursor: pointer;
  padding: 10px 0;
  color: #fff;
}

/* Hide checkbox */
#menu-toggle {
  display: none;
}

/* Slide-down menu */
.menu {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #222;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    max-height 0.35s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* Open state */
#menu-toggle:checked ~ .menu {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.menu a {
  padding: 12px 0;
  color: #ccc;
  font-weight: 600;
}

.menu a.active {
  color: var(--accent);
}

/* --------------------------------------------------
   RESPONSIVE BREAKPOINTS
-------------------------------------------------- */

@media (max-width: 768px) {

  /* Hide desktop nav */
  .nav-wrapper {
    display: none;
  }

  /* Show mobile nav */
  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo-head {
    background-size: 180px;
    width: 180px;
    height: 90px;
    margin: 0 auto 10px auto;
  }
}

/* --------------------------------------------------
   MAIN CONTENT
-------------------------------------------------- */

main {
  padding: 2em;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

main.fade-in {
  opacity: 1;
}

/* --------------------------------------------------
   GALLERY
-------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-item {
  overflow: hidden;
  border-radius: 4px;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.08);
  opacity: 0.85;
}

/* --------------------------------------------------
   PAGINATION
-------------------------------------------------- */

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}

.pagination a {
  padding: 8px 14px;
  border-radius: 4px;
  color: #444;
  background-color: #111;
  transition: background 0.2s ease, color 0.2s ease;
}

.pagination a:hover {
  background-color: #222;
}

.pagination a.active {
  background: var(--accent);
  color: #444;
  font-weight: bold;
}

/* --------------------------------------------------
   ABOUT PAGE
-------------------------------------------------- */

.about-section {
  display: flex;
  gap: 2em;
  align-items: flex-start;
  justify-content: space-between;
  margin: 2em 0;
}

.about-text {
  flex: 2;
}

.about-image img {
  max-width: 400px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    align-items: center;
  }

  .about-image img {
    max-width: 100%;
  }
}

/* --------------------------------------------------
   CONTACT PAGE
-------------------------------------------------- */

.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  min-height: 300px;
}

.contact-form-container {
  width: 100%;
  max-width: 600px;
  transition: opacity 0.6s ease;
}

.contact-form-container.fade-out {
  opacity: 0;
}

.contact-confirmation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  display: none;
  transition: opacity 0.6s ease;
}

.contact-confirmation.show {
  display: block;
  opacity: 1;
}

label {
  display: block;
  margin: 15px 0 5px;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

button {
  margin-top: 20px;
  padding: 10px;
  width: 100%;
  background-color: var(--accent);
  border: none;
  color: black;
  font-size: 16px;
}

button:hover {
  background-color: #0056b3;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

footer {
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
  color: #ddd;
}

footer .social-links {
  margin-top: 0.5em;
  display: flex;
  justify-content: center;
  gap: 1.5em;
}

footer .social-links a {
  color: #ffd700;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer .social-links a:hover {
  color: #fff;
}

