﻿/* ============================================================================
   KINECT BUILD INDUSTRIES PAGE STYLES
   ============================================================================ */

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

/* Global Styles */
* {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #0d1117;
    color: #e2e8f0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

main {
    padding: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: 4em;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 1.5em;
    color: #e2e8f0;
}

h3 {
    font-size: 1.8em;
    margin-bottom: 1em;
    color: #cbd5e1;
}

h4 {
    font-size: 1.3em;
    margin-bottom: 0.8em;
    color: #94a3b8;
}

p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #94a3b8;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, rgba(245, 158, 11, 0.08) 100%);
    color: #e2e8f0;
    padding: 3em 2em;
    border-radius: 1.5em;
    border-left: 6px solid rgba(245, 158, 11, 0.8);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
}

.hero-text {
    flex: 1 1 400px;
    padding: 1em;
}

.hero-text h1 {
    font-size: 3.5em;
    margin-bottom: 0.3em;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .subtitle {
    font-size: 1.4em;
    color: #94a3b8;
    margin-bottom: 0.5em;
    font-weight: 500;
}

.hero-text .tagline {
    font-size: 1.1em;
    color: #8894a7;
    font-style: italic;
    margin-bottom: 1em;
}

.hero-text .role {
    font-size: 1.2em;
    color: #f59e0b;
    font-weight: 600;
    padding: 0.5em 1em;
    background: rgba(245, 158, 11, 0.25);
    border-radius: 0.5em;
    display: inline-block;
    margin-bottom: 0.5em;
}

.hero-text .course {
    font-size: 1em;
    color: #8894a7;
    margin-bottom: 0.5em;
}

.hero-text .duration {
    font-size: 1em;
    color: #8894a7;
    font-style: italic;
}

.hero-image {
    flex: 1 1 400px;
    text-align: center;
    padding: 1em;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 1.5em;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.55);
}

/* ============================================================================
   OVERVIEW SECTION
   ============================================================================ */
.overview {
    background: #161b22;
    padding: 3em 2em;
    border-radius: 1.5em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.overview-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    align-items: center;
}

.overview-text {
    flex: 1 1 500px;
}

.overview-text p {
    margin-bottom: 1.5em;
}

.overview-text strong {
    color: #f59e0b;
    font-weight: 600;
}

.overview-image {
    flex: 1 1 350px;
    text-align: center;
}

.overview-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 1em;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.caption {
    margin-top: 1em;
    font-size: 1em;
    color: #8894a7;
    font-style: italic;
}

/* ============================================================================
   TEAM SECTION
   ============================================================================ */
.team {
    background: linear-gradient(135deg, #161b22 0%, #1a2332 100%);
    padding: 3em 2em;
    border-radius: 1.5em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
}

.team-card {
    background: #161b22;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #f59e0b;
}

.team-card.highlight {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.02) 100%);
    border-top-color: #d97706;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
}

.team-icon {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.team-card h3 {
    margin-top: 0;
    color: #e2e8f0;
    font-size: 1.5em;
}

.team-role {
    font-size: 1.1em;
    color: #f59e0b;
    font-weight: 600;
    margin-bottom: 1em;
}

.team-responsibilities {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-responsibilities li {
    padding: 0.5em 0 0.5em 1.5em;
    color: #94a3b8;
    position: relative;
}

.team-responsibilities li::before {
    content: "✓";
    color: #f59e0b;
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* ============================================================================
   PROJECT MANAGER ROLE SECTION
   ============================================================================ */
.pm-role {
    background: #161b22;
    padding: 3em 2em;
    border-radius: 1.5em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.pm-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2em;
    padding: 2em;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-radius: 1em;
    border-left: 4px solid #f59e0b;
}

.pm-intro strong {
    color: #d97706;
}

.pm-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
}

.pm-card {
    background: #0d1117;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #f59e0b;
}

.pm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.15);
}

.card-icon {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.pm-card h3 {
    margin-top: 0;
    color: #e2e8f0;
    font-size: 1.5em;
}

.pm-card p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1em;
}

.pm-card p:last-child {
    margin-bottom: 0;
}

.pm-card strong {
    color: #f59e0b;
}

/* ============================================================================
   DESIGN EVOLUTION TIMELINE
   ============================================================================ */
.design-evolution {
    background: linear-gradient(135deg, #161b22 0%, #1a2332 100%);
    padding: 3em 2em;
    border-radius: 1.5em;
}

.evolution-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.evolution-item {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    margin-bottom: 3em;
    position: relative;
    padding-bottom: 2em;
}

.evolution-item::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1em;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0) 0%, rgba(245, 158, 11, 0.3) 50%, rgba(245, 158, 11, 0) 100%);
}

.evolution-item:last-child::after {
    display: none;
}

