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

:root {
  --primary: #ffcc00;
  --black: #000000;
  --white: #ffffff;
  --gray-light: #f9f9f9;
  --gray-dark: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
  animation: fadeIn 0.8s ease-in-out;
  /* Custom Cursor - Simple & Clear */
  cursor: auto;
}

/* Ensure links have the pointer cursor */
a,
button,
.btn,
.filter-btn,
i,
.cart-float {
  cursor: pointer;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Button & Link Animations */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--primary);
  color: var(--black);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary) !important;
  color: var(--black) !important;
  border: 2px solid var(--primary) !important;
  /* Ensure border doesn't override */
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--black);
}

.section-title span {
  color: var(--primary);
}

/* Layout */
header {
  background-color: var(--black);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 0.5rem 0;
}

.logo img {
  height: 60px !important;
  width: auto !important;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-contact-items {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  line-height: 1.2;
}

.auth-links {
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .nav-contact-items {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--black);
    padding: 2rem;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-right {
    display: none;
    /* Handled by auth-mobile in side menu if implemented */
  }

  .hamburger {
    display: block;
  }

  #auth-mobile {
    display: block !important;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    width: 100%;
    text-align: center;
  }

  #auth-mobile a {
    color: var(--white);
    font-weight: 600;
  }
}

#auth-mobile {
  display: none !important;
}

/* Hero Section */
.hero {
  height: 600px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: var(--black);
  color: var(--white);
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-grid h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.footer-grid ul li {
  margin-bottom: 0.5rem;
}

.footer-grid ul li a:hover {
  color: var(--primary);
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  /* display: flex removed. Flex is toggled via JS or class */
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 2rem;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover,
.close:focus {
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

/* Services Page Pricing Table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.pricing-table th,
.pricing-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: center;
}

.pricing-table th {
  background-color: var(--primary);
  color: var(--black);
}

.pricing-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Services Preview */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}



/* Responsive Navigation */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}

.hamburger i {
  font-size: 1.8rem;
  color: var(--primary);
}

@media (max-width: 900px) {
  .navbar {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--black);
    flex-direction: column;
    padding: 2rem;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
    order: 2;
  }

  .logo {
    order: 1;
  }

  .nav-right {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .shop-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-btn {
    width: 100%;
    text-align: center;
  }
}