/* Custom CSS para Santa Rita Cristais - Bootstrap v5.0 */

:root {
    --primary-color: #003191;
    --secondary-color: #0056b3;
    --accent-color: #e3f2fd;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Override Bootstrap primary color */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-video-placeholder {
    position: relative;
    z-index: 2;
}

.video-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-placeholder {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.video-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.qr-code {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.qr-code i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Installation Cards */
.installation-card {
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.installation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.installation-card .card-header {
    border: none;
    padding: 1.5rem;
}

.step-number-badge {
    margin-bottom: 0.5rem;
}

.step-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.requirements ul li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

/* Product Cards */
.product-card {
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.product-icon i {
    font-size: 3rem;
}

.product-features {
    margin-top: 1rem;
}

/* Step Circles */
.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.contact-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    gap: 10px;
}

.contact-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    color: var(--primary-color);
}

.contact-button.whatsapp {
    background: #25d366;
    color: var(--white);
}

.contact-button.whatsapp:hover {
    background: #128c7e;
    color: var(--white);
}

.contact-button i {
    font-size: 1.1rem;
}

/* Contact Icons */
.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
}

/* Social Links */
.social-links .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Tabs */
.nav-pills .nav-link {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
}

.nav-pills .nav-link:not(.active) {
    color: var(--primary-color);
    background: transparent;
    border: 2px solid var(--primary-color);
}

.nav-pills .nav-link:not(.active):hover {
    background: var(--accent-color);
}

/* Calculator */
#calculatorResult {
    padding: 1rem;
    background: var(--accent-color);
    border-radius: var(--border-radius);
    display: none;
}

#calculatorResult.show {
    display: block;
}

/* Alerts */
.alert {
    border-radius: var(--border-radius);
}

/* Cards */
.card {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.card-header {
    border-bottom: none;
    font-weight: 600;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.btn-lg {
    padding: 1rem 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .video-container {
        margin-top: 2rem;
    }
    
    .step-image img {
        height: 150px;
    }
    
    .installation-card .card-body {
        padding: 1rem;
    }
    
    .social-links .btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .nav-pills .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

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

/* Loading Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* Print Styles */
@media print {
    .navbar,
    .hero-section,
    #contato,
    footer {
        display: none !important;
    }
    
    .installation-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

