/* 
 * Clear Enterprise Website - Main Stylesheet
 * Modern Software IT Color Palette
 */

/* ====================
   Color Variables
   ==================== */
:root {
    /* Core Foundation */
    --swiss-silver: #D0D3D9;
    --deep-charcoal: #252525;
    --pure-white: #FFFFFF;
    --off-white: #F8F9FA;
    
    /* Primary Client Engagement */
    --trust-blue: #3F88C5;
    --soft-azure: #67B0EF;
    
    /* Accent & Interactive */
    --digital-coral: #F26D6D;
    --swiss-gold: #D4B254;
    --earth-brown: #9D7E5E;
    --modern-turquoise: #33C6B8;
    
    /* Font sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-md: 1rem;
    --font-lg: 1.25rem;
    --font-xl: 1.5rem;
    --font-2xl: 2rem;
    --font-3xl: 2.5rem;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 5rem;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--deep-charcoal);
    background-color: var(--off-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--font-3xl);
}

h2 {
    font-size: var(--font-2xl);
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: var(--font-xl);
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--trust-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--soft-azure);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style-type: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

section {
    padding: var(--space-3xl) 0;
}

/* ====================
   Header & Navigation
   ==================== */
header {
    background-color: var(--swiss-silver);
    padding: var(--space-md) 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: var(--space-lg);
}

.main-nav a {
    color: var(--deep-charcoal);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--trust-blue);
    background-color: rgba(63, 136, 197, 0.1);
}

.menu-toggle {
    display: none;
    font-size: var(--font-xl);
    cursor: pointer;
    color: var(--deep-charcoal);
}

/* ====================
   Hero Section
   ==================== */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('../assets/images/background/engelberg-summits-large.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pure-white);
    padding-top: 80px; /* Adjust for fixed header */
}

.hero-content {
    max-width: 800px;
    padding: var(--space-xl);
}

.hero h1 {
    font-size: var(--font-3xl);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: var(--font-lg);
    margin-bottom: var(--space-xl);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background-color: var(--digital-coral);
    color: var(--pure-white);
    padding: var(--space-md) var(--space-xl);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--digital-coral);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
}

/* ====================
   About Section
   ==================== */
.about-section {
    background-color: var(--pure-white);
}

.about-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-intro {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.about-intro h2 {
    font-size: var(--font-2xl);
    color: var(--deep-charcoal);
    margin-bottom: var(--space-lg);
}

.about-intro .lead-text {
    font-size: var(--font-lg);
    line-height: 1.6;
    color: var(--trust-blue);
    max-width: 800px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.about-column h3 {
    color: var(--trust-blue);
    font-size: var(--font-xl);
    margin-bottom: var(--space-md);
    margin-top: var(--space-xl);
}

.about-column h3:first-child {
    margin-top: 0;
}

.about-column p {
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    color: var(--deep-charcoal);
}

.about-column ul.services-list,
.about-column ul.approach-list {
    margin-bottom: var(--space-lg);
    padding-left: 0;
    list-style: none;
}

.about-column ul.services-list li,
.about-column ul.approach-list li {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    position: relative;
    line-height: 1.6;
}

.about-column ul.services-list li::before,
.about-column ul.approach-list li::before {
    content: "•";
    color: var(--trust-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-intro .lead-text {
        font-size: var(--font-md);
    }
}

.team-preview {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
}

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

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--space-md);
    border: 3px solid var(--swiss-silver);
}

.team-member h3 {
    margin-bottom: var(--space-xs);
    color: var(--trust-blue);
}

/* ====================
   Reference Section
   ==================== */
.reference-section {
    background-color: var(--off-white);
    text-align: center;
}

.reference-cards {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
    margin-top: var(--space-xl);
}

.reference-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: var(--pure-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.reference-content {
    padding: var(--space-lg);
}

.reference-content h3 {
    color: var(--trust-blue);
    margin-bottom: var(--space-md);
}

.reference-link {
    display: inline-block;
    margin-top: var(--space-md);
    color: var(--modern-turquoise);
    font-weight: 600;
    position: relative;
}

.reference-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--modern-turquoise);
    transition: width 0.3s ease;
}

.reference-link:hover::after {
    width: 100%;
}

