/**
 * ============================================
 * LAÇO & FITA - Custom Stylesheet
 * Tema Filho Astra + Bootstrap 5
 * ============================================
 */

/* ============================================
   1. VARIÁVEIS GLOBAIS
   ============================================ */
:root {
    --brand-orange: #FFA500;
    --brand-pink: #FF69B4;
    --bg-light: #fafaf9;
    --text-dark: #18181b;
    --text-muted: #52525b;
}

/* ============================================
   2. ESTILOS BASE
   ============================================ */
body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

.brand-heading {
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.05em;
}

/* ============================================
   3. CORES DA MARCA
   ============================================ */
.text-primary { 
    color: var(--brand-orange) !important; 
}

.bg-primary { 
    background-color: var(--brand-orange) !important; 
}

.bg-primary-subtle { 
    background-color: rgba(255, 165, 0, 0.1) !important; 
}

/* ============================================
   4. BOTÕES CUSTOMIZADOS
   ============================================ */
.btn-custom-primary {
    background-color: var(--brand-orange);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-custom-primary:hover {
    background-color: #e69500;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 165, 0, 0.3);
}

/* ============================================
   5. HEADER GLASS MORPHISM
   ============================================ */
.glass-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #f4f4f5;
}

.nav-link { 
    color: var(--text-muted); 
    font-weight: 600; 
    transition: color 0.2s ease;
}

.nav-link:hover, 
.nav-link.active { 
    color: var(--brand-orange); 
}

/* ============================================
   6. ANIMAÇÃO DE SETAS (Arrow Icons)
   ============================================ */
.arrow-icon {
    transition: transform 0.3s ease;
}

a:hover .arrow-icon {
    transform: translateX(6px);
}

/* ============================================
   7. POLAROID IMAGES - Hero Section
   ============================================ */
.polaroid-wrapper {
    position: absolute;
    transition: z-index 0s 0.4s;
}

.polaroid-wrapper:hover {
    transition: z-index 0s;
    z-index: 50 !important;
}

.polaroid-pic {
    background: white;
    padding: 10px 10px 45px 10px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 2px;
    object-fit: cover;
    transform-origin: center center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease;
    width: 100%;
    height: 100%;
}

/* Rotações iniciais */
.rot-right { 
    transform: rotate(4.63deg); 
}

.rot-left { 
    transform: rotate(-3.29deg); 
}

/* Hover: Fica reta e aumenta */
.polaroid-wrapper:hover .polaroid-pic {
    transform: rotate(0deg) scale(1.08) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ============================================
   8. POLAROID FRAME - About Section
   ============================================ */
.polaroid-frame {
    background: white;
    padding: 12px;
    padding-bottom: 48px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 
                0 2px 4px rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.polaroid-frame:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ============================================
   9. DECORAÇÕES DE FUNDO (Blobs)
   ============================================ */
.bg-blob-1 { 
    position: absolute; 
    top: -10%; 
    left: -10%; 
    width: 50%; 
    height: 50%; 
    background-color: rgba(255, 165, 0, 0.1); 
    border-radius: 50%; 
    filter: blur(120px); 
    z-index: 0;
    pointer-events: none;
}

.bg-blob-2 { 
    position: absolute; 
    bottom: -10%; 
    right: -10%; 
    width: 50%; 
    height: 50%; 
    background-color: rgba(255, 105, 180, 0.1); 
    border-radius: 50%; 
    filter: blur(120px); 
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   10. ICON BOXES - About Section
   ============================================ */
.icon-box { 
    color: var(--text-dark); 
    transition: transform 0.3s ease;
    cursor: default;
}

.icon-box:hover { 
    transform: scale(1.1); 
}

/* ============================================
   11. NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
    background: linear-gradient(135deg, 
                rgba(255, 165, 0, 0.08) 0%, 
                rgba(255, 105, 180, 0.08) 100%);
}

.newsletter-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 165, 0, 0.15) !important;
    border-color: var(--brand-orange) !important;
    outline: none;
}

/* ============================================
   12. FOOTER STYLES
   ============================================ */

/* Footer Decorative Blobs */
.footer-blob-top {
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, 
                rgba(255, 165, 0, 0.15) 0%, 
                transparent 70%);
    filter: blur(80px);
    z-index: 0;
    transform: translate(25%, -25%);
    pointer-events: none;
}

.footer-blob-bottom {
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, 
                rgba(255, 105, 180, 0.15) 0%, 
                transparent 70%);
    filter: blur(80px);
    z-index: 0;
    transform: translate(-25%, 25%);
    pointer-events: none;
}

/* Footer Container Z-Index */
.footer-content {
    z-index: 1;
}

/* Letter Spacing for Headers */
.footer-heading {
    letter-spacing: 0.1em;
}

/* Social Media Buttons */
.social-btn {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
}

/* Footer Links */
.footer-link {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    transform: translateX(3px);
}

/* ============================================
   13. RESPONSIVIDADE MOBILE
   ============================================ */
@media (max-width: 768px) {
    .polaroid-wrapper {
        position: relative !important;
        width: 100% !important;
        height: 300px !important;
        margin-bottom: 2rem;
    }
    
    #wrapper-1,
    #wrapper-2 {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }
    
    .brand-heading.display-3 {
        font-size: 2.5rem;
    }
    
    .footer-heading {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .brand-heading.display-3 {
        font-size: 2rem;
    }
    
    .social-btn {
        width: 36px;
        height: 36px;
    }
}

/* ============================================
   14. UTILITIES EXTRAS
   ============================================ */
.z-1 {
    z-index: 1;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.tracking-tighter {
    letter-spacing: -0.025em;
}

.max-w-xl {
    max-width: 36rem;
}

/* ============================================
   15. ANIMAÇÕES CUSTOMIZADAS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   16. PRINT STYLES
   ============================================ */
@media print {
    .glass-header,
    .newsletter-section,
    footer {
        display: none;
    }
    
    .bg-blob-1,
    .bg-blob-2,
    .footer-blob-top,
    .footer-blob-bottom {
        display: none;
    }
}

/* ============================================
   17. ACESSIBILIDADE
   ============================================ */
*:focus {
    outline: 2px solid var(--brand-orange);
    outline-offset: 2px;
}

.btn:focus,
.form-control:focus,
.nav-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 165, 0, 0.25);
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   18. SMOOTH SCROLLING
   ============================================ */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
