/* 
    Mãe Sara de Oxum - Premium CSS Design System
    Focus: Spiritual, Mystical, Luxury, Trust
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --primary: #D4AF37; /* Gold */
    --primary-dark: #B8860B;
    --secondary: #002366; /* Royal Blue */
    --accent: #FFD700;
    --text-dark: #1A1A1A;
    --text-light: #FDFDFD;
    --bg-light: #FFFFFF;
    --bg-soft: #F9F9F9;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-dark: rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 50%; /* Optional, depending on the generated image style */
}

.mobile-toggle {
    display: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active-link::after {
    width: 100%;
}

.nav-links a.active-link {
    color: var(--primary);
}

.btn-cta {
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-align: center;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/hero-bg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero-sub {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/hero-bg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    color: #666;
    background: var(--bg-soft);
}

.breadcrumb a {
    color: var(--primary);
    margin-right: 5px;
}

.breadcrumb span {
    margin-left: 5px;
    opacity: 0.7;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Sections General */
section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-title span {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.btn-text {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-text:hover {
    color: var(--secondary);
}

/* Testimonials & Videos */
.testimonials {
    background: var(--bg-soft);
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    font-style: italic;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.badge i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}

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

/* Header Navigation Colors */
header .nav-links a {
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

header.scrolled .nav-links a {
    color: var(--text-dark);
    text-shadow: none;
}

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

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

/* Grid Utilities */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-1-1-2-col {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.align-start {
    align-items: start;
}

.order-1 { order: 1; }
.order-2 { order: 2; }

/* Mobile Responsive */
@media (max-width: 900px) {
    .grid-2-col, .grid-1-1-2-col {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .about-img img, .about-gallery img {
        height: auto !important;
        max-height: 400px;
    }
    
    .order-mobile-first {
        order: -1 !important;
    }
}

@media (max-width: 768px) {
    header {
        background: rgba(0, 0, 0, 0.7);
        padding: 15px 0;
    }
    
    header.scrolled {
        background: rgba(255, 255, 255, 0.98);
    }

    .nav-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-toggle {
        display: block;
        font-size: 1.8rem;
        color: var(--primary);
        cursor: pointer;
    }
    
    .desktop-only {
        display: none !important;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 30px 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }
    
    header .nav-links a {
        color: var(--text-dark) !important;
        text-shadow: none !important;
        font-size: 1.2rem;
    }
    
    .btn-cta {
        font-size: 0.9rem !important;
        padding: 10px 20px !important;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 150px;
        padding-bottom: 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-sub {
        height: auto;
        padding: 150px 20px 60px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .badge {
        width: 100%;
        justify-content: center;
    }
}

