@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Quicksand:wght@600&display=swap');

body {
    background-color: #d3d3d3; /* Background gray as in the image */
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 20px;
    color: #000;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.logo-container {
    position: absolute;
    left: 0;
}

.logo-container img {
    height: 80px;
}

.header-text {
    text-align: center;
}

.header-text h1 {
    margin: 0;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 800;
}

.header-text p {
    margin: 5px 0 0;
    font-size: 14px;
    max-width: 600px;
}

nav.main-navbar {
    background-color: #fff;
    border: 1px solid #000;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

nav.main-navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

nav ul li {
    padding: 10px 0;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #000;
    transform: translateY(-2px);
}

nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.welcome-section {
    text-align: center;
    margin-top: 100px;
}

.welcome-section h2 {
    font-family: 'Quicksand', cursive;
    font-size: 36px;
    margin-bottom: 10px;
}

.welcome-section h1 {
    font-size: 48px;
    margin-top: 0;
    font-weight: 600;
}

/* Slideshow container */
.slideshow-container {
  max-width: 900px;
  position: relative;
  margin: auto;
  border: 1px solid #000;
  background: #fff;
  padding: 0;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.slideshow-container .mySlides img {
    height: 450px !important;
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Next & previous buttons */
.slideshow-container .prev, 
.slideshow-container .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  user-select: none;
  background-color: rgba(0,0,0,0.4);
  z-index: 100;
}

.slideshow-container .prev {
  left: 0 !important;
  border-radius: 0 5px 5px 0;
}

/* Position the "next button" to the right */
.slideshow-container .next {
  right: 0 !important;
  border-radius: 5px 0 0 5px;
}

/* On hover, add a black background color */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  background: rgba(0,0,0,0.5);
}

/* Welcome Overlay Styles */
.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.welcome-title {
    font-family: 'Quicksand', cursive;
    font-size: 28px;
    margin: 0;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.store-name {
    font-size: 52px;
    font-weight: 800;
    margin: 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
}

.store-subtitle {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s ease;
  border: 1px solid #000;
}

.active, .dot:hover {
  background-color: #000;
  transform: scale(1.2);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* Product Section */
.produk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.produk-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.produk-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.produk-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produk-info {
    text-align: left;
}

.produk-info p {
    margin: 5px 0;
}

.produk-info .nama-produk {
    font-size: 20px;
    font-weight: 600;
}

.produk-info .harga {
    font-size: 18px;
    color: #e67e22;
    font-weight: bold;
}

/* Classic Design System (Based on user images) */
.classic-btn {
    background-color: #fff;
    border: 1px solid #000;
    color: #000;
    padding: 10px 40px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

.classic-btn:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
}

.classic-btn:active {
    transform: translateY(0);
}

.classic-input {
    border: 1px solid #000;
    padding: 5px 10px;
    width: 250px;
}

.classic-box {
    background-color: #fff;
    border: 1px solid #000;
    padding: 40px;
    margin: 20px 0;
}

.classic-nav-admin {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    border: 1px solid #000;
}

.classic-nav-admin li {
    padding: 10px 15px;
}

.classic-nav-admin li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

.nav-search {
    display: flex;
    align-items: center;
}

.search-input {
    width: 200px !important;
    padding: 8px 15px !important;
    font-size: 14px;
}

.dashboard-stat-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.dashboard-stat-item {
    text-align: center;
}

.login-selection-container {
    text-align: center;
    margin-top: 50px;
}

.login-selection-container .classic-btn {
    display: block;
    width: 200px;
    margin: 20px auto;
}

/* Classic Table & Form Refinements */
.classic-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    border: 1px solid #000;
}

.classic-table th, .classic-table td {
    border: 1px solid #000;
    padding: 10px;
    text-align: left;
}

.classic-table th {
    background-color: #eee;
}

.classic-form-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.classic-form-group label {
    width: 150px;
    margin-right: 15px;
    font-weight: bold;
}

.classic-form-group input, .classic-form-group textarea, .classic-form-group select {
    flex: 1;
    border: 1px solid #000;
    padding: 10px;
    font-family: inherit;
    transition: all 0.3s;
}

.classic-form-group input:focus, .classic-form-group textarea:focus, .classic-form-group select:focus {
    outline: none;
    background-color: #f9f9f9;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.05);
}

.action-btn {
    padding: 5px 15px;
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
    margin: 0 2px;
    font-size: 14px;
    background: #fff;
}

.action-btn:hover {
    background: #f0f0f0;
}

/* Category Section */
.kategori-section {
    text-align: center;
    margin-top: 20px;
}

.kategori-title {
    font-size: 24px;
    margin-bottom: 40px;
}

.kategori-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.kategori-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.kategori-item:hover {
    transform: translateX(10px);
}

.kategori-image {
    width: 120px;
    height: 120px;
    border: 1px solid #000;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.kategori-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.kategori-name {
    font-size: 22px;
    font-weight: 500;
}

/* --- Profile Page Premium Styles --- */

.profile-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 30px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-sidebar {
    background: #fff;
    border: 1px solid #000;
    padding: 30px;
    text-align: center;
    height: fit-content;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.05);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-email {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.profile-menu {
    list-style: none;
    padding: 0;
    text-align: left;
}

.profile-menu li {
    margin-bottom: 10px;
}

.profile-menu a {
    display: block;
    padding: 12px 15px;
    border: 1px solid transparent;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    font-weight: 500;
}

.profile-menu a:hover, .profile-menu a.active {
    background: #f8f8f8;
    border-color: #000;
    transform: translateX(5px);
}

.profile-content {
    background: #fff;
    border: 1px solid #000;
    padding: 40px;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.05);
}

.profile-section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
    display: inline-block;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    grid-column: span 2;
}

.profile-input-group {
    margin-bottom: 25px;
}

.profile-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #000;
}

.profile-input-group input, .profile-input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #000;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.profile-input-group input:focus, .profile-input-group textarea:focus {
    outline: none;
    background: #f9f9f9;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
}

.profile-input-group textarea {
    height: 100px;
    resize: none;
}

.alert-message {
    padding: 15px 20px;
    margin-bottom: 30px;
    border: 1px solid #000;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #2e7d32;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border-color: #c62828;
}

@media (max-width: 850px) {
    .profile-wrapper {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }
}

