/*
Theme Name: Aura Arquitetura
Theme URI: https://aura.com
Author: Antigravity Assistant
Author URI: https://aura.com
Description: Tema exclusivo em alto padrão, desenvolvido com Tailwind CSS e GSAP para a Aura Arquitetura & Interiores.
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: aura
Tags: custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* -----------------------------------------
   AURA CUSTOM ANIMATIONS & BASE STYLES
----------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1.2s ease forwards;
}

.gsap-reveal {
  visibility: hidden;
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.overlay-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #0B0B0B;
  color: #FFFFFF;
  cursor: none; /* Custom Cursor */
}

.logo-header {
  max-height: 40px;
}

/* -----------------------------------------
   CUSTOM CURSOR
----------------------------------------- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background-color: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              height 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              background-color 0.3s ease;
  mix-blend-mode: difference;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-cursor::after {
  content: attr(data-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #000;
  opacity: 1;
}

.custom-cursor.hovered {
  width: 60px;
  height: 60px;
  background-color: #fff;
}

.custom-cursor.hidden {
  opacity: 0;
}

/* -----------------------------------------
   PRELOADER
----------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #0B0B0B;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader-text {
  font-size: 10vw;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.05em;
}

.loader-line {
  width: 0%;
  height: 2px;
  background-color: #fff;
  margin-top: 2rem;
}

/* -----------------------------------------
   SWIPER ADJUSTMENTS
----------------------------------------- */
.swiper-slide {
  overflow: hidden;
}

.hero-title-massive {
  font-size: clamp(3rem, 8vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

/* -----------------------------------------
   REVEAL CLIP & NAVIGATION
----------------------------------------- */
.clip-reveal {
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
}

#full-screen-menu {
  clip-path: circle(0% at 100% 0%);
}

.menu-link-wrapper {
  overflow: hidden;
}

.menu-link {
  display: inline-block;
  transform: translateY(100%);
}

/* -----------------------------------------
   CUSTOM SCROLLBAR
----------------------------------------- */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #0B0B0B;
}

::-webkit-scrollbar-thumb {
  background: #333;
}

/* -----------------------------------------
   GUTENBERG BLOCKS STYLING (Premium Look)
----------------------------------------- */
.prose blockquote, .wp-block-quote {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: #fff;
  border-left: 1px solid #8C8C8C;
  padding: 2.5rem 3rem;
  margin: 3rem 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  position: relative;
}

.prose blockquote::before, .wp-block-quote::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 6rem;
  color: rgba(255,255,255,0.05);
  font-family: serif;
  line-height: 1;
}

.prose blockquote p, .wp-block-quote p {
  margin: 0;
  position: relative;
  z-index: 2;
}

.prose blockquote cite, .wp-block-quote cite {
  display: block;
  margin-top: 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #8C8C8C;
  font-style: normal;
}

/* Swiper Coverflow Gallery Fixes */
.wp-block-gallery.swiper {
  padding-bottom: 5rem !important; /* Space for pagination */
  overflow: visible !important;
  margin: 6rem auto !important;
  width: 100%;
}

.wp-block-gallery .swiper-wrapper {
  align-items: center;
  flex-wrap: nowrap !important; /* Force Swiper behavior over WP flex setup */
  gap: 0 !important; /* Swiper handles spacing */
  flex-direction: row !important;
}

.wp-block-gallery .swiper-slide {
  height: auto;
  opacity: 0.3;
  transition: opacity 0.6s ease, filter 0.6s ease;
  filter: grayscale(1) brightness(0.5);
  display: flex;
  justify-content: center;
}

.wp-block-gallery .swiper-slide-active {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}

.wp-block-image img, .wp-block-gallery .wp-block-image img {
  border-radius: 8px; /* Slight premium rounding */
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
  width: 100%;
  transition: all 0.5s ease;
}

figure.wp-block-image figcaption, .wp-block-gallery .blocks-gallery-caption {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.6);
  margin-top: 1.5rem;
}

/* -----------------------------------------
   LUXURY TYPOGRAPHY OVERWRITES
----------------------------------------- */
.prose h2 {
  font-size: 2.25rem !important;
  font-weight: 300 !important;
  letter-spacing: -0.02em !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  margin-top: 4rem !important;
  margin-bottom: 2rem !important;
  color: #fff !important;
}

.prose h3 {
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  margin-top: 3rem !important;
  color: #8C8C8C !important;
}

.prose p {
  line-height: 1.8 !important;
  margin-bottom: 2rem !important;
}

/* Premium Swiper Navigation */
.swiper-button-next, .swiper-button-prev {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 60px !important;
  height: 60px !important;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff !important;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  background: #fff;
  color: #000 !important;
  transform: scale(1.1);
}

.swiper-button-next::after, .swiper-button-prev::after {
  font-size: 1.2rem !important;
  font-weight: 300;
}

.swiper-pagination-bullet {
  background: #fff !important;
  opacity: 0.2;
  width: 8px !important;
  height: 8px !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.5);
}
