/* ==========================================
   Clean & Minimalist Landing Page
   Construction Compliance Reporting Portal
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007a37;
    --dark-gray: #1A1A1A;
    --light-gray: #F9F9F9;
    --border-gray: #E0E0E0;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

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

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

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

a:hover {
    color: var(--secondary-color);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */

main {
    flex: 1;
}

/* ==========================================
   CONTAINER & LAYOUT
   ========================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.8rem 0;
}

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

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand:hover {
    color: var(--secondary-color);
}

.navbar-logo {
    height: 32px;
    width: auto;
}

.navbar-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.navbar-nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.navbar-nav a:hover {
    color: var(--primary-color);
}

.navbar-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }
    .navbar-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #005a2a;
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    display: flex;
    align-items: center;
    /* min-height: 500px; */
    height: 70vh;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero h1 {
    color: var(--white);
    max-width: 100%;
    font-size: 2.8rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.8;
}

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

.btn-hero {
    padding: 0.85rem 2rem;
    font-size: 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.btn-hero-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-hero-primary:hover {
    background: #f0f0f0;
}

.btn-hero-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel-slides {
    position: relative;
    width: 100%;
    background: #f5f5f5;
}

.carousel-slide {
    width: 100%;
    height: auto;
    display: none;
    object-fit: cover;
}

.carousel-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

.hero-image svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.responsive-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================
   FEATURES SECTION - HIDDEN FOR MINIMALIST
   ========================================== */

.section {
    padding: 3rem 0;
}

.features {
    display: none;
}

/* ==========================================
   WORKFLOW SECTION
   ========================================== */

.workflow {
    background: var(--white);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.step p {
    font-size: 0.95rem;
}

.step::after {
    content: '→';
    position: absolute;
    right: -2.5rem;
    top: 2rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.step:last-child::after {
    display: none;
}

@media (max-width: 1024px) {
    .step::after {
        display: none;
    }
}

/* ==========================================
   STATS SECTION - HIDDEN FOR MINIMALIST
   ========================================== */

.stats {
    display: none;
}

/* ==========================================
   ROLES SECTION - HIDDEN FOR MINIMALIST
   ========================================== */

.roles {
    display: none;
}

/* ==========================================
   CTA SECTION - HIDDEN FOR MINIMALIST
   ========================================== */

.cta {
    display: none;
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 2rem 0 1rem;
    margin-top: 0;
}

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

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #B0B0B0;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #404040;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-bottom a {
    color: #B0B0B0;
    margin-left: 1.5rem;
}

/* ==========================================
   UTILITIES
   ========================================== */

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.py-6 { padding: 3rem 0; }
.px-4 { padding: 0 1.5rem; }

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .feature-card,
    .role-card {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom a {
        margin-left: 0;
    }
}
