/* Bunster Containers - Main Stylesheet */
/* Core Web Vitals optimized - no layout shift */

:root {
  --color-primary: #1a1a1a;
  --color-secondary: #303030;
  --color-accent: #e8a020;
  --color-accent-hover: #d4901a;
  --color-text: #ffffff;
  --color-text-muted: #cccccc;
  --color-dark: #222222;
  --color-darker: #181818;
  --color-border: #444444;
  --color-success: #28a745;
  --font-primary: 'Raleway', Arial, Helvetica, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --max-width: 1280px;
  --header-height: 100px;
  --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-primary);
  background-color: var(--color-darker);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
ul { list-style: none; }

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

/* Skip Link */
.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--color-accent); color: #000; padding: 8px 16px;
  z-index: 10000; font-size: 14px;
}
.skip-link:focus { top: 0; }

/* ====== HEADER ====== */
.site-header {
  background-color: var(--color-secondary);
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid var(--color-border);
  min-height: var(--header-height);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
  min-height: var(--header-height);
}
.site-logo img {
  width: 200px; height: auto;
  display: block;
}

/* Navigation */
.main-nav { display: flex; align-items: center; }
.nav-list {
  display: flex; align-items: center; gap: 0;
}
.nav-list li { position: relative; }
.nav-list li a {
  display: block; padding: 12px 18px;
  color: var(--color-text); font-size: 15px;
  font-weight: 500; text-transform: none;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-list li a:hover,
.nav-list li.current-menu-item > a {
  color: var(--color-accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 10px; color: var(--color-text); font-size: 24px;
}
.menu-toggle span {
  display: block; width: 25px; height: 3px;
  background: var(--color-text); margin: 4px 0;
  transition: var(--transition);
}

/* ====== HERO ====== */
.hero-section {
  position: relative;
  min-height: 500px;
  background: var(--color-primary) url('../images/hero-container.jpg') center center / cover no-repeat;
  display: flex; align-items: center;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto;
  padding: 80px 20px; text-align: center;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; margin-bottom: 20px;
  line-height: 1.2;
}
.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 700px; margin: 0 auto 30px;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-block; padding: 14px 36px;
  font-size: 15px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  border: none; border-radius: 3px;
  cursor: pointer; transition: all var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--color-accent);
  color: #000;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232,160,32,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: #000;
}

/* ====== SECTIONS ====== */
.section { padding: 80px 0; }
.section-dark { background: var(--color-darker); }
.section-gray { background: var(--color-secondary); }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center; margin-bottom: 50px;
  font-weight: 700;
}
.section-title::after {
  content: ''; display: block;
  width: 60px; height: 3px;
  background: var(--color-accent);
  margin: 15px auto 0;
}
.section-subtitle {
  text-align: center; color: var(--color-text-muted);
  max-width: 700px; margin: -30px auto 50px;
  font-size: 1.05rem;
}

/* ====== SERVICES / CONTAINERS GRID ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--color-secondary);
  border-radius: 6px; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--color-border);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.service-card-img {
  width: 100%; height: 220px;
  object-fit: cover;
}
.service-card-body { padding: 25px; }
.service-card-body h3 {
  font-size: 1.2rem; margin-bottom: 10px;
  color: var(--color-accent);
}
.service-card-body p {
  color: var(--color-text-muted); font-size: 0.95rem;
  line-height: 1.7;
}

/* ====== ABOUT ====== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px; align-items: center;
}
.about-img {
  width: 100%; border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem; margin-bottom: 20px;
}
.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 15px; line-height: 1.8;
}

/* ====== REVIEWS ====== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.review-card {
  background: var(--color-secondary);
  border-radius: 6px; padding: 30px;
  border: 1px solid var(--color-border);
  position: relative;
}
.review-stars {
  color: var(--color-accent);
  font-size: 1.2rem; margin-bottom: 15px;
}
.review-text {
  color: var(--color-text-muted);
  font-style: italic; margin-bottom: 20px;
  line-height: 1.7;
}
.review-author {
  font-weight: 600; color: var(--color-text);
  font-size: 0.95rem;
}
.review-rating-label {
  font-size: 0.85rem; color: var(--color-accent);
}

/* ====== CTA SECTION ====== */
.cta-section {
  background: var(--color-primary);
  text-align: center; padding: 60px 20px;
  border-top: 3px solid var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
}
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem; margin-bottom: 15px;
}
.cta-section p {
  color: var(--color-text-muted);
  margin-bottom: 25px; font-size: 1.1rem;
}

