/*
Theme Name: Tamborão
Theme URI: https://tamborao.com.br
Author: Tamborão Materiais para Construção
Description: Tema personalizado para Tamborão - Material para Construção em Inhumas e Região.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: tamborao
*/

/* ===== RESET & BASE ===== */
:root {
  --navy: #1B2A4A;
  --navy-dark: #111D35;
  --gold: #D4A843;
  --gold-dark: #B8922F;
  --bg: #F5F0EB;
  --card: #FFFFFF;
  --foreground: #1B2A4A;
  --muted: #6B7280;
  --border: #E5E1DB;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--foreground);
  background-color: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 5rem 1rem;
}

.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.bg-navy { background-color: var(--navy); }
.bg-secondary { background-color: #F0EBE3; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(27, 42, 74, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.navbar-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
}

.navbar-links a:hover {
  color: var(--gold);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17,29,53,0.85), rgba(27,42,74,0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem;
}

.hero-tag {
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--foreground);
}

.btn-gold:hover {
  background: var(--gold-dark);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
}

/* ===== MATERIALS GRID ===== */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.material-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.material-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.material-card .emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.material-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.material-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.material-card a {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.875rem;
}

.material-card a:hover {
  color: var(--gold-dark);
}

/* ===== RENTALS GRID ===== */
.rentals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .rentals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .rentals-grid {
    grid-template-columns: 1fr;
  }
}

.rental-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.rental-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.rental-card .media {
  aspect-ratio: 16/9;
  background: #E5E1DB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.rental-card .info {
  padding: 1.5rem;
}

.rental-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.rental-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--navy);
  text-align: center;
  padding: 5rem 1rem;
  color: #fff;
}

.cta-section h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== MAP SECTION ===== */
.map-section {
  background: var(--navy);
  padding: 5rem 1rem;
  color: #fff;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .map-grid {
    grid-template-columns: 1fr;
  }
}

.map-grid iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 0.5rem;
  border: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--foreground);
  padding: 2.5rem 1rem;
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.footer-socials a {
  color: rgba(255,255,255,0.6);
}

.footer-socials a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  background: #25D366;
  color: #fff;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.2s;
}

.whatsapp-float:hover {
  background: #1DA851;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
}
