/* PentaCodes - Custom Software Development Orlando */
/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #2c2c2c;
    background: #fafafa;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1a5f7a; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: #2c2c2c;
    text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-icon {
    width: 40px;
    height: 40px;
    background: #1a5f7a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    letter-spacing: -0.5px;
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
}
.main-nav a {
    color: #2c2c2c;
    font-weight: 500;
}
.main-nav a:hover, .main-nav a.active { color: #1a5f7a; }
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #2c2c2c;
    margin: 5px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: #1a5f7a;
    color: #fff;
}
.btn-primary:hover { background: #154a5f; text-decoration: none; }
.btn-secondary {
    background: transparent;
    color: #1a5f7a;
    border: 2px solid #1a5f7a;
}
.btn-secondary:hover { background: #1a5f7a; color: #fff; text-decoration: none; }
.btn-large { padding: 16px 32px; font-size: 1.1rem; }

/* Hero */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #f0f7fa 0%, #e8f2f5 100%);
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    background: #1a5f7a;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 2.75rem;
    line-height: 1.2;
    margin: 0 0 20px;
    color: #1a1a1a;
}
.hero-lead {
    font-size: 1.15rem;
    color: #4a4a4a;
    margin: 0 0 32px;
    max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image img {
    border-radius: 8px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}

/* Trust bar */
.trust-bar {
    background: #1a5f7a;
    color: #fff;
    padding: 32px 0;
}
.trust-text {
    text-align: center;
    margin: 0 0 24px;
    font-size: 0.95rem;
    opacity: 0.95;
}
.trust-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Libre Baskerville', Georgia, serif;
}
.stat-label { font-size: 0.9rem; opacity: 0.9; }

/* Services preview */
.services-preview {
    padding: 80px 0;
}
.services-preview h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 2.25rem;
    text-align: center;
    margin: 0 0 16px;
}
.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
    color: #5a5a5a;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.service-card {
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}
.service-icon img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { margin: 0 0 12px; font-size: 1.25rem; }
.service-card p {
    margin: 0 0 16px;
    color: #5a5a5a;
    font-size: 0.95rem;
}
.link-arrow {
    font-weight: 600;
    font-size: 0.85rem;
}
.link-arrow::after { content: ' →'; }

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: #f5f5f5;
}
.testimonials h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 2.25rem;
    text-align: center;
    margin: 0 0 48px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.testimonial {
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    margin: 0;
    border-left: 4px solid #1a5f7a;
}
.testimonial-stars {
    color: #e6a800;
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.testimonial p { margin: 0 0 20px; color: #4a4a4a; }
.testimonial footer {
    font-size: 0.9rem;
    color: #6a6a6a;
}
.testimonial footer strong { display: block; color: #2c2c2c; margin-bottom: 4px; }

/* CTA section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: #1a5f7a;
    color: #fff;
}
.cta-section h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 2rem;
    margin: 0 0 16px;
}
.cta-section p {
    margin: 0 0 24px;
    opacity: 0.95;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.cta-section .btn-primary {
    background: #fff;
    color: #1a5f7a;
}
.cta-section .btn-primary:hover { background: #f0f0f0; }

/* Page hero */
.page-hero {
    padding: 48px 0 40px;
    background: #1a5f7a;
    color: #fff;
}
.page-hero h1 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 2.25rem;
    margin: 0 0 16px;
}
.page-hero-lead {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
    max-width: 640px;
}

/* Content section */
.content-section {
    padding: 60px 0;
}
.content-section.alt-bg { background: #f5f5f5; }

/* About layout */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
}
.about-main h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.5rem;
    margin: 40px 0 16px;
}
.about-main h2:first-child { margin-top: 0; }
.about-main p { margin: 0 0 16px; color: #4a4a4a; }
.sidebar-card {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    margin-bottom: 24px;
}
.sidebar-card h3 { margin: 0 0 16px; font-size: 1.1rem; }
.sidebar-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sidebar-card li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}
.sidebar-card li:last-child { border-bottom: none; }
.facts-list li { color: #6a6a6a; }

/* Team section */
.team-section {
    padding: 60px 0;
    background: #f5f5f5;
}
.team-section h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.75rem;
    text-align: center;
    margin: 0 0 40px;
}
.team-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}
.team-photo img {
    border-radius: 8px;
    width: 100%;
}
.team-info h3 { margin: 0 0 4px; }
.team-role {
    color: #1a5f7a;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 0 16px;
}
.team-info p { margin: 0 0 12px; color: #4a4a4a; }

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 64px;
}
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 6px;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-card {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    margin-bottom: 24px;
}
.contact-card h3 { margin: 0 0 12px; font-size: 1.1rem; }
.contact-card p { margin: 0 0 20px; font-size: 0.95rem; color: #4a4a4a; }
.contact-card p:last-child { margin-bottom: 0; }

/* Service detail */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.service-detail-grid.reverse .service-detail-content { order: 2; }
.service-detail-grid.reverse .service-detail-image { order: 1; }
.service-detail-content h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.75rem;
    margin: 0 0 20px;
}
.service-detail-content p { margin: 0 0 16px; color: #4a4a4a; }
.service-detail-image img {
    border-radius: 8px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}
.portfolio-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    transition: box-shadow 0.2s;
}
.portfolio-item:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.portfolio-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.portfolio-content { padding: 24px; }
.portfolio-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1a5f7a;
    margin-bottom: 8px;
}
.portfolio-content h3 { margin: 0 0 12px; font-size: 1.2rem; }
.portfolio-content p { margin: 0; font-size: 0.95rem; color: #5a5a5a; }

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.blog-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.blog-card-link:hover { text-decoration: none; }
.blog-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.blog-card-content { padding: 24px; }
.blog-card-content time {
    font-size: 0.85rem;
    color: #6a6a6a;
}
.blog-card-content h3 {
    margin: 8px 0 12px;
    font-size: 1.15rem;
    line-height: 1.4;
}
.blog-card-content:hover h3 { color: #1a5f7a; }
.blog-card-content p { margin: 0; font-size: 0.95rem; color: #5a5a5a; }

/* Legal pages */
.legal-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 0 80px;
}
.legal-content h1 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 2rem;
    margin: 0 0 8px;
}
.legal-content .last-updated {
    color: #6a6a6a;
    font-size: 0.9rem;
    margin-bottom: 40px;
}
.legal-content h2 {
    font-size: 1.25rem;
    margin: 32px 0 12px;
}
.legal-content p, .legal-content li {
    margin: 0 0 12px;
    color: #4a4a4a;
}
.legal-content ul { padding-left: 24px; }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 8px; }

