/*
 * Folha de estilos para o site DrinkCo.
 * Inspirada no esquema visual da Coca‑Cola Brasil, mas com cores e elementos
 * próprios. Define a aparência de todas as seções, desde o cabeçalho até o rodapé.
 */

/* Variáveis de cor para fácil personalização */
:root {
  --primary-color: #e01732;   /* vermelho intenso para botões e acentos */
  --secondary-color: #f9f9f9; /* cinza claro para fundos alternados */
  --dark-color: #111111;      /* preto suave para o rodapé */
  --text-color: #1d1d1d;      /* cor principal do texto */
  --light-text: #ffffff;      /* branco para texto sobre fundos escuros */
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-color);
  line-height: 1.5;
}

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

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cabeçalho */
header {
  background: var(--light-text);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

nav a {
  color: var(--text-color);
  transition: color 0.2s ease;
}

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

/* Hero Section */
#hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  color: var(--light-text);
}

#hero .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

#hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

#hero p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--light-text);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #c8102e;
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: bold;
  transition: background 0.2s ease, color 0.2s ease;
}

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

/* Seções */
.section-light {
  background: var(--secondary-color);
  padding: 4rem 0;
}

.section-grey {
  background: #efefef;
  padding: 4rem 0;
}

/* Títulos de seção */
main h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.three-cols > .card {
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 250px;
}

.card {
  background: var(--light-text);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.card p {
  flex-grow: 1;
  margin-bottom: 1rem;
  color: #444;
}

.card .link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.card .link::after {
  content: '→';
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.card .link:hover::after {
  transform: translateX(4px);
}

/* Sustentabilidade e Loja */
.impacto-content,
.loja-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.impacto-content h2,
.loja-content h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: var(--primary-color);
}

.impacto-content p,
.loja-content p {
  margin-bottom: 1.5rem;
  color: #333;
}

/* Marcas */
.brand-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.brand-card {
  flex: 1 1 150px;
  max-width: 200px;
  height: 120px;
  background: var(--light-text);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Rodapé */
footer {
  background: var(--dark-color);
  color: var(--light-text);
  padding: 3rem 0 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--primary-color);
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--light-text);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.875rem;
}

.footer-bottom .social a {
  margin-right: 1rem;
  color: var(--light-text);
  transition: color 0.2s ease;
}

.footer-bottom .social a:hover {
  color: var(--primary-color);
}

/* Responsividade */
@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
  }
  #hero h1 {
    font-size: 2rem;
  }
  .cards.three-cols > .card {
    flex: 1 1 100%;
  }
  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
  }
}