/* =============================================
   Robby Jay Unlimited Consulting
   Main Stylesheet
   ============================================= */

/* CSS Variables */
:root {
    /* Primary Colors - Green & Gray */
    --primary-green: #115740;
    --primary-green-light: #1a7a5a;
    --primary-green-dark: #0d4030;

    /* Gray Palette */
    --gray-900: #1a1a1a;
    --gray-800: #2d2d2d;
    --gray-700: #404040;
    --gray-600: #525252;
    --gray-500: #737373;
    --gray-400: #a3a3a3;
    --gray-300: #d4d4d4;
    --gray-200: #e5e5e5;
    --gray-100: #f5f5f5;
    --white: #ffffff;

    /* Accent */
    --accent-gold: #B8860B;

    /* Typography */
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--gray-900);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-green-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-green-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* =============================================
   Header & Navigation
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-green);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: var(--gray-900);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: var(--gray-700);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-green);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    padding: 160px 0 100px;
    background: url('../images/Top Homepage Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--gray-200);
}

.hero-content {
    max-width: 800px;
}

.hero-tagline {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.25rem;
    margin-bottom: 25px;
    color: var(--gray-900);
}

.hero h1 span {
    color: var(--primary-green);
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    max-height: 350px;
}

/* =============================================
   Section Styles
   ============================================= */
.section {
    padding: var(--section-padding);
}

.section-light {
    background-color: var(--gray-100);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* =============================================
   Services/Features Grid
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* =============================================
   Process Section
   ============================================= */
.process-steps {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.process-step {
    padding: 30px 0;
    border-bottom: 1px solid var(--gray-200);
}

.process-step:first-child {
    border-top: 1px solid var(--gray-200);
}

.process-step-title {
    font-family: var(--font-heading);
    color: var(--primary-green);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.process-step p {
    margin-bottom: 0;
    line-height: 1.7;
    color: var(--gray-700);
}

.process-steps .btn {
    margin-top: 35px;
}

/* =============================================
   About Section
   ============================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-image-placeholder {
    color: var(--white);
    text-align: center;
    padding: 40px;
}

.about-image-placeholder svg {
    width: 80px;
    height: 80px;
    fill: var(--white);
    opacity: 0.8;
    margin-bottom: 15px;
}

.about-image-graphic {
    background: var(--white);
    height: auto;
    padding: 20px;
}

.about-image-graphic svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-green);
    font-weight: bold;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-green);
}

.cta-section .btn-primary:hover {
    background-color: var(--gray-100);
}

/* =============================================
   Contact Form
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gray-600);
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.contact-item-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-family: var(--font-secondary);
}

.contact-item-text p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.95rem;
}

/* Form Styles */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input {
    width: auto;
    margin-top: 4px;
}

.form-checkbox label {
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* =============================================
   Page Header
   ============================================= */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 15px;
}

.page-header p {
    color: var(--gray-600);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--gray-500);
}

.breadcrumb span {
    color: var(--gray-400);
}

/* =============================================
   Legal Pages
   ============================================= */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-content p,
.legal-content li {
    color: var(--gray-600);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-meta {
    background: var(--gray-100);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.legal-meta p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* =============================================
   Opt-In Page
   ============================================= */
.opt-in-container {
    max-width: 600px;
    margin: 0 auto;
}

.opt-in-form {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
}

.opt-in-form h2 {
    text-align: center;
    margin-bottom: 10px;
}

.opt-in-form > p {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.consent-section {
    background: var(--gray-100);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.consent-section h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--gray-800);
}

.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.consent-item:last-child {
    margin-bottom: 0;
}

.consent-item input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-green);
}

.consent-item label {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.consent-item label a {
    text-decoration: underline;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
    background-color: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-700);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    background-color: var(--primary-green);
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand .logo-text span {
    color: var(--gray-400);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-heading {
    color: var(--white);
    font-size: 1rem;
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 992px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .hero-logo {
        max-height: 250px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: 25px;
    }

    .stat {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .opt-in-form {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }

    .hero h1 {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .page-header {
        padding: 120px 0 40px;
    }
}