/* Footer */
.site-footer {
    background: #2c2c2c;
    color: #fff;
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col .logo-text { font-weight: 700; font-size: 1.1rem; }
.footer-col p { margin: 0 0 8px; font-size: 0.95rem; opacity: 0.9; }
.footer-col a { color: #fff; opacity: 0.9; }
.footer-col a:hover { opacity: 1; }
.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
    opacity: 0.7;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col li { margin-bottom: 8px; }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Blog post */
.blog-post {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 0 80px;
}
.blog-post-header {
    margin-bottom: 40px;
}
.blog-post-header time {
    font-size: 0.9rem;
    color: #6a6a6a;
}
.blog-post-header h1 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 2.25rem;
    margin: 8px 0 16px;
    line-height: 1.3;
}
.blog-post-header .featured-image {
    margin-top: 32px;
    border-radius: 8px;
    overflow: hidden;
}
.blog-post-header .featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.blog-post-content h2 { font-size: 1.35rem; margin: 32px 0 12px; }
.blog-post-content h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.blog-post-content p { margin: 0 0 16px; color: #4a4a4a; }
.blog-post-content ul { padding-left: 24px; }

/* Responsive */
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-image { order: -1; }
    .hero h1 { font-size: 2.25rem; }
    .about-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .service-detail-grid { grid-template-columns: 1fr; }
    .service-detail-grid.reverse .service-detail-content,
    .service-detail-grid.reverse .service-detail-image { order: unset; }
    .team-card { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .main-nav.open { display: block; }
    .main-nav.open ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        border-bottom: 1px solid #e8e8e8;
    }
    .trust-stats { gap: 32px; }
    .hero-actions { flex-direction: column; }
}
