/*
Theme Name: Maré Alta
Theme URI: https://ninjacoder.com.br/modelos/mare-alta
Author: NinjaCoder.com.br
Author URI: https://ninjacoder.com.br
Description: Tema WordPress premium de moda praia brasileira, leve e ensolarado.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: mare-alta
*/

/* CSS Variables */
:root {
  --primary: #F5ECD7;
  --highlight: #1B7A6E;
  --accent: #F7633C;
  --text: #2A2E2B;
  --white: #FFFFFF;
  --border: #E5DAC2;
  --font-title: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-max: 1200px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--primary);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Header & Nav */
.header {
  background-color: rgba(245, 236, 215, 0.95);
  border-bottom: 1px solid var(--border);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--highlight);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

.btn-beach {
  background-color: var(--highlight);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 800;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 30px;
}

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

/* Footer */
.footer {
  background-color: #ECE0C7;
  border-top: 1px solid var(--border);
  padding: 80px 0 40px 0;
  color: #555E57;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  color: var(--highlight);
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer-logo span {
  color: var(--accent);
}

.footer-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
  font-size: 14px;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
}

.developer-link {
  color: var(--highlight);
  font-weight: bold;
}

/* Hero Section */
.hero {
  height: 80vh;
  margin-top: 67px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 122, 110, 0.25);
}

.hero-box {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
}

.hero-logo-white {
  font-family: var(--font-title);
  font-size: 72px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-tagline {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  margin-top: 15px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Asymmetric Photo Grid for New Collection */
.new-coll-section {
  padding: 100px 0;
}

.new-coll-title {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 800;
  color: var(--highlight);
  text-align: center;
  margin-bottom: 50px;
}

.new-coll-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.new-coll-card {
  border: 1px solid var(--border);
  padding: 10px;
  background-color: var(--white);
}

.new-coll-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Destination collections cards */
.destinations-section {
  padding: 80px 0;
  background-color: var(--white);
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.dest-card {
  height: 250px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 25px;
}

.dest-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(27, 122, 110, 0.85) 100%);
}

.dest-card:hover::before {
  background: linear-gradient(180deg, transparent 20%, rgba(247, 99, 60, 0.85) 100%);
}

.dest-name {
  position: relative;
  z-index: 10;
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
}

/* Instagram Wall */
.insta-section {
  padding: 80px 0;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.insta-item {
  aspect-ratio: 1/1;
  object-fit: cover;
  width: 100%;
  border: 1px solid var(--border);
}

/* Loja category tabs & list */
.shop-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 100px;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 15px;
}

.shop-tab-btn {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 8px 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--highlight);
}

.shop-tab-btn.active, .shop-tab-btn:hover {
  color: var(--accent);
}

.beach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.beach-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.beach-img-box {
  position: relative;
  overflow: hidden;
  height: 320px;
}

.beach-img-front {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.beach-img-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: var(--transition);
}

.beach-card:hover .beach-img-back {
  opacity: 1;
}

.beach-info {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.beach-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
}

.beach-price {
  font-family: var(--font-title);
  font-size: 18px;
  color: var(--accent);
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 15px;
}

/* Product Detail */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 100px;
  margin-bottom: 80px;
}

.product-images-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.product-img-item {
  border: 1px solid var(--border);
  background-color: var(--white);
  padding: 8px;
}

.color-dot-row {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.color-dot {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--border);
}

.color-dot.active, .color-dot:hover {
  box-shadow: 0 0 0 2px var(--accent);
}

/* Lookbook page */
.lookbook-row {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 100px;
  margin-bottom: 80px;
}

.lookbook-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media(max-width: 992px) {
  .new-coll-grid, .dest-grid, .insta-grid, .beach-grid, .product-grid, .product-images-layout, .lookbook-item {
    grid-template-columns: 1fr;
  }
}
