/* Yellow-Black-Gray Theme for Toko Marching */

/* Root Variables for Yellow-Black-Gray Theme */
:root {
  --primary-yellow: #FFD700;
  --secondary-yellow: #FFEB3B;
  --accent-yellow: #FFF176;
  --dark-black: #1A1A1A;
  --medium-black: #2D2D2D;
  --light-black: #404040;
  --dark-gray: #666666;
  --medium-gray: #808080;
  --light-gray: #B0B0B0;
  --background-gray: #F5F5F5;
  --white: #FFFFFF;
}

/* Override Bootstrap Variables */
.bg-primary {
  background-color: var(--primary-yellow) !important;
}

.text-primary {
  color: var(--primary-yellow) !important;
}

.btn-primary {
  background-color: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: var(--dark-black);
}

.btn-primary:hover {
  background-color: var(--secondary-yellow);
  border-color: var(--secondary-yellow);
  color: var(--dark-black);
}

/* Body and General Styling */
body {
  background-color: var(--background-gray);
  color: var(--dark-black);
}

/* Top Bar Override */
.top-bar {
  background-color: var(--dark-black) !important;
  color: var(--primary-yellow) !important;
}

.top-bar .container span,
.top-bar .whatsapp-link,
.top-bar .whatsapp-link:hover {
  color: var(--primary-yellow) !important;
}

.top-bar .whatsapp-link:hover {
  background-color: rgba(255, 215, 0, 0.1) !important;
}

/* Header/Navbar Override */
#header {
  background-color: var(--medium-black) !important;
  border-bottom: 3px solid var(--primary-yellow);
}

#header .nav-menu a,
#header .nav-menu > li > a,
#header .nav-menu li a,
#header #logo h1 a,
#header #logo h1 a:hover,
#header #logo h2,
#header #logo h2.d-inline,
#header #logo h2.text-light {
  color: var(--primary-yellow) !important;
}

#header .nav-menu a:hover,
#header .nav-menu > li > a:hover,
#header .nav-menu li a:hover {
  color: var(--secondary-yellow) !important;
  background-color: rgba(255, 215, 0, 0.1);
}

#header .nav-menu .menu-active > a {
  color: var(--secondary-yellow) !important;
  background-color: rgba(255, 215, 0, 0.2);
}

/* Hero Section */
#hero {
  background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(64, 64, 64, 0.7)), url('{{asset("user/images/hero-bg.jpg")}}') top center !important;
}

#hero h1 {
  color: var(--primary-yellow) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#hero p {
  color: var(--white) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Section Headers */
.section-header h3 {
  color: var(--dark-black) !important;
  border-bottom: 3px solid var(--primary-yellow);
  padding-bottom: 10px;
}

.section-header p {
  color: var(--dark-gray) !important;
}

/* Cards and Product Items */
.card {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: var(--primary-yellow);
  color: var(--dark-black);
  border-bottom: 1px solid var(--medium-gray);
}

.card-body {
  background-color: var(--white);
  color: var(--dark-black);
}

/* Product Cards */
.portfolio-item {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
  border-color: var(--primary-yellow);
}

.portfolio-item .portfolio-info {
  background: linear-gradient(135deg, var(--dark-black) 0%, var(--medium-black) 100%);
  color: var(--primary-yellow);
}

.portfolio-item .portfolio-info h4 {
  color: var(--primary-yellow);
}

.portfolio-item .portfolio-info p {
  color: var(--light-gray);
}

/* Buttons */
.btn {
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary {
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
}

.btn-outline-primary:hover {
  background-color: var(--primary-yellow);
  color: var(--dark-black);
}

.btn-warning {
  background-color: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: var(--dark-black);
}

.btn-warning:hover {
  background-color: var(--secondary-yellow);
  border-color: var(--secondary-yellow);
}

.btn-dark {
  background-color: var(--dark-black);
  border-color: var(--dark-black);
  color: var(--primary-yellow);
}

.btn-dark:hover {
  background-color: var(--medium-black);
  border-color: var(--medium-black);
  color: var(--secondary-yellow);
}

/* About Section */
#about {
  background-color: var(--white);
}

#about .container {
  background-color: var(--white);
  padding: 60px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

#about h3 {
  color: var(--dark-black);
}

#about p {
  color: var(--dark-gray);
}

/* Services Section */
#services {
  background-color: var(--background-gray);
}

.service-item {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  padding: 30px;
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
  border-color: var(--primary-yellow);
}

