/*
Theme Name: Míscaro Restaurant
Theme URI: https://miscaro.com
Author: Míscaro Restaurant
Author URI: https://miscaro.com
Description: Tema WordPress para o Restaurante Míscaro - Cozinha sazonal, produto local, experiência com tempo.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: miscaro
Tags: restaurant, food, gastronomy, seasonal, local
*/

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@300;400;500;600&family=Inter:wght@300;400;500&display=swap");

/* CSS Variables - Brand Colors */
:root {
  --moss-green: #5a6b54;
  --terracotta: #c17357;
  --deep-black: #1a1a1a;
  --warm-white: #faf9f7;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--deep-black);
  background-color: #ffffff;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Crimson Pro", serif;
  font-weight: 400;
  line-height: 1.2;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--warm-white);
}

::-webkit-scrollbar-thumb {
  background: var(--moss-green);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--terracotta);
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

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

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
}

.navbar.scrolled {
  background-color: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--terracotta);
  color: white;
}

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

/* Section Spacing */
.section {
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

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

/* Text Utilities */
.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
}

/* Spacing Utilities */
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}

/* Divider */
.divider {
  width: 6rem;
  height: 1px;
  background-color: var(--terracotta);
  margin: 0 auto;
}

.divider-left {
  margin-left: 0;
  margin-right: auto;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.6)
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  color: white;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--deep-black);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: white;
  border: 1px solid rgba(26, 26, 26, 0.2);
  font-family: "Inter", sans-serif;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--moss-green);
}

.form-textarea {
  resize: none;
}

/* Image Styles */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
}

@media (max-width: 767px) {
  .mobile-menu {
    display: block;
  }

  .desktop-menu {
    display: none;
  }
}