/* ====== CONTACT INFO ====== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px; text-align: center;
}
.contact-item {
  padding: 30px 20px;
  background: var(--color-secondary);
  border-radius: 6px;
  border: 1px solid var(--color-border);
  transition: transform var(--transition);
}
.contact-item:hover { transform: translateY(-3px); }
.contact-icon {
  font-size: 2rem; color: var(--color-accent);
  margin-bottom: 15px;
}
.contact-item h4 {
  font-size: 1.1rem; margin-bottom: 8px;
}
.contact-item p, .contact-item a {
  color: var(--color-text-muted); font-size: 0.95rem;
}
.contact-item a:hover { color: var(--color-accent); }

/* ====== FOOTER ====== */
.site-footer {
  background: var(--color-darker);
  border-top: 1px solid var(--color-border);
  padding: 50px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px; margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--color-accent); font-size: 1rem;
  margin-bottom: 20px; text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col p, .footer-col li {
  color: var(--color-text-muted); font-size: 0.9rem;
  margin-bottom: 8px;
}
.footer-col a { color: var(--color-text-muted); }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  text-align: center; padding-top: 25px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted); font-size: 0.85rem;
}

/* ====== WHATSAPP FLOAT ====== */
.whatsapp-float {
  position: fixed; bottom: 25px; right: 25px;
  width: 60px; height: 60px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 9999; transition: transform var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.6);
}
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

/* ====== BREADCRUMB ====== */
.breadcrumb {
  padding: 15px 0; font-size: 0.85rem;
  color: var(--color-text-muted);
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span { margin: 0 8px; }

/* ====== PAGE HEADER ====== */
.page-header {
  background: var(--color-primary) url('../images/container-navio-santos.jpg') center center / cover no-repeat;
  position: relative; padding: 80px 0; text-align: center;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
}
.page-header h1 {
  position: relative; z-index: 2;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
}

/* ====== PRODUCT DETAIL ====== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.product-card {
  background: var(--color-secondary);
  border-radius: 6px; overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.product-card img {
  width: 100%; height: 250px; object-fit: cover;
}
.product-card-body { padding: 25px; }
.product-card-body h3 {
  font-size: 1.3rem; margin-bottom: 12px;
  color: var(--color-accent);
}
.product-card-body p {
  color: var(--color-text-muted); font-size: 0.95rem;
  line-height: 1.7; margin-bottom: 15px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .menu-toggle { display: block; }
  .nav-list {
    display: none; position: absolute;
    top: var(--header-height); left: 0; right: 0;
    background: var(--color-secondary);
    flex-direction: column; padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-list.active { display: flex; }
  .nav-list li a {
    padding: 12px 30px;
    border-bottom: 1px solid var(--color-border);
  }
  .hero-section { min-height: 400px; }
  .section { padding: 50px 0; }
  .services-grid, .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ====== ANIMATIONS (Core Web Vitals - use transform/opacity only) ====== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ====== RICH SNIPPETS / STARS DISPLAY ====== */
.aggregate-rating {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-secondary);
  padding: 8px 16px; border-radius: 4px;
  border: 1px solid var(--color-border);
  margin-bottom: 20px;
}
.aggregate-rating .stars { color: var(--color-accent); }
.aggregate-rating .rating-text {
  color: var(--color-text-muted); font-size: 0.9rem;
}
