* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fafafa;
}

/* Header Styles */

.logo-container {
    position: relative;
}

.logo-container img {
    height: 400px;
    width: auto;
    position: static;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}


nav ul li a:hover {
    color: #d48e0b;
}

/* Auth Buttons (Login/Sign Up) */
.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-buttons .login-btn,
.auth-buttons .signup-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.auth-buttons .login-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.auth-buttons .signup-btn {
    background-color: orange;
    color: white;
    border: none;
}

.auth-buttons .login-btn:hover {
    background-color: white;
    color: black;
}

.auth-buttons .signup-btn:hover {
    background-color: whitesmoke;
    color: black;
}

/* Main Content Styles */
main {
    padding: 0;
    flex-grow: 1;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0);
    padding: 2rem;
    border-radius: 10px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #fff;
    color: #333;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: orange;
}

/* New for homepage pic */
.homepagepic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.homepagepic img {
    max-width: 100%;
    height: auto;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links ul {
    display: flex;
    list-style: none;
}

.footer-links ul li {
    margin-right: 1.5rem;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: #a3a3a3;
}

.social-icons a {
    color: white;
    margin-left: 1rem;
    text-decoration: none;
    font-size: 1.2rem;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #a3a3a3;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  background-color: #ffffff;
  margin: 10% auto;
  padding: 30px;
  width: 90%;
  max-width: 450px;
  border-radius: 12px;  /* Rounded corners for a smoother look */
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);  /* Soft shadow effect for depth */
  position: relative;
  transform: scale(0.95);  /* Start with slightly smaller modal for a smooth scaling effect */
  animation: scaleIn 0.3s ease-in-out forwards;  /* Modal grows into position */
}

.modal-content h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: bold;
}

.modal-content input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.modal-content input:focus {
  border: 1px solid #FF5722;  /* Focus border color */
  outline: none;
}

.modal-content button {
  width: 100%;
  padding: 14px;
  font-size: 1.1rem;
  background-color: #FF5722;  /* Button color to match theme */
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-content button:hover {
  background-color: #FF7043;  /* Darker shade of the button color on hover */
}

.close-modal {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #FF5722;  /* Change close icon color to match button hover */
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.95); }
  to { transform: scale(1); }
}


/* register style stule */

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.username {
    font-size: 1.1rem;
    font-weight: 500;
    color: orange;
}

.logout-btn {
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background-color: white;
    color: black;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.5);
    padding: 0 2rem;
    height: 80px;
    position: relative;
}

.dashboard-header .logo-container img {
    height: 60px;
    width: auto;
    position: static;
}

.dashboard-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.dashboard-nav ul li a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.2s;
}

.dashboard-nav ul li a:hover {
    color: orange;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
}

.logout-btn {
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background-color: white;
    color: black;
}
.username {
    font-size: 1.1rem;
    font-weight: 500;
    color: orange;
}

.logout-btn {
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background-color: white;
    color: black;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.5);
    padding: 0 2rem;
    height: 80px;
    position: relative;
}

.dashboard-header .logo-container img {
    height: 60px;
    width: auto;
    position: static;
}

.dashboard-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.dashboard-nav ul li a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.2s;
}

.dashboard-nav ul li a:hover {
    color: orange;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
}

.logout-btn {
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background-color: white;
    color: black;
}

.catalog-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background-color: rgb(212, 142, 11);
    color: white;
    font-size: 1.2rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
}
.catalog-btn:hover {
    background-color: #ff9900;
    color: #222;
}

.dashboard-categories {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    margin-top: 2.5rem;
    align-items: center;
}
.admin-btn {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 32px 36px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
    min-height: 120px;
    border: none;
    cursor: pointer;
    gap: 18px;
}
.admin-btn i {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
    color: #d48e0b;
}
.admin-btn:hover {
    transform: translateY(-7px) scale(1.04);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    background: #fff;
    color: #d48e0b;
}

.admin-checkbox-label {
    display: flex;
    align-items: center;
    gap: 4px; /* very small gap between checkbox and text */
    font-size: 1rem;
    color: #333;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.admin-checkbox-label input[type="checkbox"] {
    appearance: none; /* removes default style */
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    background-color: white;
    border: 1px solid #aaa;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: 0px;
    cursor: pointer; /* Ensure the checkbox is clickable */
    transition: background-color 0.3s ease;
}

/* Optional: Style when checked */
.admin-checkbox-label input[type="checkbox"]:checked {
    background-color: orange; /* Or any other color you like */
    border-color: orange; /* Optional border color change when checked */
}


