/* =========================================
   OLOHA Group - Modern Corporate Styles
   ========================================= */

/* CSS Variables */
:root {
    --primary-color: #5a6275;
    /* Deep Grayish Blue */
    --secondary-color: #434a58;
    /* Darker variant */
    --contrast-dark: #373d49;
    /* Very dark grayish blue for backgrounds */
    --accent-color: #d5d2d1;
    /* Light warm gray */
    --accent-hover: #b8b5b4;
    /* Darker accent for hover */
    --accent-highlight: #70788c;
    /* Mid-tone for contrast highlights */
    --text-color: #334155;
    /* Slate Gray */
    --text-light: #64748b;
    --bg-light: #f1f3f5;
    /* Slightly darker light bg for contrast */
    --bg-white: #ffffff;
    --bg-dark: #2c313c;
    /* Replaced default dark space color with Oloha variant */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset & Initial Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--contrast-dark);
}

.bg-white {
    background-color: var(--bg-white);
}

.text-white {
    color: var(--bg-white) !important;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--bg-white) !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-family: var(--font-heading);
    border: 2px solid var(--accent-color);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--primary-color) !important;
    border-color: var(--accent-hover);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Typography Helpers */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title.center {
    text-align: center;
}

.title-underline {
    height: 4px;
    width: 60px;
    background-color: var(--accent-color);
    margin-bottom: 2rem;
}

.title-underline.center {
    margin: 0 auto 2rem auto;
}

.title-underline.bg-blue {
    background-color: var(--accent-color);
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links .btn-primary {
    color: var(--bg-white);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('images/slide_01.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--bg-white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 600px;
}

/* Quem Somos */
.about-section .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.highlight-text {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 2rem;
}

.about-stats {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-box {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-top: 5px solid var(--accent-color);
}

.stat-number {
    display: block;
    font-size: 5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 10px;
}

/* Culture Grid */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.culture-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.culture-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.culture-icon {
    width: 60px;
    height: 60px;
    background-color: var(--contrast-dark);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Values Section */
.values-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
}

.values-subtitle.center,
.values-desc.center {
    text-align: center;
}

.bg-dark .values-subtitle,
.footer .values-subtitle {
    color: #fff;
}

.values-desc {
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* Experience Section (Replaces Old Values Grid) */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.exp-card {
    background: rgba(255, 255, 255, 0.05);
    /* Slight transparent white for dark bg */
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.exp-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.exp-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.exp-card h3 {
    color: var(--bg-white);
    font-size: 1.4rem;
    margin-top: 20px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.exp-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* Services Grid (Replaces Old Tabs) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-top-color: var(--accent-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    background: var(--contrast-dark);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: #000;
    color: var(--bg-white);
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    display: block;
    background-color: var(--bg-white);
    padding: 10px;
    border-radius: 8px;
}

.footer-slogan {
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer h4 {
    color: var(--bg-white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
    color: #94a3b8;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .about-section .section-container {
        grid-template-columns: 1fr;
    }

    .culture-grid,
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .culture-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .tabs-nav {
        flex-direction: column;
    }

    .tab-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 4px solid transparent;
    }

    .tab-link.active {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 4px solid var(--accent-color);
    }

    .tab-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}