/* =========================================
   G SOLUTIONS - PREMIUM STYLESHEET
   ========================================= */

:root {
    --brand-red: #E63946;
    --brand-red-dark: #B22A34;
    --brand-red-light: #FF6B70;

    --bg-dark: #121212;
    --bg-dark-secondary: #1E1E1E;
    --graphite: #2B2B2B;

    --surface: #F5F7FA;
    --white: #FFFFFF;
    
    --text-primary: #FFFFFF;
    --text-secondary: #A3A3A3;
    --border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transition: 0.3s;
}

nav.scrolled {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 10px 5%;
}

.logo img {
    height: 120px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--brand-red);
}

.cta-btn {
    background-color: var(--brand-red);
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--white) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px !important;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.cta-btn:hover {
    background-color: var(--brand-red-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.2) 0%, transparent 60%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--brand-red);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-secondary {
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--white) !important;
    transition: 0.3s;
}

.btn-secondary:hover {
    border-color: var(--brand-red);
    color: var(--brand-red) !important;
}

/* Brand Statement Section */
.brand-statement {
    background-color: var(--surface);
    color: var(--bg-dark);
    padding: 100px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.brand-statement h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
}

.brand-statement p {
    font-size: 1.1rem;
    color: #444;
    align-self: center;
}

/* Services Interactive List */
.services-section {
    background-color: var(--bg-dark-secondary);
    padding: 100px 10%;
}

.services-section h2 {
    margin-bottom: 50px;
    font-size: clamp(2rem, 3vw, 3rem);
}

.service-list {
    border-top: 1px solid var(--border);
}

.service-item {
    border-bottom: 1px solid var(--border);
    padding: 30px 0;
    cursor: pointer;
    transition: 0.3s;
}

.service-item:hover {
    padding-left: 20px;
}

.service-title {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 2rem;
    font-family: var(--font-heading);
}

.service-title span {
    font-size: 1rem;
    color: var(--brand-red);
}

.service-desc {
    display: none;
    margin-top: 15px;
    color: var(--text-secondary);
    max-width: 600px;
}

/* Founder Section */
.about-section {
    background-color: var(--surface);
    color: var(--bg-dark);
    padding: 100px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.founder-placeholder {
    width: 300px;
    height: 300px;
    background: #ddd;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 5rem;
}

/* Team Section */
.team-section {
    background-color: var(--bg-dark);
    padding: 100px 10%;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-red);
}

.team-img {
    width: 100%;
    height: 200px;
    background: var(--graphite);
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    font-size: 3rem;
}

/* CTA Section */
.cta-section {
    background: var(--bg-dark-secondary);
    text-align: center;
    padding: 100px 10%;
    position: relative;
}

.cta-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: var(--brand-red);
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    padding: 60px 10%;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 20px;
}

footer p, footer a {
    color: var(--text-secondary);
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

footer a:hover {
    color: var(--brand-red);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    
    .hero-content h1 { font-size: 2.8rem; }
    .brand-statement, .about-section { grid-template-columns: 1fr; gap: 30px; }
    footer { grid-template-columns: 1fr; }
}

/* Team Photo Styling */
.team-photo {
    width: 100%;
    height: 250px; /* Set a fixed height for consistency */
    object-fit: cover; /* Ensures images don't stretch, they crop perfectly */
    border-radius: 10px;
    margin-bottom: 20px;
    filter: grayscale(100%); /* Grayscale by default like your prompt requested */
    transition: 0.3s;
}

.team-card:hover .team-photo {
    filter: grayscale(0%); /* Shows color on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

/* Smooth Scroll & Offset for Fixed Navbar */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Adds space so the fixed navbar doesn't cover the form */
}

/* Clients Section */
.clients-section {
    background-color: var(--bg-dark); /* Dark Section */
    padding: 80px 10%;
    border-bottom: 1px solid var(--border);
}

.clients-header {
    max-width: 700px;
    margin-bottom: 50px;
}

.clients-header h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 20px;
}

.clients-header p {
    color: var(--text-secondary);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.client-item {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: 0.3s;
}

.client-item:hover {
    border-color: var(--brand-red);
    color: var(--white);
    transform: translateY(-5px);
}

/* Projects Section */
.projects-section {
    background-color: var(--surface); /* Light Section */
    color: var(--bg-dark);
    padding: 80px 10%;
}

.projects-header {
    max-width: 700px;
    margin-bottom: 50px;
}

.projects-header h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 20px;
    color: var(--bg-dark);
}

.projects-header p {
    color: #444;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 4px solid var(--bg-dark);
    transition: 0.3s;
}

.project-card:hover {
    border-left-color: var(--brand-red);
    transform: translateY(-5px);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 0.95rem;
    color: #555;
}

