/*
Theme Name: Darius Gant
Author: Quantum Academy Team
Version: 1.0
Description: Custom theme for Darius Gant - Leverage for Growth Teams
*/

:root {
    --primary-pink: #07393b;
    /* Darkest teal - primary brand color */
    --secondary-purple: #2e6a6c;
    /* Medium-dark teal - secondary elements */
    --text-dark: #1a1a2e;
    /* Keep dark text for readability */
    --text-light: #666;
    /* Keep light text */
    --bg-light: #f5f5f5;
    /* Keep light background */
    --white: #ffffff;
    /* Restore to actual white */
    --teal: #64babd;
    /* Lightest teal - accents and highlights */

    /* Company Section Variables */
    --company-logo-fs: 2.5rem;
    --company-title-fs: 1.5rem;
    --company-text-fs: 1rem;
    --company-btn-fs: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-light);
}

/* MAIN CONTENT */
main {
    background: var(--white);
    min-height: 100vh;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    max-height: 40px;
    /* Reduced from 60px */
    width: auto;
    max-width: 180px;
    /* Added safety limit */
    display: block;
    transition: transform 0.3s ease;
}

.site-logo img:hover {
    transform: scale(1.05);
}

.footer-logo .site-logo img {
    max-height: 30px;
    /* Even smaller for footer */
    width: auto;
}

.logo {
    width: 60px;
    height: 60px;
    background: var(--primary-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-pink);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-pink);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* COMMON BUTTONS */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-pink);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-purple);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 124, 158, 0.3);
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    /* Reduced from 4rem */
}

.section-title {
    font-size: var(--about-title-fs, 54px);
    /* Use variable or default to 54px */
    color: var(--secondary-purple);
    margin-bottom: 1.5rem;
    /* Reduced from 3rem */
}

.section-title span {
    color: var(--primary-pink);
}

.section-subtitle {
    color: var(--text-light);
    font-size: var(--about-text-fs, 18px);
    /* Use variable or default to 18px */
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-content {
    animation: fadeIn 0.5s ease;
    padding: 2rem 0;
}

/* =========================================
   COMPANIES SECTION STYLES (Ecosystem)
   ========================================= */
.companies-section {
    padding: 4rem 5%;
    background: var(--white);
    min-height: calc(100vh - 100px);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.company-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.company-logo {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--company-logo-fs);
    color: var(--primary-pink);
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.company-card h3 {
    font-size: var(--company-title-fs);
    color: var(--secondary-purple);
    margin-bottom: 0.5rem;
}

.company-card p {
    color: var(--text-light);
    font-size: var(--company-text-fs);
}

.companies-section .btn {
    font-size: var(--company-btn-fs);
}

/* RESPONSIVE NAVIGATION */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }
}

/* FOOTER */
footer {
    background: var(--secondary-purple);
    color: var(--white);
    padding: 3rem 5%;
    font-size: 0.9rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-pink);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-pink);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}