* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #222;
}

/* HEADER */
header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #8b0000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links li a {
  text-decoration: none;
  color: #111;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
  padding-bottom: 5px;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #8b0000;
  border-bottom: 2px solid #8b0000;
}

/* HERO */
.hero {
  min-height: 520px;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
              url('images/backgroundhead.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 40px 20px;
}

.hero-text {
  max-width: 850px;
}

.hero-text h1 {
  font-size: 56px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* BUTTON */
.btn,
.form-btn {
  display: inline-block;
  background-color: #8b0000;
  color: white;
  padding: 14px 30px;
  text-decoration: none;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover,
.form-btn:hover {
  background-color: #a50000;
  transform: translateY(-2px);
}

/* COMMON SECTION */
.intro,
.categories,
.catalogue-section,
.about-section,
.form-section,
.table-section {
  max-width: 1200px;
  margin: auto;
  padding: 70px 20px;
}

/* INTRO */
.intro {
  text-align: center;
}

.intro h2 {
  font-size: 38px;
  margin-bottom: 18px;
}

.intro p {
  max-width: 900px;
  margin: auto;
  font-size: 18px;
  line-height: 1.9;
  color: #444;
}

/* FEATURED CATEGORIES */
.categories {
  text-align: center;
  padding-top: 30px;
}

.categories h2 {
  font-size: 38px;
  margin-bottom: 25px;
}

.category-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.card {
  background: white;
  width: 300px;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.card h3 {
  margin-bottom: 15px;
  font-size: 24px;
  color: #222;
}

.card p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* PAGE BANNER */
.page-banner {
  background: linear-gradient(rgba(139,0,0,0.88), rgba(139,0,0,0.88));
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.page-banner h1 {
  font-size: 46px;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 18px;
}

/* ABOUT */
.about-section {
  max-width: 1000px;
}

.about-box {
  background: white;
  margin-bottom: 25px;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.about-box h2 {
  margin-bottom: 15px;
  color: #222;
  font-size: 28px;
}

.about-box p {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}

.about-box ul {
  padding-left: 22px;
}

.about-box ul li {
  margin-bottom: 10px;
  line-height: 1.7;
  color: #444;
}

/* CATALOGUE */
.product-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.product-card {
  background: white;
  width: 290px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
  padding-bottom: 20px;
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card h3 {
  margin: 18px 0 8px;
  font-size: 22px;
  color: #222;
}

.product-card .price {
  color: #8b0000;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.product-card p {
  padding: 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* FORM */
.form-container {
  background: white;
  width: 100%;
  max-width: 560px;
  margin: auto;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 32px;
}

.form-container label {
  display: block;
  margin-bottom: 8px;
  margin-top: 16px;
  font-weight: bold;
}

.form-container input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
}

.form-container input:focus {
  outline: none;
  border-color: #8b0000;
}

.form-btn {
  width: 100%;
  margin-top: 25px;
}

.form-link {
  text-align: center;
  margin-top: 18px;
  font-size: 15px;
}

.form-link a {
  color: #8b0000;
  text-decoration: none;
  font-weight: bold;
}

.form-link a:hover {
  text-decoration: underline;
}

/* TABLE */
.table-container {
  background: white;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow-x: auto;
}

.table-container h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 32px;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  margin-top: 20px;
}

table th,
table td {
  padding: 15px;
  border: 1px solid #ddd;
}

table th {
  background-color: #8b0000;
  color: white;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table tr:hover {
  background-color: #fff1f1;
}

.logout-box {
  text-align: center;
  margin-top: 25px;
}

/* FOOTER */
footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 28px;
  margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-text p {
    font-size: 17px;
  }

  .page-banner h1 {
    font-size: 36px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 420px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .intro h2,
  .categories h2,
  .table-container h2 {
    font-size: 28px;
  }

  .logo {
    font-size: 20px;
  }
}

.review-section {
  max-width: 1200px;
  margin: auto;
  padding: 70px 20px;
}

.review-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.review-product,
.review-form-box {
  flex: 1;
  min-width: 320px;
  background: white;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.review-product img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  margin-bottom: 20px;
}

.review-product h2,
.review-form-box h2,
.review-list h2 {
  margin-bottom: 18px;
}

.review-product .price {
  color: #8b0000;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.review-form-box textarea,
.review-form-box input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-top: 8px;
  margin-bottom: 16px;
  font-size: 15px;
}

.review-list {
  margin-top: 40px;
}

.review-card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

.form-container textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
  resize: vertical;
}

.form-container textarea:focus {
  outline: none;
  border-color: #8b0000;
}

.product-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.review-list-section {
  max-width: 1200px;
  margin: auto;
  padding: 70px 20px;
}

.review-list-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
}

.review-list-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.review-card {
  background: white;
  width: 320px;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.review-card h3 {
  margin-bottom: 12px;
  color: #8b0000;
}

.review-card p {
  margin-bottom: 10px;
  line-height: 1.7;
  color: #444;
}

.album-section{
padding:80px 20px;
max-width:1200px;
margin:auto;
}

.album-container{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
gap:25px;
}

.album-container img{
width:100%;
height:220px;
object-fit:cover;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
transition:0.3s;
}

.album-container img:hover{
transform:scale(1.05);
}

.review-table-section {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
}

.review-table-container {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}

.review-table-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 40px;
  color: #1a2238;
}

.review-table {
  width: 100%;
  border-collapse: collapse;
}

.review-table th,
.review-table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.review-table th {
  background-color: #a50f15;
  color: white;
}

.comment-cell {
  width: 350px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ADMIN LAYOUT */

.admin-layout{
  display:flex;
  min-height:100vh;
}

/* SIDEBAR */

.admin-sidebar{
  width:250px;
  background:#1f2937;
  color:white;
  padding:25px;
}

.admin-sidebar h2{
  font-size:26px;
  margin-bottom:30px;
}

.admin-sidebar ul{
  list-style:none;
  padding:0;
}

.admin-sidebar ul li{
  margin-bottom:15px;
}

.admin-sidebar ul li a{
  text-decoration:none;
  color:white;
  display:block;
  padding:12px;
  border-radius:8px;
  background:#374151;
  transition:0.3s;
}

.admin-sidebar ul li a:hover{
  background:#b30000;
}

/* MAIN CONTENT */

.admin-main{
  flex:1;
  background:#f3f4f6;
  padding:30px;
}

/* HEADER */

.admin-header{
  background:linear-gradient(to right,#0ea5e9,#2563eb);
  color:white;
  padding:25px;
  border-radius:12px;
  margin-bottom:30px;
}

.admin-header h1{
  margin:0;
}

/* DASHBOARD CARDS */

.dashboard-cards{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:30px;
}

.dashboard-card{
  background:white;
  padding:25px;
  border-radius:12px;
  flex:1;
  min-width:200px;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

.dashboard-card h3{
  color:#555;
  margin-bottom:10px;
}

.dashboard-card p{
  font-size:32px;
  font-weight:bold;
}

/* TABLE */

.dashboard-table{
  background:white;
  padding:25px;
  border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

.dashboard-table table{
  width:100%;
  border-collapse:collapse;
  margin-top:15px;
}

.dashboard-table th,
.dashboard-table td{
  border:1px solid #ddd;
  padding:12px;
  text-align:left;
}

.dashboard-table th{
  background:#f1f1f1;
}

.admin-layout{
  display: flex;
  min-height: 100vh;
}

.admin-sidebar{
  width: 240px;
  background: #1e293b;
  color: white;
  padding: 20px;
}

.admin-sidebar h3{
  margin-bottom: 30px;
  font-size: 24px;
}

.admin-sidebar ul{
  list-style: none;
  padding: 0;
}

.admin-sidebar ul li{
  margin-bottom: 15px;
}

.admin-sidebar ul li a{
  display: block;
  text-decoration: none;
  color: white;
  padding: 12px;
  background: #334155;
  border-radius: 8px;
}

.admin-sidebar ul li a:hover{
  background: #2563eb;
}

.logout-btn{
  display: block;
  margin-top: 30px;
  text-decoration: none;
  color: white;
  background: #dc2626;
  padding: 12px;
  text-align: center;
  border-radius: 8px;
}

.admin-main{
  flex: 1;
  background: #f1f5f9;
  padding: 30px;
}

.admin-header{
  background: linear-gradient(to right, #2563eb, #06b6d4);
  color: white;
  padding: 25px;
  border-radius: 12px;
}

.dashboard-container {
  display: flex;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

.sidebar {
  width: 250px;
  background: #1f2630;
  color: white;
  padding: 20px;
}

.sidebar h3 {
  margin-bottom: 30px;
  font-size: 24px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin: 20px 0;
}

.sidebar ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.logout-btn {
  background: red;
  padding: 10px 15px;
  border-radius: 5px;
}

.main-content {
  flex: 1;
  background: #f4f4f4;
  padding: 20px;
}

.top-banner {
  background: linear-gradient(to right, #007bff, #00c6ff);
  color: white;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  flex: 1;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card h4 {
  margin-bottom: 10px;
  color: #555;
}

.card p {
  font-size: 28px;
  font-weight: bold;
}

.table-section {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.table-section h3 {
  margin-bottom: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th, table td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

table th {
  background: #f0f0f0;
}

.review-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.review-table th,
.review-table td {
  border: 1px solid #751a1a;
  padding: 12px;
  text-align: left;
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.review-table th {
  background-color: #8b1717;
  font-weight: bold;
}

.table-section {
  overflow-x: auto;
}

.review-table td:nth-child(6) {
  max-width: 250px;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th, td {
  border: 1px solid #761616;
  padding: 12px;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: break-word;
}

.review-table-container {
  overflow-x: auto;
}

textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  font-size: 16px;
}

