/* ============================= */
/* F.O.C.O Skate - Estático CSS   */
/* ============================= */

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

:root {
  --primary: #000;
  --secondary: #fff;
  --accent: #1c853d;
  --gray-light: #f5f5f5;
  --gray-dark: #333;
  --border: #ddd;
  --spacing: 1rem;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-dark);
  background-color: var(--secondary);
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--accent);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* ===== HEADER ===== */
header {
  background: var(--primary);
  color: var(--secondary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.logo img {
  height: 40px;
  margin-right: 0.5rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--secondary);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent);
}

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

/* ===== MAIN CONTENT ===== */
main {
  min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a1a1a 100%);
  color: var(--secondary);
  padding: 6rem var(--spacing) 4rem;
  text-align: center;
}

.hero h1 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: var(--secondary);
  border: 2px solid var(--accent);
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background: transparent;
  color: var(--accent);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

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

/* ===== PRODUCTS ===== */
.products {
  padding: 4rem var(--spacing);
  background: var(--gray-light);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

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

.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--secondary);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-image {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #fff;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.product-info {
  padding: 1.5rem;
}

.product-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ===== ABOUT ===== */
.about {
  padding: 4rem var(--spacing);
}

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

.about-section {
  margin: 3rem 0;
}

.about-section h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.tagline {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin: 2rem 0;
}

/* ===== CONTACT ===== */
.contact {
  padding: 4rem var(--spacing);
  background: var(--gray-light);
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

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

.contact-item h4 {
  margin-top: 0;
}

.contact-item a {
  color: var(--accent);
  font-weight: 600;
}

/* ===== PRODUCT DETAIL ===== */
.product-detail {
  padding: 3rem var(--spacing);
}

.product-detail-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-main-image {
  width: 100%;
  max-width: 500px;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: var(--gray-light);
}

.product-thumbnails {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--accent);
}

.product-details h1 {
  margin-bottom: 1rem;
}

.product-specs {
  background: var(--gray-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.specs-list {
  list-style: none;
}

.specs-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.specs-list li:last-child {
  border-bottom: none;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 3rem var(--spacing) 1rem;
}

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

.footer-section h4 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

.footer-section a {
  color: #ccc;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #999;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  :root {
    --spacing: 1rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  header nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
  }

  header nav ul.active {
    display: flex;
  }

  header nav a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    padding: 3rem var(--spacing) 2rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-main-image {
    max-width: 100%;
    height: 400px;
  }

  footer .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }

  header nav ul {
    gap: 0;
  }

  .hero {
    padding: 2rem var(--spacing);
  }

  .section-title {
    margin-bottom: 2rem;
  }

  .products-grid {
    gap: 1rem;
  }

  button,
  input,
  textarea {
    font-size: 16px;
  }
}