/* ====================
   Contact Section
   ==================== */
.contact-section {
    background: linear-gradient(135deg, var(--trust-blue), var(--soft-azure));
    color: var(--pure-white);
    padding: var(--space-3xl) 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: var(--pure-white);
    margin-bottom: var(--space-sm);
}

.location, .email {
    margin-bottom: var(--space-lg);
}

.contact-info a {
    color: var(--pure-white);
    border-bottom: 1px dotted var(--pure-white);
}

.contact-info a:hover {
    border-bottom: 1px solid var(--pure-white);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--pure-white);
    font-family: inherit;
    font-size: var(--font-md);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

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

.contact-privacy-notice {
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--swiss-gold);
}

.contact-privacy-notice p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.contact-privacy-notice a {
    color: var(--swiss-gold);
    text-decoration: underline;
}

.contact-privacy-notice a:hover {
    color: var(--pure-white);
}

.submit-button {
    background-color: var(--modern-turquoise);
    color: var(--pure-white);
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #2ba69a;
}

/* ====================
   Footer
   ==================== */
footer {
    background-color: var(--deep-charcoal);
    color: var(--pure-white);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-logo, .footer-links, .footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-logo-img {
    width: 158px;
    height: 40px;
    margin-bottom: var(--space-md);
}

.footer-links h4, .footer-contact h4 {
    color: var(--pure-white);
    margin-bottom: var(--space-md);
    font-size: var(--font-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--swiss-silver);
    transition: color 0.3s ease;
}

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

.footer-contact p {
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--swiss-silver);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
    font-size: var(--font-sm);
    color: var(--swiss-silver);
}

/* ====================
   Responsive Styles
   ==================== */
@media (max-width: 992px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    h1 {
        font-size: var(--font-2xl);
    }
    
    h2 {
        font-size: var(--font-xl);
    }
    
    .hero h1 {
        font-size: var(--font-2xl);
    }
    
    .hero p {
        font-size: var(--font-md);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--swiss-silver);
        padding: var(--space-md);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .main-nav a {
        display: block;
        padding: var(--space-md);
    }
    
    .team-preview {
        flex-direction: column;
        align-items: center;
    }
    
    .reference-card {
        min-width: 100%;
    }
}

/* ====================
   Process Steps Section
   ==================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.process-step {
    background: var(--pure-white);
    padding: var(--space-xl);
    border-radius: 8px;
    border-left: 4px solid var(--trust-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.process-step h3 {
    color: var(--trust-blue);
    margin-bottom: var(--space-md);
    font-size: var(--font-lg);
    font-weight: 600;
}

.process-step p {
    color: var(--deep-charcoal);
    line-height: 1.6;
}

/* ====================
   Methodology Section
   ==================== */
.methodology-section {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--pure-white) 100%);
    padding: var(--space-3xl) 0;
}

.methodology-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.methodology-content h2 {
    color: var(--deep-charcoal);
    margin-bottom: var(--space-lg);
    font-size: var(--font-2xl);
}

.methodology-content > p {
    color: var(--deep-charcoal);
    font-size: var(--font-lg);
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.methodology-steps {
    display: flex;
    justify-content: space-between;
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
    flex-wrap: wrap;
}

.methodology-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: var(--pure-white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.methodology-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--trust-blue);
    color: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-xl);
    font-weight: 700;
    margin: 0 auto var(--space-lg);
}

.methodology-step h3 {
    color: var(--deep-charcoal);
    margin-bottom: var(--space-md);
    font-size: var(--font-lg);
    font-weight: 600;
}

.methodology-step p {
    color: var(--deep-charcoal);
    font-size: var(--font-md);
    line-height: 1.5;
}

.methodology-footer {
    margin-top: var(--space-2xl);
    font-size: var(--font-lg);
    color: var(--deep-charcoal);
}

.methodology-footer a {
    color: var(--trust-blue);
    text-decoration: none;
    font-weight: 600;
}

.methodology-footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for new sections */
@media (max-width: 992px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .methodology-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .methodology-step {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .process-step {
        padding: var(--space-lg);
    }
    
    .methodology-step {
        padding: var(--space-lg) var(--space-md);
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: var(--font-lg);
    }
}