.evolution-date {
    flex: 0 0 auto;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    padding: 0.8em 1.5em;
    border-radius: 2em;
    font-weight: 700;
    font-size: 1em;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.evolution-content {
    flex: 1 1 600px;
    background: #161b22;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.evolution-content h3 {
    margin-top: 0;
    color: #f59e0b;
}

.evolution-content p {
    margin-bottom: 1em;
}

.evolution-content p:last-child {
    margin-bottom: 0;
}

.evolution-content strong {
    color: #f59e0b;
}

/* ============================================================================
   LEED FEATURES SECTION
   ============================================================================ */
.leed-features {
    background: #161b22;
    padding: 3em 2em;
    border-radius: 1.5em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.leed-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2.5em;
}

.leed-intro p {
    font-size: 1.15em;
    color: #94a3b8;
}

.leed-intro strong {
    color: #f59e0b;
}

.leed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
}

.leed-card {
    background: #0d1117;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border-left: 3px solid #f59e0b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leed-card.major {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.02) 100%);
    border-left-width: 4px;
}

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

.leed-icon {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.leed-card h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #e2e8f0;
}

.leed-card p {
    margin-bottom: 1em;
}

.leed-card p:last-child {
    margin-bottom: 0;
}

.leed-card strong {
    color: #f59e0b;
}

.leed-summary {
    margin-top: 3em;
    background: #0d1117;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.leed-summary h3 {
    text-align: center;
    margin-bottom: 2em;
}

.leed-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
}

.leed-summary-item {
    background: #161b22;
    padding: 1.5em;
    border-radius: 1em;
    border-top: 3px solid #f59e0b;
}

.leed-summary-item h4 {
    margin-top: 0;
    color: #e2e8f0;
}

.leed-summary-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leed-summary-item li {
    padding: 0.5em 0 0.5em 1.5em;
    color: #94a3b8;
    position: relative;
}

.leed-summary-item li::before {
    content: "▶";
    color: #f59e0b;
    font-size: 0.7em;
    position: absolute;
    left: 0;
}

/* ============================================================================
   FACILITIES SECTION
   ============================================================================ */
.facilities {
    background: linear-gradient(135deg, #161b22 0%, #1a2332 100%);
    padding: 3em 2em;
    border-radius: 1.5em;
}

.facilities-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2.5em;
}

.facilities-intro strong {
    color: #f59e0b;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
}

.facility-card {
    background: #161b22;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border-top: 4px solid #64748b;
}

.facility-card.academic {
    border-top-color: #3b82f6;
}

.facility-card.residential {
    border-top-color: #8b5cf6;
}

.facility-card.wellness {
    border-top-color: #10b981;
}

.facility-card.dining {
    border-top-color: #f59e0b;
}

.facility-card.social {
    border-top-color: #ec4899;
}

.facility-card.infrastructure {
    border-top-color: #6366f1;
}

.facility-card h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: #e2e8f0;
}

.facility-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1em;
    margin-bottom: 1.5em;
}

.spec-item {
    background: #0d1117;
    padding: 1em;
    border-radius: 0.5em;
    text-align: center;
}

.spec-item strong {
    display: block;
    font-size: 2em;
    color: #f59e0b;
    margin-bottom: 0.2em;
}

.spec-item p {
    margin: 0;
    font-size: 0.9em;
    color: #8894a7;
}

.facility-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facility-card li {
    padding: 0.5em 0 0.5em 1.5em;
    color: #94a3b8;
    position: relative;
}

.facility-card li::before {
    content: "▶";
    color: #f59e0b;
    font-size: 0.7em;
    position: absolute;
    left: 0;
}

.facility-card strong {
    color: #e2e8f0;
}

/* ============================================================================
   TECHNICAL SPECIFICATIONS SECTION
   ============================================================================ */
.tech-specs {
    background: #161b22;
    padding: 3em 2em;
    border-radius: 1.5em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.specs-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
}

.spec-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%);
    padding: 2em;
    border-radius: 1em;
    border-left: 3px solid #f59e0b;
}

.spec-card h3 {
    margin-top: 0;
    color: #e2e8f0;
}

.spec-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-card li {
    padding: 0.6em 0;
    color: #94a3b8;
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
}

.spec-card li:last-child {
    border-bottom: none;
}

.spec-card strong {
    color: #e2e8f0;
    font-weight: 600;
}

/* ============================================================================
   CHALLENGES SECTION
   ============================================================================ */
