:root {
  --primary: #1a1a1a;
  --secondary: #d4af37;
  --light: #f8f9fa;
  --dark: #121212;
  --darker: #0a0a0a;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.1);
  --text-light: #e0e0e0;
  --text-dark: #333333;
}

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  color: var(--text-light);
  overflow-x: hidden;
  background-color: var(--dark);
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--secondary);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid var(--secondary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

/* Header & Navigation */
header {
  background-color: var(--darker);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 10, 0.8);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
  height: 40px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
  padding: 5px 0;
  font-size: 14px;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--secondary);
}

nav a.active {
  color: var(--secondary);
}

nav a.active::after {
  width: 100%;
}

/* Project links styling */
.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Hero Section */
.hero-slideshow {
  position: relative;
  height: 100vh;
  margin-top: 70px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  padding: 0 20px;
  z-index: 2;
}

.hero-overlay h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.design-build-furnish {
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.design-build-furnish span {
  padding: 8px 12px;
  margin: 0 4px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.design-word {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, transparent 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.build-word {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, transparent 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.furnish-word {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.separator {
  color: var(--secondary);
  font-weight: bold;
  padding: 0 8px !important;
  background: transparent !important;
  border: none !important;
}

.hero-line {
  display: inline-block;
}

.hero-separator {
  display: inline-block;
  margin: 0 10px;
}

.hero-overlay p {
  font-size: 1.5rem;
  color: var(--white);
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Particle Background */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Glass Morphism Button */
.glass-btn {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-size: 14px;
}

.glass-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.glass-btn:hover::before {
  left: 100%;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
}

.bg-dark {
  background-color: var(--dark);
}

.bg-darker {
  background-color: var(--darker);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--text-light);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--secondary);
  bottom: -10px;
  left: 25%;
}

/* Cards */
.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  background: var(--darker);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  color: var(--text-light);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17,36,18,0.1) 0%, rgba(212,175,55,0.1) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.card-img-top {
  transition: transform 0.5s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 25px;
  position: relative;
  z-index: 2;
}

.card-title {
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Buttons */
.btn-primary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  color: var(--dark);
  font-size: 14px;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

/* Footer */
footer {
  background-color: var(--darker);
  color: var(--text-light);
  padding: 60px 0 20px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

footer h3 {
  color: var(--secondary);
  margin-bottom: 20px;
  font-size: 1.3rem;
  position: relative;
  display: inline-block;
}

footer h3::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  background-color: var(--secondary);
  bottom: -8px;
  left: 0;
}

footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

footer a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

footer a:hover {
  color: var(--secondary);
}

footer a:hover::after {
  width: 100%;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin-right: 15px;
  transition: all 0.3s ease;
  color: var(--text-light);
}

.social-icons a:hover {
  background: var(--secondary);
  color: var(--dark);
  transform: translateY(-5px);
}

/* Floating Elements */
.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Project Hover Effect */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

/* FIXED: Image display - show original aspect ratio */
.project-img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  transition: transform 0.5s ease;
  background-color: var(--darker);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--text-light);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

/* Product Cards */
.product-card {
  position: relative;
  overflow: hidden;
}

/* FIXED: Product image display - show original aspect ratio */
.product-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background-color: var(--darker);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--text-light);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.price {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 10px 0;
}

.rating {
  color: var(--secondary);
  margin-top: 10px;
}

.rating span {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-left: 5px;
}

/* Cart Preview */
.cart-preview {
  padding: 20px;
  border-radius: 15px;
  margin-top: 50px;
}

.cart-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.total-amount {
  color: var(--secondary);
  font-size: 1.2rem;
}

.checkout-btn {
  margin-top: 20px;
}

/* Luxury Text Effect */
.luxury-text {
  background: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background: var(--text-light);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 3px;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background: var(--darker);
  z-index: 999;
  padding: 20px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a:hover {
  color: var(--secondary);
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
  .hero-overlay h1 {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .hero-overlay h1 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }

  nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  header {
    padding: 12px 15px;
  }
  
  .logo {
    height: 35px;
  }
  
  .hero-slideshow {
    margin-top: 60px;
    height: 80vh;
  }
  
  .hero-overlay h1 {
    font-size: 1.8rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .design-build-furnish {
    font-size: 1.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .design-build-furnish span {
    padding: 6px 10px;
    margin: 0 2px;
    border-radius: 6px;
  }
  
  .hero-separator {
    display: inline;
  }
  
  .hero-overlay p {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .card-body {
    padding: 20px;
  }
  
  footer {
    padding: 40px 0 15px;
  }
  
  .glass-btn {
    padding: 10px 25px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .hero-overlay h1 {
    font-size: 1.5rem;
  }
  
  .design-build-furnish {
    font-size: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .design-build-furnish span {
    padding: 5px 8px;
    margin: 0 1px;
    border-radius: 4px;
    font-size: 0.9em;
  }
  
  .separator {
    padding: 0 4px !important;
  }
  
  .hero-overlay p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .project-img, .product-img {
    height: 200px;
  }
}

/* Additional styles for shop and portfolio */

/* Cart icon */
.cart-icon {
  font-size: 1.2rem;
  color: var(--text-light);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.cart-icon:hover {
  color: var(--secondary);
}

/* Notification */
.notification {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 9999;
  min-width: 300px;
}

/* Cart modal styles */
.modal-content {
  border: 1px solid var(--secondary);
}

.modal-header, .modal-footer {
  border-color: rgba(212, 175, 55, 0.2) !important;
}

/* Table styles */
.table-dark {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text-light);
}

/* Gallery modal */
.carousel-item img {
  max-height: 70vh;
  object-fit: contain;
  background-color: var(--dark);
}

.project-details {
  padding: 0 15px;
}

/* Lightbox customization */
.lb-outerContainer {
  border-radius: 10px;
}

.lb-data .lb-caption {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .cart-icon {
    position: static;
    background: transparent;
    color: var(--text-light);
    width: auto;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    margin-left: 15px;
  }
  
  .cart-icon .cart-count {
    top: -8px;
    right: -8px;
  }
  
  .notification {
    top: 70px;
    right: 10px;
    left: 10px;
    min-width: auto;
  }
}

/* Additional styles for variable image projects */

/* Carousel adjustments */
.carousel-item img {
  max-height: 70vh;
  object-fit: contain;
  background-color: var(--dark);
}

/* Hide navigation arrows when there's only one image */
.carousel-inner:has(.carousel-item:only-child) .carousel-control-prev,
.carousel-inner:has(.carousel-item:only-child) .carousel-control-next {
  display: none;
}

/* Hide indicators when there's only one image */
.carousel-inner:has(.carousel-item:only-child) .carousel-indicators {
  display: none;
}

/* Project card adjustments */
.project-overlay .btn {
  margin-top: 10px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .carousel-item img {
    max-height: 50vh;
  }
  
  .project-overlay .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

/* Filter button styles */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--secondary);
  color: var(--dark);
}

/* Service cards without buttons */
.service-card .card-body {
  padding-bottom: 30px;
}

.service-card .btn {
  display: none;
}