/* 
==============================================
TABLE OF CONTENTS
==============================================
1.  Root Variables & General Styles
2.  Header & Navigation
3.  Hero Section
4.  Standard Sections (Pain Points, Services, CTA, etc.)
5.  Page-Specific Styles
    - Services Page
    - About Page
6.  Footer
7.  Utility & Responsive
==============================================
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@700&display=swap');

/* 
1. Root Variables & General Styles
==============================================
*/
:root {
    --primary-color: #113850;
    --accent-color: #E69D45;
    --dark-color: #333333;
    --light-color: #F5F5F7;
    --heading-font-family: 'Montserrat', sans-serif;
    --font-family: 'Lato', sans-serif;
    --container-width: 1400px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    margin: 0;
    color: var(--dark-color);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font-family);
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

p {
    margin: 0 0 1rem 0;
}

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

ul {
    list-style: none;
    padding: 0;
}

section {
    padding: 4rem 0;
}

.button {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.button:hover {
    background: var(--accent-color);
}

/* 
2. Header & Navigation
==============================================
*/
header {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 1000;
}

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

#logo img {
    height: 80px;
}

#nav-links {
    display: flex;
}

#nav-links li {
    margin-left: 20px;
}

#nav-links a {
    font-weight: bold;
}

/* 
3. Hero Section
==============================================
*/
.hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center left;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 56, 80, 0.7);
    z-index: -1;
}

.hero .container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-text {
    width: 90%;
    text-align: center;
    color: #fff;
}

.hero h1 {
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.hero .button {
    background-color: #fff;
    color: var(--primary-color);
}

.hero .button:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* 
4. Standard Sections
==============================================
*/
.pain-points, .services-overview, .process, .social-proof, .cta {
    text-align: center;
}

.pain-points ul {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-top: 2rem;
}

.pain-points li {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pain-points-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.services-overview .tiers,
.process .steps {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.services-overview .tier,
.process .step {
    flex: 1;
    border: 1px solid #ddd;
    padding: 1.5rem;
    border-radius: 5px;
}

.process .intro-text {
    max-width: 800px;
    margin: 1.5rem auto 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.process .step {
    background: #fff;
    border: none;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
    text-align: left;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.process .step:hover {
    transform: translateY(-10px);
}

.step-content {
    flex-grow: 1;
}

.step-number {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.05;
    z-index: 1;
}

.process .step h4 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.step-deliverables {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.step-deliverables li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.step-deliverables li::before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.step-pricing-model {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: auto;
    align-self: flex-start;
}

.process .step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -2.1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: var(--accent-color);
    z-index: 0;
}

.social-proof #social-proof-testimonials {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
    text-align: left;
}

.social-proof .testimonial {
    flex: 1;
    background: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
    background-color: var(--dark-color);
    flex-shrink: 0;
}

.testimonial-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.social-proof blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin: 0 0 1rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    flex-grow: 1;
}

.social-proof cite {
    font-weight: bold;
    color: var(--primary-color);
    font-style: normal;
}

.cta {
    background-color: var(--primary-color);
    color: #fff;
}

.cta h2, .cta a {
    color: #fff;
}

.cta .button {
    background-color: #fff;
    color: var(--primary-color);
}

.cta .button:hover {
    background-color: var(--light-color);
}

.service-section {
    padding: 4rem 0;
}

.service-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.service-section-1 { background-color: #fff; }
.service-section-2 { background-color: var(--light-color); }
.service-section-3 { background-color: #fff; }

.project-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-section-2 .project-card {
    background-color: #fff;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.project-card h4 {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.project-card-subtitle {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

/* 
5. Page-Specific Styles
==============================================
*/
/* Services Page */
.intro {
    position: relative;
    background-color: var(--primary-color);
    padding: 5rem 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/about-us.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.intro .container {
    position: relative;
    z-index: 2;
}

.intro h1 {
    color: #fff;
}

.intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.9);
}

.service-tiers .tier {
    border: 1px solid #ddd;
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
}

/* About Page */
.founder {
    display: flex;
    padding: 4rem 0;
}

.founder .container {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.founder-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.founder-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.why-us ul {
    list-style: disc;
    padding-left: 20px;
}

.blog-post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #333;
}

.blog-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.blog-navigation a {
    color: #0056b3;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.4;
}

.blog-navigation a:hover {
    text-decoration: underline;
}

.blog-navigation span {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 0.25rem;
}

.blog-navigation .nav-prev {
    text-align: left;
    width: 33%;
}

.blog-navigation .nav-next {
    text-align: right;
    width: 33%;
}

.blog-navigation .back-to-blog {
    text-align: center;
    width: 33%;
}

/* 
6. Footer
==============================================
*/
footer {
    text-align: center;
    padding: 2rem 0;
    background: var(--dark-color);
    color: #fff;
}

/* 
7. Utility & Responsive
==============================================
*/
#hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.4s;
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    /* Show hamburger, hide nav links */
    #hamburger-menu {
        display: block;
    }

    #nav-links {
        display: none;
        position: absolute;
        top: 100px;
        right: 0;
        background: #fff;
        width: 100%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }

    #nav-links.active {
        display: flex;
    }

    #nav-links li {
        margin: 1rem 0;
    }
    
    /* Hero Section */
    .hero {
        height: auto;
        padding: 5rem 0;
    }

    .hero-text {
        width: 90%;
    }

    /* Column Layouts */
    .pain-points ul, 
    .services-overview .tiers, 
    .process .steps,
    .founder {
        flex-direction: column;
        gap: 1.5rem;
    }

    .social-proof #social-proof-testimonials {
        flex-direction: column;
    }

    .social-proof .testimonial {
        flex-direction: column;
    }

    .testimonial-image {
        margin-bottom: 1rem;
    }

    .founder .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .founder-image {
        width: 200px;
        height: 200px;
        margin-bottom: 2rem;
    }
} 