/* =====================================================
   CUSTOM CSS - Vidraceiro Lisboa
   ===================================================== */

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background-color: #1e40af;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s;
    min-height: 48px;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background-color: #25D366;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s;
    min-height: 48px;
}

.btn-whatsapp:hover {
    background-color: #22c55e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

/* Secondary Button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background-color: white;
    color: #1e40af;
    font-weight: 600;
    border: 2px solid #1e40af;
    border-radius: 0.5rem;
    transition: all 0.2s;
    min-height: 48px;
}

.btn-secondary:hover {
    background-color: #1e40af;
    color: white;
}

/* Card Hover Effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #1e40af;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* FAQ Accordion - Native HTML Details/Summary */
details summary::-webkit-details-marker {
    display: none;
}

details summary::marker {
    display: none;
}

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Star Rating */
.stars {
    color: #fbbf24;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Sticky Bar Animation */
#sticky-bar.visible {
    transform: translateY(0);
}

/* Trust Bar */
.trust-bar {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

/* Gallery Grid */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.3s ease;
}

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

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .caption {
    transform: translateY(0);
}

/* Iframe Container */
.iframe-container {
    position: relative;
    width: 100%;
    background: #f8fafc;
    border-radius: 1rem;
    overflow: hidden;
}

.iframe-container iframe {
    width: 100%;
    border: none;
}

/* Pain Points Cards - Red Theme */
.pain-card {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

.pain-card .icon-wrapper {
    background-color: #fee2e2;
}

.pain-card .icon-wrapper svg {
    color: #dc2626;
}

/* Benefits Cards - Green/Primary Theme */
.benefit-card {
    background-color: white;
    border: 1px solid #e2e8f0;
}

.benefit-card .icon-wrapper {
    background-color: rgba(30, 64, 175, 0.1);
}

.benefit-card .icon-wrapper svg {
    color: #1e40af;
}

/* Process Steps */
.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: calc(50% + 3rem);
    width: calc(100% - 6rem);
    height: 2px;
    background: linear-gradient(90deg, #1e40af 0%, #e2e8f0 100%);
}

.process-step:last-child::after {
    display: none;
}

/* Zone Pills */
.zone-pill {
    transition: all 0.2s ease;
}

.zone-pill:hover {
    background-color: #1e40af;
    color: white;
    transform: translateY(-2px);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    #sticky-bar,
    header,
    footer {
        display: none !important;
    }
}

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

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

/* Safe Area Insets for iOS */
@supports (padding: env(safe-area-inset-bottom)) {
    #sticky-bar {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
