/* 
===================================
WAYPOINT LOGIC WEBSITE STYLES
===================================
This file contains all the styling for the website.
Organized by section for easy modification.
*/

/* 
-----------------------------------
RESET & BASE STYLES
Basic setup for consistent styling across browsers
-----------------------------------
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Enables smooth scrolling when clicking nav links */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* 
-----------------------------------
TYPOGRAPHY
Modify these to change fonts throughout the site
-----------------------------------
*/
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 300;
}

/* 
-----------------------------------
LAYOUT CONTAINERS
Keeps content centered with max-width
-----------------------------------
*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 
-----------------------------------
NAVIGATION BAR
Sticky navigation that stays at top of page
Modify colors here to change nav appearance
-----------------------------------
*/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Keeps nav on top of other content */
    padding: 1rem 0;
}

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

/* Logo styling */
.logo img {
    height: 40px;
    width: auto;
}

/* Navigation menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4A90E2; /* Change this color for hover effect */
}

/* Call-to-action button in nav */
.nav-menu .cta-button {
    background-color: #4A90E2;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
}

.nav-menu .cta-button:hover {
    background-color: #357ABD;
    color: white;
}

/* 
-----------------------------------
HERO SECTION
Full-screen hero with background image
To change the background image, modify the url() below
-----------------------------------
*/
.hero {
    height: 60vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), 
                      url('lake_tahoe_pano.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

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

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Hero call-to-action button */
.hero-cta {
    display: inline-block;
    background-color: white;
    color: #333;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* 
-----------------------------------
ABOUT SECTION
Background story and mission
-----------------------------------
*/
.about {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Signature section with photo and title */
.about-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.signature-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.signature-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.signature-name {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.signature-title {
    font-size: 1.1rem;
    color: #4A90E2;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

/* 
-----------------------------------
SERVICES SECTION
What you can help with
-----------------------------------
*/
.services {
    padding: 6rem 0;
    background-color: white;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.services-list {
    max-width: 800px;
    margin: 0 auto 3rem;
    list-style: none;
}

.services-list li {
    font-size: 1.2rem;
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

/* Custom bullet points using ::before pseudo-element */
.services-list li::before {
    content: "▸"; /* You can change this to any character or emoji */
    position: absolute;
    left: 0;
    color: #4A90E2;
    font-size: 1.5rem;
}

/* Connect button */
.connect-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background-color: #4A90E2;
    color: white;
    padding: 1rem 3rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.connect-button:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
}

/* 
-----------------------------------
PROJECTS SECTION
Showcase your work
-----------------------------------
*/
.projects {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.projects h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.projects-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    color: #555;
}

/* Grid layout for project cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Individual project card */
.project-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.project-card p {
    color: #666;
    margin-bottom: 1rem;
}

.project-link {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #357ABD;
}

/* 
-----------------------------------
FOOTER
Bottom of the page
-----------------------------------
*/
.footer {
    background-color: #333;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1); /* Makes the logo white */
}

.footer p {
    color: #ccc;
    font-size: 0.9rem;
}

/* 
-----------------------------------
RESPONSIVE DESIGN
Adjustments for smaller screens (tablets and phones)
-----------------------------------
*/

/* Tablet and below */
@media (max-width: 768px) {
    /* Smaller hero text on mobile */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Stack navigation menu vertically on small screens */
    .nav-menu {
        gap: 1rem;
    }
    
    /* Reduce padding on sections */
    .about, .services, .projects {
        padding: 4rem 0;
    }
    
    /* Smaller container padding */
    .container {
        padding: 0 1rem;
    }
    
    /* Stack signature vertically on tablets */
    .about-signature {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Phone screens */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Make navigation menu stack */
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}
