/*
Theme Name: G5 Group
Theme URI: https://g5group.com
Author: G5 Group
Description: Minimal dark corporate theme for G5 Group.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: Private
Text Domain: g5group
*/

/* ========================================
   Reset
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    background-color: #0A0A0A;
    color: #E8E8E8;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ========================================
   Hero
   ======================================== */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    background: url('img/hero-bg.png') center center / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

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

.hero__logo {
    width: clamp(100px, 18vw, 160px);
    height: auto;
    margin-bottom: 2.5rem;
}

.hero__logo svg {
    width: 100%;
    height: auto;
}

.hero__name {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #E8E8E8;
    margin-bottom: 1rem;
}

.hero__tagline {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 300;
    color: #E8E8E8;
    letter-spacing: 0.15em;
}

.hero__scroll {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    color: #E8E8E8;
    transition: opacity 0.3s ease;
}

.hero__scroll:hover {
    opacity: 0.7;
}

.hero__scroll svg {
    width: 20px;
    height: 20px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ========================================
   About
   ======================================== */

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 4rem 2rem;
    background-color: #0A0A0A;
}

.about__content {
    max-width: 640px;
    text-align: center;
}

.about__text {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    line-height: 1.8;
    color: #E8E8E8;
    margin-bottom: 2.5rem;
}

.about__capabilities {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 400;
    color: #808080;
    letter-spacing: 0.1em;
}

/* ========================================
   Approach
   ======================================== */

.approach {
    padding: clamp(5rem, 12vw, 10rem) clamp(1.5rem, 8vw, 6rem);
    background-color: #141414;
}

.approach__content {
    max-width: 860px;
    margin: 0 auto;
}

.approach__label {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #808080;
    margin-bottom: 2.5rem;
}

.approach__intro {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    line-height: 1.8;
    color: #E8E8E8;
    margin-bottom: 4rem;
    max-width: 640px;
}

.approach__pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 4rem;
    margin-bottom: 4rem;
}

.approach__pillar-title {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #808080;
    margin-bottom: 0.75rem;
}

.approach__pillar-text {
    font-size: clamp(0.875rem, 1.8vw, 1rem);
    font-weight: 300;
    line-height: 1.8;
    color: #E8E8E8;
}

.approach__closing {
    font-size: clamp(0.875rem, 1.8vw, 1rem);
    font-weight: 300;
    line-height: 1.8;
    color: #808080;
    max-width: 580px;
    font-style: italic;
}

/* ========================================
   Contact
   ======================================== */

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 4rem 2rem;
    background-color: #0A0A0A;
    border-top: 1px solid rgba(232, 232, 232, 0.05);
}

.contact__label {
    font-size: 0.8125rem;
    font-weight: 300;
    color: #808080;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.contact__email {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    color: #E8E8E8;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(232, 232, 232, 0.2);
    padding-bottom: 0.25rem;
    transition: border-color 0.3s ease;
}

.contact__email:hover {
    border-color: rgba(232, 232, 232, 0.6);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: 3rem 2rem;
    text-align: center;
    background-color: #0A0A0A;
    border-top: 1px solid rgba(232, 232, 232, 0.05);
}

.footer__name {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #E8E8E8;
    margin-bottom: 0.5rem;
}


.footer__copy {
    font-size: 0.7rem;
    font-weight: 300;
    color: #808080;
    letter-spacing: 0.1em;
}

/* ========================================
   Fade-in animations
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .hero__name {
        letter-spacing: 0.2em;
    }

    .about {
        padding: 3rem 1.5rem;
    }

    .approach__pillars {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact {
        min-height: 50vh;
        padding: 3rem 1.5rem;
    }
}