.service-item .icon {
  color: var(--primary-yellow);
  background: linear-gradient(135deg, var(--dark-black) 0%, var(--medium-black) 100%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-item h4 {
  color: var(--dark-black);
}

.service-item p {
  color: var(--dark-gray);
}

/* Portfolio/Gallery Section */
#portfolio {
  background-color: var(--white);
}

.portfolio-overlay {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(64, 64, 64, 0.9) 100%);
}

.portfolio-overlay .portfolio-info h4 {
  color: var(--primary-yellow);
}

.portfolio-overlay .portfolio-info p {
  color: var(--light-gray);
}

/* Contact Section */
#contact {
  background: linear-gradient(135deg, var(--dark-black) 0%, var(--medium-black) 100%);
  color: var(--white);
}

#contact .section-header h3 {
  color: var(--primary-yellow);
  border-bottom-color: var(--primary-yellow);
}

#contact .section-header p {
  color: var(--light-gray);
}

.contact-info {
  background-color: var(--white);
  border: 1px solid var(--primary-yellow);
  border-radius: 10px;
  padding: 30px;
}

.contact-info h3 {
  color: var(--dark-black);
}

.contact-info p {
  color: var(--dark-gray);
}

.contact-info .contact-item {
  border-bottom: 1px solid var(--light-gray);
  padding: 15px 0;
}

.contact-info .contact-item:last-child {
  border-bottom: none;
}

.contact-info .contact-item i {
  color: var(--primary-yellow);
  background-color: var(--dark-black);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

/* Forms */
.form-control {
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  color: var(--dark-black);
}

.form-control:focus {
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

/* Footer */
#footer {
  background: linear-gradient(135deg, var(--dark-black) 0%, var(--medium-black) 100%);
  color: var(--light-gray);
}

#footer h4 {
  color: var(--primary-yellow);
}

#footer a {
  color: var(--light-gray);
  transition: color 0.3s ease;
}

#footer a:hover {
  color: var(--primary-yellow);
  text-decoration: none;
}

#footer .credits {
  color: var(--medium-gray);
}

#footer .credits a {
  color: var(--primary-yellow);
}

/* WhatsApp Float Button */
.wa-float {
  background-color: var(--primary-yellow) !important;
  color: var(--dark-black) !important;
}

.wa-float:hover {
  background-color: var(--secondary-yellow) !important;
  color: var(--dark-black) !important;
}

.wa-float i {
  color: var(--dark-black) !important;
}

/* Pagination */
.pagination .page-item.active .page-link {
  background-color: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: var(--dark-black);
}

.pagination .page-link {
  color: var(--dark-black);
  border-color: var(--light-gray);
}

.pagination .page-link:hover {
  background-color: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: var(--dark-black);
}

/* Breadcrumb */
.breadcrumb {
  background-color: var(--background-gray);
  border-radius: 8px;
}

.breadcrumb-item a {
  color: var(--dark-black);
}

.breadcrumb-item.active {
  color: var(--primary-yellow);
}

/* Tables */
.table {
  background-color: var(--white);
}

.table th {
  background-color: var(--primary-yellow);
  color: var(--dark-black);
  border-color: var(--medium-gray);
}

.table td {
  border-color: var(--light-gray);
  color: var(--dark-black);
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 215, 0, 0.05);
}

/* Alerts */
.alert-warning {
  background-color: var(--accent-yellow);
  border-color: var(--primary-yellow);
  color: var(--dark-black);
}

.alert-dark {
  background-color: var(--dark-black);
  border-color: var(--medium-black);
  color: var(--primary-yellow);
}

/* Modal */
.modal-header {
  background-color: var(--primary-yellow);
  color: var(--dark-black);
  border-bottom-color: var(--medium-gray);
}

.modal-body {
  background-color: var(--white);
  color: var(--dark-black);
}

.modal-footer {
  background-color: var(--background-gray);
  border-top-color: var(--medium-gray);
}

/* Slider Customization */
.slider-container {
  background: linear-gradient(rgba(26, 26, 26, 0.3), rgba(64, 64, 64, 0.3));
}

.slider-item h1,
.slider-item h2 {
  color: var(--primary-yellow) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.slider-item p {
  color: var(--white) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Navigation Arrows for Slider */
.slider-nav {
  background-color: rgba(255, 215, 0, 0.8);
  color: var(--dark-black);
  border: 2px solid var(--primary-yellow);
}

.slider-nav:hover {
  background-color: var(--primary-yellow);
  color: var(--dark-black);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .wa-float {
    padding: 10px 15px;
  }
  
  .wa-text {
    display: none;
  }
  
  .service-item {
    margin-bottom: 30px;
  }
  
  .portfolio-item {
    margin-bottom: 30px;
  }
}

/* Loading and Transitions */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-yellow);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-yellow);
}
