/* ===== SHOPIFY STYLE MODERN THEME ===== */
:root {
  --primary: #0056b3;
  --secondary: #6c757d;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
  --light: #f8f9fa;
  --dark: #343a40;
  --white: #ffffff;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 20px 40pxu rgba(0, 0, 0, 0.15);
}

/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== MODERN HEADER ===== */
header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.8s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.brand {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), #0056b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LOGO STYLING ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 45px;
  width: auto;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05) rotate(2deg);
}

/* ===== NAVIGATION ===== */
nav {
  display: flex;
  gap: 25px;
}

nav a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  color: var(--primary);
  background: rgba(0, 86, 179, 0.1);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 80%;
}

/* ===== MAIN CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.container h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--dark);
  position: relative;
}

.container h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), #0056b3);
  border-radius: 2px;
}

/* ===== CATEGORIES GRID ===== */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.cat-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.cat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), #0056b3);
}

.cat-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cat-card:hover img {
  transform: scale(1.05);
}

.cat-card .inner {
  padding: 20px;
}

.cat-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.cat-card p {
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.service-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.service-card p {
  color: var(--secondary);
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 15px 0;
}

/* ===== BUTTON STYLES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-success {
  background: var(--success);
  color: var(--white);
}

.btn-success:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.btn-payment {
  background: var(--primary);
  color: var(--white);
  margin-top: 10px;
}

.btn-payment:hover {
  background: #004494;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.whatsapp {
  background: #25D366;
  color: var(--white);
}

.whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-container {
  max-width: 800px;
  margin: 60px auto;
  background: var(--white);
  border-radius: 20px;
  padding: 50px;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.contact-container h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark);
  background: linear-gradient(135deg, var(--primary), #0056b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.contact-info li {
  margin: 20px 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-info i {
  color: var(--primary);
  font-size: 1.3rem;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #004494;
}

.social-icons {
  margin-top: 30px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--light);
  border-radius: 50%;
  margin: 0 10px;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.3rem;
}

.social-icons a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ===== FOOTER STYLES ===== */
footer {
  background: var(--dark);
  color: var(--light);
  padding: 50px 20px 30px;
  margin-top: 80px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 25px;
}

.footer-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.copyright {
  color: var(--secondary);
  font-size: 0.95rem;
  margin-top: 20px;
}

.copyright strong {
  color: var(--light);
}

/* ===== POPUP STYLES ===== */
.popup {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.popup-content {
  background: var(--white);
  margin: 10% auto;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  box-shadow: var(--hover-shadow);
  position: relative;
  animation: popupIn 0.3s ease;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: var(--secondary);
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--danger);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  header {
    padding: 12px 20px;
    flex-direction: column;
    gap: 15px;
  }
  
  nav {
    gap: 15px;
  }
  
  .container h2 {
    font-size: 2rem;
  }
  
  .categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    margin: 30px 20px;
    padding: 30px;
  }
  
  .footer-links {
    gap: 15px;
  }
  
  .footer-links a {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 24px;
  }
  
  nav a {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  .container h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* ===== IMAGE SLIDER STYLES ===== */
.service-slider {
    position: relative;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

.slider-nav:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-slide {
    left: 15px;
}

.next-slide {
    right: 15px;
}

/* Slider Dots Indicator */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Slider Counter */
.slider-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 5;
}

/* Back Button */
.back-btn-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.back-btn:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
    transform: translateX(-5px);
}

/* Service Features */
.service-features {
    margin: 15px 0;
}

.feature {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #555;
}

.feature:last-child {
    border-bottom: none;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

/* Payment Methods in Popup */
.payment-methods {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.payment-methods p {
    margin: 8px 0;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.payment-methods p:last-child {
    border-bottom: none;
}