/* -------------------------------------------------------------
   ROYAL STONES - Estilos Gerais & Tema Pink Premium
   ------------------------------------------------------------- */

/* Reset & Tipografia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #2C2527;       /* Grafite escuro com undertone rosa */
    --primary-pink: #E27E8F;        /* Rosa médio mais vivo e elegante */
    --accent-pink: #F5D6DA;         /* Rosa claro suave realçado */
    --light-pink-bg: #FDF6F7;       /* Fundo rosa bebê ultra suave */
    --secondary-color: #D4AF37;     /* Dourado Imperial */
    --light-color: #FAFAFA;         /* Fundo neutro ultra claro */
    --dark-color: #1A1A1A;          /* Preto suave para textos principais */
    --text-muted: #6B5E62;          /* Cinza rosado para textos secundários */
    --whatsapp-color: #25D366;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --pink-gold-gradient: linear-gradient(135deg, #E27E8F 0%, #E5B2B8 50%, #D4AF37 100%);
    --card-shadow: 0 10px 30px rgba(44, 37, 39, 0.06);
    --hover-shadow: 0 15px 35px rgba(226, 126, 143, 0.2);
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* -------------------------------------------------------------
   Header & Navegação (Glassmorphism)
   ------------------------------------------------------------- */
header {
    background-color: rgba(44, 37, 39, 0.92); /* Grafite com transparência */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    max-height: 52px;
    width: auto;
    border-radius: 6px;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.03);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 32px;
}

nav ul li a {
    color: #F3D1D6; /* Tom rosa claro no menu */
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pink-gold-gradient);
    transition: var(--transition);
}

nav ul li a:hover {
    color: white;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: white;
    transition: var(--transition);
}

.mobile-menu:hover {
    color: var(--primary-pink);
}

/* -------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('../images/hero/sao_gabriel_counter.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Logo flutuante no canto superior direito da capa */
.hero-logo-overlay {
    position: absolute;
    top: 100px;
    right: 40px;
    z-index: 10;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-logo-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-logo-overlay:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--primary-pink);
    box-shadow: 0 12px 40px rgba(216, 141, 152, 0.3);
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    line-height: 1.15;
}

.hero-content h1 span {
    background: var(--pink-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    margin-bottom: 20px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    color: #FDF6F7;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 32px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    box-shadow: 0 6px 18px rgba(44, 37, 39, 0.18);
}

.btn:not(.btn-whatsapp) {
    background: var(--pink-gold-gradient);
    color: white;
}

.btn:not(.btn-whatsapp):hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(216, 141, 152, 0.35);
    filter: brightness(1.08);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: white !important;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    filter: brightness(1.08);
}

.btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* -------------------------------------------------------------
   Seções Comuns
   ------------------------------------------------------------- */
section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--pink-gold-gradient);
    border-radius: 2px;
}

/* -------------------------------------------------------------
   Sobre Nós (Estilo Editorial Premium)
   ------------------------------------------------------------- */
.about {
    background-color: var(--light-pink-bg);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(216, 141, 152, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(243, 209, 214, 0.5);
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-text h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 600;
}

.about-text p {
    font-size: 1.08rem;
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-buttons {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* -------------------------------------------------------------
   Galeria (Filtros Interativos & Grid Moderno)
   ------------------------------------------------------------- */
.gallery {
    background-color: white;
}

/* Filtros da Galeria */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--accent-pink);
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.filter-btn:hover {
    background-color: var(--light-pink-bg);
    border-color: var(--primary-pink);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--pink-gold-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(216, 141, 152, 0.35);
}

/* Grid de Imagens */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(243, 209, 214, 0.2);
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-pink);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Animação suave para filtro da galeria */
.gallery-item.hide {
    display: none;
}

.gallery-item.show {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* -------------------------------------------------------------
   Contato (Layout Elegante & Funcional)
   ------------------------------------------------------------- */
.contact {
    background-color: var(--light-pink-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: stretch;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(243, 209, 214, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.6rem;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    margin-bottom: 28px;
    font-weight: 600;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-info-item i {
    color: var(--primary-pink);
    font-size: 1.25rem;
    margin-right: 18px;
    margin-top: 4px;
    width: 24px;
    text-align: center;
}

.contact-info-item p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-buttons {
    margin-top: 16px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-map {
    height: 100%;
    min-height: 350px;
}

.contact-map iframe {
    height: 100%;
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(243, 209, 214, 0.4);
}

/* -------------------------------------------------------------
   Footer
   ------------------------------------------------------------- */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 24px;
    border-top: 2px solid var(--primary-pink);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-brand span {
    background: var(--pink-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p,
.footer-contact p,
.footer-areas p {
    color: #D2C4C7;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-contact h4,
.footer-areas h4 {
    color: var(--primary-pink);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.footer-contact p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #A29497;
    font-size: 0.88rem;
}

/* -------------------------------------------------------------
   Modais (Visualização de Imagens)
   ------------------------------------------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 20, 21, 0.95);
    backdrop-filter: blur(8px);
    animation: fadeInModal 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: #FFF;
    font-size: 42px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-pink);
    transform: scale(1.1);
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* -------------------------------------------------------------
   WhatsApp Flutuante (Animação Premium Pulsante)
   ------------------------------------------------------------- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 32px;
    right: 32px;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    animation: pulse 2.2s infinite;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* -------------------------------------------------------------
   Responsividade & Otimização Mobile
   ------------------------------------------------------------- */
@media (max-width: 991px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    .contact-map {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    /* Menu Lateral Deslizante (Slide-in Drawer) */
    .mobile-menu {
        display: block;
        z-index: 1005;
        position: relative;
    }
    
    nav {
        display: block;
        position: fixed;
        top: 0;
        right: -280px; /* Escondido */
        width: 280px;
        height: 100vh;
        background-color: rgba(44, 37, 39, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 90px 32px 40px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.25);
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    nav.open {
        right: 0; /* Desliza para dentro */
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul li {
        margin-left: 0;
        margin-bottom: 24px;
        width: 100%;
    }
    
    nav ul li a {
        font-size: 1.15rem;
        display: block;
        width: 100%;
        padding: 8px 0;
    }

    .hero {
        align-items: center;
        text-align: center;
    }
    
    .hero-logo-overlay {
        top: 80px;
        right: 20px;
        width: 80px;
        height: 80px;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
    
    .btn {
        width: 100%;
        margin: 0;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .about-content {
        padding: 32px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 24px;
        right: 24px;
        font-size: 26px;
    }
    
    .whatsapp-float a {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .contact-info {
        padding: 24px 16px;
    }

    .gallery-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}
