/* 
  Mineração Teles Pires - Modern Landing Page Styles
  Design: Premium, Professional, Responsive
*/

:root {
    --primary: #1A237E; /* Deep Navy */
    --primary-light: #3949AB;
    --secondary: #EF5350; /* Logo Red */
    --accent: #FFB300; /* Amber/Gold */
    --accent-hover: #FFA000;
    --text-dark: #0F172A;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

/* --- Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.header.scrolled {
    background: rgba(26, 35, 126, 0.98); /* Deep Navy instead of black */
    backdrop-filter: blur(15px);
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: opacity 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    opacity: 0.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem; /* Increased 20% from 0.75 / 1.5 */
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--text-dark);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-image-cta {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-image-cta img {
    height: 75px; /* Increased ~25% from 60px */
    width: auto;
    display: block;
}

.btn-image-cta:hover {
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 10px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1); /* For parallax/zoom effort */
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.8) 0%, rgba(239, 83, 80, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--accent);
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* --- Features Section --- */
.features {
    padding: 100px 0;
    background-color: var(--bg-white);
}

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

.label {
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
}

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

.feature-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* --- Product Highlight --- */
.product-highlight {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.check-list {
    list-style: none;
    margin: 25px 0;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 900;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

/* --- Partners Section --- */
.partners {
    padding: 60px 0;
    background-color: var(--white);
    border-top: 1px solid #eee;
}

.partners-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.partner-item {
    background-color: var(--primary); /* Deep blue background */
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.partner-item img {
    max-height: 110px; /* Increased 30% from 85px */
    max-width: 100%;
    width: auto;
    filter: grayscale(0);
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-10px);
    background-color: var(--primary-light);
}

/* --- Gallery Carousel --- */
.carousel-container {
    position: relative;
    max-width: 800px; /* Reduced 20% from 1000px */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 400px; /* Reduced 20% from 500px approx */
    object-fit: cover;
    filter: contrast(1.1) brightness(1.05); /* Slight enhancement */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: var(--accent);
    color: var(--text-dark);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* --- Footer --- */
.footer {
    padding: 80px 0 30px;
    background-color: var(--primary); /* Deep Navy */
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.groven-logo {
    height: 35px;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s;
}

.groven-logo:hover {
    transform: scale(1.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul a:hover {
    color: var(--white);
}

.credits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.credits a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25D366; /* Official WhatsApp Green */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-svg {
    width: 38px;
    height: 38px;
    fill: white; /* Ensure white color */
}

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

/* --- CTA Section Spacing --- */
.cta-banner {
    margin: 80px auto; /* Centered */
    max-width: 50%; /* Reduced 50% width */
    text-align: center;
    padding: 60px 20px; /* Adjusted padding */
    background: var(--primary);
    color: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        text-align: center;
    }
    .nav {
        justify-content: center;
    }
    .nav-links, 
    .header-actions, 
    .mobile-menu-toggle {
        display: none !important;
    }
    .hero {
        padding-top: 80px;
        text-align: center;
    }
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .feature-card {
        text-align: center;
    }
    .product-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .check-list {
        display: inline-block;
        text-align: left;
        margin: 20px auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links ul, .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cta-banner {
        max-width: 90%;
    }
}
