:root {
  --primary-color: #1a3c5e;
  --secondary-color: #f4f6f8;
  --accent-color: #d68910;
  --text-color: #333;
  --light-text: #fff;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f0f2f5;
}

html, body {
  height: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style-position: inside;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.main-header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--accent-color);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-text {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-text .highlight {
  color: var(--accent-color);
}

.tagline {
  font-size: 0.8rem;
  color: #666;
  margin-top: -5px;
}

.contact-btn {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.contact-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c527a 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
  margin-bottom: 40px;
}

.hero-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-section p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  padding-bottom: 60px;
}

.product-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  border-color: var(--accent-color);
}

.card-image {
  height: 220px;
  overflow: hidden;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.card-content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.detail-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-top: auto;
}

.detail-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Footer */
.main-footer {
  background-color: #222;
  color: #ccc;
  padding: 40px 0;
  text-align: center;
  margin-top: auto;
}

.main-footer a {
  color: white;
  text-decoration: underline;
}

/* WhatsApp Fixed */
.whatsapp-fixed {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-fixed:hover {
  transform: scale(1.1) rotate(10deg);
}

.whatsapp-fixed img {
  width: 35px;
  height: 35px;
}

/* Product Detail Page Styles */
.product-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.product-page .main-content {
  padding-top: 30px;
  padding-bottom: 60px;
  flex: 1;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #666;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.product-gallery .main-image {
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 15px;
}

.thumb-list {
  display: flex;
  gap: 10px;
}

.thumb-list img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.thumb-list img:hover {
  border-color: var(--accent-color);
}

.product-info h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.product-short-desc {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 25px;
  font-style: italic;
}

.description-block {
  margin-bottom: 30px;
}

.description-block h3 {
  font-size: 1.1rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.features-list {
  margin-left: 20px;
}

.features-list li {
  margin-bottom: 8px;
}

.call-to-action {
  background: #f8f9fa;
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.btn-primary {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 10px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: #b57008;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  z-index: 999;
}

/* Responsive */
@media (max-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
  
  .header-flex {
    flex-direction: column;
    height: auto;
    padding: 15px 0;
    gap: 15px;
  }

  .hero-section h2 {
    font-size: 1.8rem;
  }
}
