/* Professional Website Redesign - BCCV */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #ffffff;
    font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #4a4a4a;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background-color: #f8f9fa;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

.logo:hover {
    color: #1a1a1a;
    text-decoration: none;
}

.logo img {
    width: 32px;
    height: 32px;
    margin-right: 0.75rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: #4a4a4a;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    color: #0066cc;
    text-decoration: none;
    border-bottom-color: #0066cc;
}

.nav-divider {
    color: #d0d0d0;
    font-weight: 300;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Hero Section */
.hero {
    background-color: #ffffff;
    padding-top: 6rem;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;

}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6a6a6a;
    margin-bottom: 2rem;
    font-weight: 500;
    font-style: italic;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    text-decoration: none;
    color: inherit;
}

.service-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-card p {
    color: #6a6a6a;
    font-size: 0.95rem;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
}

.content-section h3 {
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.content-section li:before {
    content: "•";
    color: #0066cc;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Portfolio Section */
.portfolio-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-display {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-image {
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    margin-bottom: 1.5rem;
}

.portfolio-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: #6a6a6a;
    font-size: 1.1rem;
}

.portfolio-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.portfolio-card {
    flex: 0 0 250px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    scroll-snap-align: start;
}

.portfolio-card:hover {
    border-color: #0066cc;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.portfolio-card.active {
    border-color: #0066cc;
    background-color: #f0f7ff;
}

.portfolio-card h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.portfolio-card p {
    font-size: 0.9rem;
    color: #6a6a6a;
    margin: 0;
}

/* News/Press Section */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.press-item {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.press-item:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.press-logo {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.press-content {
    padding: 1.5rem;
}

.press-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.press-content p {
    color: #6a6a6a;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.press-content a {
    font-weight: 500;
    font-size: 0.9rem;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.history-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 2rem auto;
    display: block;
    border-radius: 8px;
}

/* Join/Career Section */
.job-offer {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.job-offer h4 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.job-offer h5 {
    color: #6a6a6a;
    font-weight: 500;
    margin: 1rem 0;
}

.toggle-requirements {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 1rem 0;
    transition: background-color 0.2s ease;
}

.toggle-requirements:hover {
    background-color: #0052a3;
}

.requirements {
    margin-top: 1rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #0066cc;
}

.requirements.hidden {
    display: none;
}

.requirements ul {
    list-style: none;
    padding-left: 0;
}

.requirements li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.requirements li:before {
    content: "✓";
    color: #0066cc;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    color: #333333;
    padding: 2rem 0 1.5rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-contact {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-contact a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
}

.footer-contact a:hover {
    color: #0066cc;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    display: inline-block;
    padding: 0.4rem;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-social img {
    width: 20px;
    height: 20px;
    filter: none;
    opacity: 0.6;
}

.footer-copyright {
    color: #666666;
    font-size: 0.85rem;
    margin: 0;
    font-weight: 400;
}

/* 3D Container */
.threed-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

/* Software Development and Viewer Layout */
.software-viewer-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.software-content {
    max-width: none;
}

.viewer-content {
    text-align: center;
}

.viewer-content h4 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.threed-viewer {
    width: 400px;
    height: 300px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.threed-viewer canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .software-viewer-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .viewer-content {
        order: -1;
    }
    
    .threed-viewer {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .portfolio-slider {
        gap: 0.75rem;
    }
    
    .portfolio-card {
        flex: 0 0 200px;
        padding: 1rem;
    }
    
    .press-grid {
        grid-template-columns: 1fr;
    }
      .footer-social {
        gap: 0.8rem;
    }
    
    .footer-social img {
        width: 18px;
        height: 18px;
    }
    
    .threed-viewer {
        height: 250px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.5rem;
        font-size: 0.8rem;
    }
    
    .nav-divider {
        display: none;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .portfolio-card {
        flex: 0 0 180px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}
