/* 
    3Pines Consultoria - Custom Styles
    Base Theme: Cream (#f6f5f3), Deep Blue (#0f2b45), Copper (#c58a6f)
*/

:root {
    --primary-blue: #0f2b45;
    --primary-copper: #c58a6f;
    --bg-cream: #f6f5f3;
    --text-dark: #1a202c;
    --text-muted: #64748b;
    --navbar-bg: rgba(15, 43, 69, 0.95);
    --copper-gradient: linear-gradient(135deg, #c58a6f 0%, #a46d54 100%);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    position: relative;
    overflow-x: hidden;
}

/* Background aesthetic (Circuit effect via radial gradient) */
.bg-circuit {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 80% 20%, rgba(197, 138, 111, 0.05) 0%, transparent 40%),
                      radial-gradient(circle at 20% 80%, rgba(15, 43, 69, 0.05) 0%, transparent 40%);
}

/* Buttons */
.btn {
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-copper {
    background: var(--copper-gradient);
    color: white;
    border: none;
}
.btn-copper:hover {
    background: linear-gradient(135deg, #a46d54 0%, #8c5b45 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(197, 138, 111, 0.4);
}

.btn-dark-blue {
    background-color: var(--primary-blue);
    color: white;
    border: none;
}
.btn-dark-blue:hover {
    background-color: #0b1f33;
    color: white;
    box-shadow: 0 4px 15px rgba(15, 43, 69, 0.4);
}

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

/* Text Colors */
.text-copper { color: var(--primary-copper) !important; }
.dark-blue-bg { background-color: var(--primary-blue) !important; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 600; color: var(--primary-blue); }

/* ---- Navbar ---- */
.custom-navbar {
    z-index: 1030;
    padding: 0;
}
.logo-icon {
    font-size: 2rem;
    color: var(--primary-dark);
    /* Tree circuit simulation */
    background: -webkit-linear-gradient(var(--text-dark), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}
.brand-title {
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-dark);
    font-size: 1.2rem;
}
.brand-subtitle {
    font-weight: 500;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.nav-pill-wrapper {
    background-color: var(--navbar-bg);
    border-radius: 50px;
    padding: 8px 10px 8px 30px;
    box-shadow: 0 10px 30px rgba(15, 43, 69, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: white;
}

.bg-dark-blue { background-color: var(--primary-blue); }

/* ---- Hero Section ---- */
.hero-section {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 60px;
}
.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 90%;
    line-height: 1.6;
}

/* Hero Image & Floating Shapes */
.hero-image-wrapper {
    position: relative;
    padding: 20px;
}
.hero-image {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    border: 8px solid white;
}

/* Floating badge decoration */
.floating-badge {
    position: absolute;
    width: 60px; height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 5;
    top: 5%;
    left: -20px;
    animation: floating 3s ease-in-out infinite;
}

/* Shape corner connection (like the w-shaped crop on bottom right) */
.shape-corner {
    position: absolute;
    bottom: -20px;
    right: 0;
    background-color: var(--primary-blue);
    padding: 20px 30px;
    border-radius: 30px;
    z-index: 5;
    border: 6px solid var(--bg-cream);
}
.social-links a {
    color: white;
    margin: 0 10px;
    font-size: 1.1rem;
    opacity: 0.7;
    transition: 0.3s;
}
.social-links a:hover {
    opacity: 1;
    color: var(--primary-copper);
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* ---- Bottom Features ---- */
.features-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.bottom-row-cards > div {
    margin-bottom: 20px;
}

/* Left big card */
.features-card {
    border-radius: 40px !important;
}
.feature-item .icon-wrapper {
    transition: transform 0.3s ease;
}
.feature-item:hover .icon-wrapper {
    transform: translateY(-5px) scale(1.1);
}

/* Middle slice image */
.image-slice-card {
    position: relative;
    min-height: 180px;
    border-radius: 40px !important;
}
.image-slice-card .img-slice {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 30%; /* Focus on interesting part of the dashboard */
}

/* Right small card */
.action-card {
    border-radius: 40px !important;
    min-height: 120px;
}
.action-card a {
    text-decoration: none;
    background: rgba(255,255,255,0.1);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}
.action-card a:hover {
    background: var(--primary-copper);
    color: white !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-title { font-size: 3rem !important; }
    .features-card { flex-direction: column; gap: 30px; }
    .nav-pill-wrapper { margin-top: 10px; border-radius: 15px; padding: 15px; }
    .hero-image-container { margin-top: 3rem; }
    .shape-corner { display: none; } /* Hide complex overlap on tablet/mobile */
    .header-contact { display: none !important; } /* Hide the top right contact entirely closely when navbar squishes */
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem !important; }
    .hero-subtitle { font-size: 1rem !important; width: 100%; max-width: 100%; }
    h3 { font-size: 1.8rem !important; }
    .nav-pill-wrapper { padding: 10px; border-radius: 10px; }
    .floating-badge { display: none; }
    .hero-section { padding-top: 100px !important; text-align: center; min-height: auto !important; }
    .hero-content { padding-right: 0px !important; }
    .bottom-row-cards { margin-top: 2rem; }
    .cloud-promo-card { padding: 2rem !important; }
    .cloud-promo-card h2 { font-size: 2rem !important; }
    .features-section { margin-top: 0; }
    .btn { width: 100%; justify-content: center; } /* Make buttons full width on small screens */
    .d-flex.flex-wrap.gap-3 { flex-direction: column; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2rem !important; }
}

/* ---- Expanded Template Sections ---- */
.text-sm { font-size: 0.9rem; }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto;}
.bg-cream { background-color: var(--bg-cream); }
.bg-white { background-color: #ffffff; }

.dark-glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.dark-glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 138, 111, 0.5); /* Copper tint */
}

.icon-box {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(197, 138, 111, 0.1);
    display: flex; align-items: center; justify-content: center;
}

.cloud-promo-card {
    background: linear-gradient(135deg, var(--bg-cream) 0%, rgba(255,255,255,1) 100%);
}

.footer-links a {
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary-copper) !important;
}
