/* 
  MAIN STYLES - S&S Construction LLC
  Header, Hero, and Base Styles
*/

/* Brand Colors */
:root {
    --primary-color: #2C3E50;
    --accent-color: #FB080E;
    --text-color: #222222;
    --text-light: #575760;
    --background-color: #ffffff;
    --background-alt: #F7F8F9;
    --white: #FFFFFF;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Header Styles */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.inside-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 50px;
    width: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.main-nav .button {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.main-nav .button:hover {
    background: #D9070C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 8, 14, 0.3);
    color: var(--white);
}

/* High Contrast Call Button */
.main-nav .header-cta-call {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--white);
}

.main-nav .header-cta-call:hover {
    background: #D9070C;
    transform: translateY(-2px);
    color: var(--white);
    border-color: var(--white);
}

.main-nav .header-cta-call i {
    width: 18px;
    height: 18px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-color);
}

.mobile-menu-toggle i {
    width: 24px;
    height: 24px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 2rem;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.hero-description {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 2.5rem;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 500;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-buttons .button:first-child {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.hero-buttons .button:first-child:hover {
    background: #D9070C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 8, 14, 0.4);
}

.hero-buttons .button.secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.hero-buttons .button.secondary:hover {
    background: var(--white);
    color: var(--text-color);
}

.hero-buttons .button i {
    width: 20px;
    height: 20px;
}

/* Container Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Button Styles */
.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.button:hover {
    background: #D9070C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 8, 14, 0.3);
}

.button.secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

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

/* Responsive */
@media (max-width: 768px) {
    .inside-header {
        padding: 0 1rem;
    }
    
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 4rem 1.5rem;
        background-attachment: scroll;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .button {
        width: 100%;
        justify-content: center;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