.challenges {
    background: linear-gradient(135deg, #161b22 0%, #1a2332 100%);
    padding: 3em 2em;
    border-radius: 1.5em;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
}

.challenge-card {
    background: #161b22;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border-left: 4px solid #ef4444;
}

.challenge-icon {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.challenge-card h3 {
    margin-top: 0;
    color: #e2e8f0;
}

.challenge-card p {
    margin-bottom: 1em;
}

.challenge-card p:last-child {
    margin-bottom: 0;
}

.challenge-card strong {
    color: #ef4444;
}

/* ============================================================================
   MILESTONES SECTION
   ============================================================================ */
.milestones {
    background: #161b22;
    padding: 3em 2em;
    border-radius: 1.5em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.milestones-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.milestone-card {
    background: #0d1117;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 2em;
    border-left: 4px solid #64748b;
    position: relative;
}

.milestone-card.success {
    border-left-color: #10b981;
}

.milestone-card.final {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-left-color: #f59e0b;
}

.milestone-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #10b981;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.milestone-card.final .milestone-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.milestone-card h3 {
    margin-top: 0;
    color: #e2e8f0;
}

.milestone-date {
    font-size: 0.95em;
    color: #8894a7;
    font-style: italic;
    margin-bottom: 1em;
}

.milestone-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.milestone-card li {
    padding: 0.5em 0 0.5em 1.5em;
    color: #94a3b8;
    position: relative;
}

.milestone-card li::before {
    content: "✓";
    color: #10b981;
    font-weight: 700;
    position: absolute;
    left: 0;
}

.milestone-card.final li::before {
    color: #f59e0b;
}

.milestone-card strong {
    color: #10b981;
}

.milestone-card.final strong {
    color: #f59e0b;
}

/* ============================================================================
   GALLERY SECTION
   ============================================================================ */
.gallery {
    background: linear-gradient(135deg, #161b22 0%, #1a2332 100%);
    padding: 3em 2em;
    border-radius: 1.5em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
}

.gallery-item {
    position: relative;
    background: #161b22;
    border-radius: 1em;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
}

.gallery-item.featured {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-item.featured img {
    height: 400px;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 2em 1.5em 1.5em;
    color: #ffffff;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(-5px);
}

.gallery-overlay h4 {
    margin: 0 0 0.3em;
    font-size: 1.3em;
    color: #ffffff;
}

.gallery-overlay p {
    margin: 0;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================================================
   IMPACT & SKILLS SECTION
   ============================================================================ */
.impact {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%);
    padding: 3em 2em;
    border-radius: 1.5em;
}

.impact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-bottom: 3em;
}

.impact-card {
    background: #161b22;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border-left: 4px solid #f59e0b;
}

.impact-card h3 {
    margin-top: 0;
    color: #e2e8f0;
}

.impact-card strong {
    color: #f59e0b;
}

.skills-gained {
    background: #161b22;
    padding: 2em;
    border-radius: 1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.skills-gained h3 {
    text-align: center;
    margin-bottom: 1.5em;
    color: #e2e8f0;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}

.skill-tag {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, rgba(245, 158, 11, 0.08) 100%);
    color: #e2e8f0;
    padding: 0.6em 1.2em;
    border-radius: 2em;
    font-size: 0.95em;
    font-weight: 500;
    border: 2px solid rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(245, 158, 11, 0.4);
    border-color: #f59e0b;
    transform: scale(1.05);
}

/* ============================================================================
   REFLECTION SECTION
   ============================================================================ */
.reflection {
    background: #161b22;
    padding: 3em 2em;
    border-radius: 1.5em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.reflection-content blockquote {
    font-size: 1.3em;
    line-height: 1.8;
    color: #cbd5e1;
    font-style: italic;
    border-left: 5px solid #f59e0b;
    padding-left: 2em;
    margin: 0 0 2em 0;
    background: rgba(245, 158, 11, 0.05);
    padding: 1.5em 2em;
    border-radius: 0.5em;
}

.takeaways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
}

.takeaway-item {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%);
    padding: 2em;
    border-radius: 1em;
    border-left: 4px solid #f59e0b;
}

.takeaway-item h4 {
    margin-top: 0;
    color: #e2e8f0;
}

.takeaway-item p {
    margin: 0;
    color: #94a3b8;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
@media (max-width: 768px) {
    main {
        padding: 1em;
    }

    section {
        margin-bottom: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    .hero-text h1 {
        font-size: 2.5em;
    }

    .hero-text .subtitle {
        font-size: 1.1em;
    }

    .hero,
    .overview-content,
    .team-grid,
    .pm-cards,
    .leed-grid,
    .facilities-grid,
    .specs-overview,
    .challenges-grid,
    .gallery-grid,
    .impact-content,
    .takeaways-grid {
        flex-direction: column;
    }

    .evolution-item {
        flex-direction: column;
        gap: 1em;
    }

    .evolution-date {
        align-self: center;
    }

    .facility-specs {
        grid-template-columns: 1fr;
    }

    .gallery-item.featured {
        grid-column: span 1;
    }

    .gallery-item img,
    .gallery-item.featured img {
        height: 250px;
    }

    .leed-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility & Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
