:root {
  --color-primary: #ff87b7;
  --color-background-dark: #292929;
  --color-background-light: #ebe9e4;
  --color-text-light: #ffffff;
  --color-text-dark: #2a3132;
  --color-text-muted: #5f6566;
  --color-accent: #ff5900;
  --color-accent-light: #cadcfc;
  --font-primary: 'DM Sans', sans-serif;
  --font-secondary: 'Libre Baskerville', serif;
  --font-tertiary: 'Manrope', sans-serif;
}

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

/* Navigation styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-primary);
  color: var(--color-text-light);
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-primary);
  color: var(--color-text-light);
  overflow-x: hidden;
}

.page-wrapper {
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
}

.section-container {
  padding: 80px 40px 40px 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

h1, h2, h3 {
  font-family: var(--font-secondary);
  font-weight: 400;
}

h1 {
  font-size: 80px;
  line-height: 1.2;
  letter-spacing: -2px;
}

h2 {
  font-size: 64px;
  line-height: 1.2;
  letter-spacing: -2px;
}

h3 {
    font-size: 36px;
    line-height: 1.3;
    letter-spacing: -0.72px;
}

p {
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-text-muted);
}

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
}

/* Hero section styling */
.hero-section {
  background-color: var(--color-primary);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 20px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-subtitle-img {
  width: 400px;
  max-width: 80%;
  height: auto;
}

.hero-tagline {
  font-size: 20px;
  color: var(--color-text-light);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero button styles with hover effects */
.hero-buttons .btn.btn-dark {
  background-color: #4a4a4a !important;
  color: var(--color-text-light) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.hero-buttons .btn.btn-dark:hover {
  background-color: #5a5a5a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

.hero-buttons .btn.btn-secondary {
  background-color: transparent !important;
  color: var(--color-text-light) !important;
  border: 2px solid var(--color-text-light) !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.hero-buttons .btn.btn-secondary:hover {
  background-color: var(--color-text-light) !important;
  color: var(--color-primary) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2) !important;
}

/* All elements visible by default */
.service-card {
  visibility: visible;
  opacity: 1;
}

h1, h2 {
  visibility: visible;
  opacity: 1;
}

.gallery-grid img,
.gallery-item img {
  visibility: visible;
  opacity: 1;
}

/* Page content */
body.page-content {
  opacity: 1;
}

.btn-dark {
  background-color: #4a4a4a;
  color: var(--color-text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
  background-color: #5a5a5a;
}

@media (max-width: 1024px) {
  .section-container {
    padding: 60px 20px;
  }
  h1 { font-size: 60px; }
  h2 { font-size: 48px; }
}

@media (max-width: 768px) {
  .section-container {
    padding: 40px 20px;
  }
  h1 { font-size: 48px; }
  h2 { font-size: 40px; }
  h3 { font-size: 30px; }
}

/* Terms & Conditions Page Styles */
.terms-section {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 5px 0 20px 0;
}

.terms-content {
  max-width: 800px;
  margin: 0 auto;
}

.terms-section-block {
  margin-bottom: 20px;
}

.terms-section-block h2 {
  color: var(--color-text-light);
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 600;
}

.terms-section-block p {
  color: var(--color-text-light);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 5px;
  opacity: 1;
}

.terms-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}

.terms-footer p {
  margin-bottom: 8px;
  color: var(--color-text-light);
}

/* Footer Credit Styles */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
}

.website-credit {
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 10px;
  opacity: 0.8;
}

.rossitech-link {
  color: var(--color-text-light);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.rossitech-link:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .terms-section {
    padding: 0 0 20px 0;
  }
  
  .terms-section-block h2 {
    font-size: 24px;
  }
  
  .terms-section-block p {
    font-size: 15px;
  }
}

/* Product Gallery Styles */
.product-gallery {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  border-radius: 30px;
  position: relative;
}

.product-gallery::-webkit-scrollbar {
  display: none; /* WebKit */
}

.gallery-image {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.gallery-navigation {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding: 0 20px;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.gallery-dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

.gallery-dot.active {
  background-color: var(--color-text-light);
  transform: scale(1.2);
}

.gallery-dot.active::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid var(--color-text-light);
  border-radius: 50%;
  opacity: 0.3;
}

/* Mobile responsive adjustments for gallery */
@media (max-width: 768px) {
  .gallery-navigation {
    gap: 10px;
    margin-top: 15px;
  }
  
  .gallery-dot {
    width: 10px;
    height: 10px;
  }
  
  .gallery-dot.active::after {
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
  }
}

/* Product Page Mobile Responsive Styles */
@media (max-width: 768px) {
  .product-page {
    padding-top: 80px;
  }
  
  .product-container {
    padding: 20px 15px;
    max-width: 100%;
  }
  
  .product-hero {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
  }
  
  .product-image-section {
    width: 100% !important;
    order: 1;
    flex: none;
  }
  
  .product-details {
    width: 100% !important;
    order: 2;
    gap: 20px;
    text-align: left;
    flex: none;
  }
  
  .product-category {
    font-size: 14px;
    margin-bottom: 8px;
    text-align: left;
  }
  
  .product-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
    text-align: left;
  }
  
  .product-pricing {
    margin-bottom: 16px;
    text-align: left;
  }
  
  .current-price {
    font-size: 28px;
  }
  
  .original-price {
    font-size: 18px;
  }
  
  .product-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: left;
  }
  
  .product-features {
    margin-bottom: 20px;
    text-align: left;
  }
  
  .product-features li {
    font-size: 15px;
    padding: 6px 0;
    padding-left: 20px;
    text-align: left;
  }
  
  .product-actions {
    margin-top: 20px;
    gap: 12px;
    text-align: left;
  }
  
  .buy-now-btn {
    padding: 14px 24px;
    font-size: 16px;
    width: 100%;
    text-align: center;
  }
  
  .secondary-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .secondary-btn {
    padding: 12px 20px;
    font-size: 15px;
    width: 100%;
    text-align: center;
  }
  
  .product-info-section {
    margin-top: 40px;
    padding-top: 30px;
  }
  
  .product-info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .info-section h3 {
    font-size: 20px;
    margin-bottom: 12px;
    text-align: left;
  }
  
  .info-section p,
  .info-section li {
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
  }
  
  .info-section ul {
    padding-left: 16px;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .product-container {
    padding: 15px 10px;
  }
  
  .product-hero {
    gap: 25px;
    margin-bottom: 30px;
  }
  
  .product-title {
    font-size: 28px;
    text-align: left;
  }
  
  .current-price {
    font-size: 24px;
  }
  
  .product-description {
    font-size: 15px;
    text-align: left;
  }
  
  .product-features li {
    font-size: 14px;
    text-align: left;
  }
  
  .buy-now-btn {
    padding: 12px 20px;
    font-size: 15px;
    text-align: center;
  }
  
  .secondary-btn {
    padding: 10px 18px;
    font-size: 14px;
    text-align: center;
  }
}