/*
Theme Name: EasyForm Minimal
Theme URI:  https://example.com/easyform-minimal
Author: Your Name
Author URI: https://example.com
Description: A minimal, full-featured starter theme for WordPress 6.8.3 — clean, accessible and easy to modify.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: easyform-minimal
Tags: minimal, accessibility, responsive, starter
*/

/* Minimal reset & theme styling */
:root {
  --content-width: 1000px;
  --accent: #1e73be;
}

html,body{height:100%;}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:#111;
  line-height:1.5;
  background:#fff;
}

a{color:var(--accent); text-decoration:none;}
header.site-header{background:#fff;border-bottom:1px solid #eee; padding:1rem 0;}
.wrap{max-width:var(--content-width);margin:0 auto;padding:0 1rem;}
.site-title{margin:0;font-size:1.25rem;}
.site-description{margin:0;font-size:.9rem;color:#666;}

.site-content{padding:2rem 0;}
.post{margin-bottom:2rem;}
.post-title{font-size:1.5rem;margin:0 0 .5rem;}
.site-footer{border-top:1px solid #eee;padding:1rem 0;color:#666;font-size:.9rem;}
@media (min-width:700px){
  .two-column{display:grid;grid-template-columns:1fr 300px;gap:2rem;}
}

.custom-navbar {
  padding: 10px 20px;
}

.navbar-list {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
}

.navbar-list li a {
  text-decoration: none;
  color: #333;
  font-weight: 400;
  font-size: 1.3rem;
  padding: 8px 16px;
  transition: all 0.3s ease;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.navbar-list li a:hover {
  color: #667eea;
  background: #f0f0ff;
}

.navbar-list .active a,
.navbar-list li a[aria-current="page"] {
  color: #667eea;
  font-weight: 500;
  background: #f0f0ff;
}

/* Hamburger Menu Button */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-menu span {
  display: block;
  width: 28px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-menu:hover span {
  background: #667eea;
}

/* Sidebar Menu */
.sidebar-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: linear-gradient(135deg, #e8e8ff 0%, #d8d8ff 30%, #c8c8ff 70%, #b8b8ff 100%);
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1002;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.sidebar-menu.active {
  left: 0;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(102, 126, 234, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  color: #667eea;
}

.sidebar-title i {
  font-size: 24px;
}

.sidebar-close {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #333;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.sidebar-close:hover {
  background: #f0f0ff;
  color: #667eea;
}

.sidebar-navigation {
  padding: 20px 0;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-list li {
  margin: 0;
}

.sidebar-list li a {
  display: block;
  padding: 15px 25px;
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.sidebar-list li a:hover {
  background: #f0f0ff;
  color: #667eea;
  border-left-color: #667eea;
}

.sidebar-list li a.btn-logout,
.sidebar-list li a.btn-login {
  margin: 10px 25px;
  padding: 12px 20px;
  background: #667eea;
  color: #fff;
  border-radius: 6px;
  text-align: center;
  border-left: none;
}

.sidebar-list li a.btn-logout:hover,
.sidebar-list li a.btn-login:hover {
  background: #5568d3;
  color: #fff;
}

/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive - Show hamburger on mobile */
@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }

  .site-navigation {
    display: none;
  }
}
