/* Construction Capital - Main Stylesheet */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
}

h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
}

h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
}

p {
    color: #4a4a4a;
    line-height: 1.7;
}

/* ===== Header & Navigation ===== */
header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066cc;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0066cc;
}

.cta-button {
    background: #0066cc;
    color: white !important;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #0052a3;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4a4a4a;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.hero.small-hero {
    padding: 4rem 2rem;
}

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

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero p {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

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

.primary-button {
    background: white;
    color: #0066cc;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.secondary-button {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
    cursor: pointer;
}

.secondary-button:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section {
    padding: 5rem 2rem;
}

.gray-bg {
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #6a6a6a;
    max-width: 700px;
    margin: 0 auto;
}

.centered {
    text-align: center;
}

/* Grid Layouts */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.three-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.column {
    padding: 0;
}

/* ===== Cards & Boxes ===== */
.service-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    transition: box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #e6f2ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.service-icon-large {
    font-size: 3rem;
    margin-right: 1.5rem;
}

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}

.feature-box:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-text h4 {
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: #6a6a6a;
    font-size: 0.95rem;
}

.info-box {
    background: #f8f9fa;
    border-left: 4px solid #0066cc;
    padding: 1.5rem;
    border-radius: 4px;
}

.highlight-box {
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
}

.highlight-box h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-box {
    background: linear-gradient(135deg, #e6f2ff 0%, #cce5ff 100%);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.cta-box h3 {
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
}

.contact-box {
    background: #f8f9fa;
    border-left: 4px solid #0066cc;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.contact-box p {
    margin-bottom: 0.5rem;
}

/* ===== Lists ===== */
.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.styled-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===== Services Page ===== */
.service-detail {
    margin-bottom: 0;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.service-subtitle {
    font-size: 1.2rem;
    color: #6a6a6a;
    margin: 0;
}

/* ===== Forms ===== */
.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form,
.contact-form-page {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-button {
    background: #0066cc;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 0.5rem;
}

.submit-button:hover {
    background: #0052a3;
    transform: translateY(-1px);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.privacy-notice {
    font-size: 0.85rem;
    color: #6a6a6a;
    text-align: center;
    margin-top: 1rem;
}

.privacy-notice a {
    color: #0066cc;
    text-decoration: none;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

/* ===== Contact Page ===== */
.contact-info-box {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.small-text {
    font-size: 0.9rem;
    color: #6a6a6a;
}

.process-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    text-align: center;
}

.process-number {
    width: 60px;
    height: 60px;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

/* ===== Timeline ===== */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

/* ===== Stats ===== */
.stats {
    background: #f8f9fa;
    padding: 3rem 2rem;
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #0066cc;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #6a6a6a;
    font-size: 1rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

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

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* ===== Footer ===== */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: white;
}

.footer-section p,
.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #0066cc;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #333;
    text-align: center;
    color: #888;
}

.footer-bottom a {
    color: #888;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #0066cc;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

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

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

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .two-column,
    .three-column,
    .form-row {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
    }

    .service-icon-large {
        margin: 0 0 1rem 0;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .content-section {
        padding: 3rem 1rem;
    }
}

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

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

    .cta-section h2 {
        font-size: 1.75rem;
    }
}
