/* Wireframe Style for ResinRips - Based on Layered Defense Systems */

/* Minimal reset for initial scaffolding. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

body {
  min-height: 100vh;
  background-color: #ffffff;
  color: #000000;
  font-family: 'system-ui', sans-serif;
  line-height: 1.5;
}

/* CSS Variables for Theming */
:root {
  --primary-color: #ffffff;
  --secondary-color: #000000;
  --accent-color: #000000;
  --light-color: #f8f9fa;
  --dark-color: #000000;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --white: #ffffff;
  
  --font-heading: 'Space Grotesk', 'system-ui', 'sans-serif';
  --font-body: 'system-ui', sans-serif;
  --font-mono: 'Roboto Mono', 'ui-monospace', 'SFMono-Regular', monospace;
  
  --transition-speed: 0.3s;
  --border-radius: 0;
  --box-shadow: none;
  --box-shadow-hover: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Header Styles */
.main-header {
  background-color: var(--primary-color);
  border-bottom: 1px solid var(--secondary-color);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-speed);
}

.main-header.scrolled {
  border-bottom: 1px solid var(--secondary-color);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo a {
  text-decoration: none;
  color: var(--dark-color);
  display: flex;
  flex-direction: column;
}

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-weight: 700;
}

.logo p {
  font-size: 0.8rem;
  color: var(--gray-color);
  margin: 0;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: 30px;
}

.main-nav ul li a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  transition: color var(--transition-speed);
  position: relative;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--secondary-color);
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width var(--transition-speed);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-color);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  border-bottom: 1px solid var(--secondary-color);
  z-index: 999;
}

.mobile-nav ul {
  list-style: none;
  padding: 20px;
}

.mobile-nav ul li {
  margin-bottom: 15px;
}

.mobile-nav ul li a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  font-size: 1.1rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--dark-color);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--secondary-color);
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--dark-color);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.hero-buttons .btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Services Overview */
.services-overview {
  padding: 100px 0;
  background-color: var(--primary-color);
  border-bottom: 1px solid var(--secondary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--primary-color);
  border: 1px solid var(--secondary-color);
  padding: 30px;
  text-align: center;
  transition: all var(--transition-speed);
}

.service-card:hover {
  border: 1px solid var(--secondary-color);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border: 1px solid var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary-color);
  font-size: 2rem;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--dark-color);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Featured Products */
.featured-products {
  padding: 100px 0;
  background-color: var(--primary-color);
  border-bottom: 1px solid var(--secondary-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--primary-color);
  border: 1px solid var(--secondary-color);
  overflow: hidden;
  transition: all var(--transition-speed);
}

.product-card:hover {
  border: 1px solid var(--secondary-color);
}

.product-image {
  height: 250px;
  overflow: hidden;
  border-bottom: 1px solid var(--secondary-color);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-card h3 {
  padding: 20px;
  margin-bottom: 10px;
  color: var(--dark-color);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card p {
  padding: 0 20px 20px;
  color: var(--gray-color);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.view-all-products {
  text-align: center;
  margin-top: 40px;
}

/* Why Choose Us */
.why-choose-us {
  padding: 100px 0;
  background-color: var(--primary-color);
  border-bottom: 1px solid var(--secondary-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  background-color: var(--primary-color);
  border: 1px solid var(--secondary-color);
  padding: 30px;
  text-align: center;
  transition: all var(--transition-speed);
}

.benefit-item:hover {
  border: 1px solid var(--secondary-color);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border: 1px solid var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.benefit-item h3 {
  margin-bottom: 15px;
  color: var(--dark-color);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Call to Action */
.cta-section {
  padding: 100px 0;
  background-color: var(--primary-color);
  color: var(--dark-color);
  text-align: center;
  border-bottom: 1px solid var(--secondary-color);
}

.cta-section h2 {
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cta-section p {
  color: var(--dark-color);
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-section .btn {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.cta-section .btn:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Footer */
.main-footer {
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 80px 0 20px;
  border-top: 1px solid var(--secondary-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: var(--dark-color);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section p {
  color: var(--dark-color);
  margin-bottom: 20px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--dark-color);
  text-decoration: none;
  transition: color var(--transition-speed);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section ul li a:hover {
  color: var(--secondary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  transition: all var(--transition-speed);
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--secondary-color);
  border-radius: 0;
  background-color: var(--primary-color);
  color: var(--dark-color);
  font-family: var(--font-mono);
}

.newsletter-form button {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 0;
  padding: 12px 20px;
  cursor: pointer;
  transition: all var(--transition-speed);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.newsletter-form button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid var(--secondary-color);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 10px;
  color: var(--dark-color);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: var(--dark-color);
  text-decoration: none;
  transition: color var(--transition-speed);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .main-header .container {
    padding: 15px;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-nav {
    display: none;
  }
  
  .mobile-nav.active {
    display: block;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    height: 80vh;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .services-overview,
  .featured-products,
  .why-choose-us,
  .cta-section {
    padding: 60px 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    padding-top: 30px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .service-card,
  .product-card,
  .benefit-item {
    padding: 20px;
  }
}