/*
========================================
Black & Gold Luxury Theme - Gunawangsa Tidar
========================================
*/

:root {
  --gold: #c5a473;
  --gold-light: #d4ba8e;
  --gold-dark: #9a7e53;
  --black: #121212;
  --black-light: #222222;
  --black-lightest: #333333;
  --white: #ffffff;
  --white-dim: #e0e0e0;
  --gray: #888888;
  --orange:#1b0101;

  --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  --gold-shadow: 0 5px 15px rgba(197, 164, 115, 0.25);
  --transition: all 0.3s ease;
}

/* Base Styles */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--black);
  color: var(--white-dim);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background styles */
.bg-image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../storage/assets/gresik-bangunan.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: -2;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.8) 100%);
  z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Times New Roman', Times, serif;
  color: var(--gold);
  margin-bottom: 1rem;
  position: relative;
}

h1 {
  font-size: 2.5rem;
  text-shadow: var(--text-shadow);
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

p {
  margin-bottom: 1.2rem;
}

.text-gold {
  color: var(--gold);
}

.lead {
  font-size: 1.1rem;
  font-weight: 300;
}

/* Layout */
.main-content-container {
  position: relative;
  padding: 4rem 1rem;
  min-height: 80vh;
}

@media (max-width: 768px) {
  .main-content-container {
    padding: 2rem 1rem;
  }
}

.section {
  margin-bottom: 4rem;
  position: relative;
}

/* Cards */
.luxury-card {
  background-color: var(--orange);
  border: 1px solid var(--black-lightest);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.luxury-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, transparent 50%, var(--gold) 50%);
  border-radius: 0 0 8px 0;
}

.luxury-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--gold-shadow);
  border-color: var(--gold-dark);
}

/* Buttons */
.btn-luxury {
  background-color: var(--black-light);
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-luxury:hover, .btn-luxury:focus {
  background-color: var(--gold);
  color: var(--black);
  box-shadow: var(--gold-shadow);
}

.btn-luxury.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
}

/* Form elements */
.form-control {
  background-color: var(--black-light);
  border: 1px solid var(--black-lightest);
  color: var(--white-dim);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.25rem rgba(197, 164, 115, 0.25);
  background-color: var(--black);
}

.form-label {
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Navbar */
.luxury-navbar {
  background-color: rgba(18, 18, 18, 0.9);
  border-bottom: 1px solid var(--gold);
  padding: 1rem 0;
  transition: var(--transition);
}

.luxury-navbar .navbar-brand img {
  height: 50px;
  transition: var(--transition);
}

.luxury-navbar .nav-link {
  color: var(--white-dim);
  margin: 0 0.5rem;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.luxury-navbar .nav-link:hover, 
.luxury-navbar .nav-link:focus, 
.luxury-navbar .nav-link.active {
  color: var(--gold);
}

.luxury-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
}

.luxury-navbar .nav-link:hover::after,
.luxury-navbar .nav-link:focus::after,
.luxury-navbar .nav-link.active::after {
  width: 100%;
}

.navbar-toggler {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(197, 164, 115, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .luxury-navbar .navbar-collapse {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--gold-dark);
    margin-top: 0.5rem;
  }
  
  .luxury-navbar .nav-link {
    padding: 0.5rem;
  }
}

/* Footer */
.luxury-footer {
  background-color: rgba(18, 18, 18, 0.9);
  border-top: 1px solid var(--gold);
  padding: 3rem 0 1.5rem;
  position: relative;
}

.footer-heading {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--gold);
}

.footer-link {
  color: var(--white-dim);
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--gold);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--black-light);
  color: var(--gold);
  border: 1px solid var(--gold);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--gold);
  color: var(--black);
  transform: translateY(-3px);
}

.copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--black-lightest);
  text-align: center;
  color: var(--gray);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: var(--black-light);
  color: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--gold);
  text-align: center;
  font-size: 30px;
  box-shadow: var(--box-shadow);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: var(--gold);
  color: var(--black);
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--gold-shadow);
}

@media (max-width: 767.98px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 20px;
    bottom: 20px;
    font-size: 25px;
  }
}

/* Utilities */
.gold-accent {
  position: relative;
}

.gold-accent::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -40px;
  width: 30px;
  height: 2px;
  background-color: var(--gold);
}

.gold-border {
  border: 1px solid var(--gold);
}

.gold-border-bottom {
  border-bottom: 2px solid var(--gold);
}

/* Animation for items entering viewport */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--black-light);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
