/* ============================================
   Professional Website Styles - Mild Color Palette
   ============================================ */

/* ============================================
   CSS Variables - Mild Color Scheme
   ============================================ */
:root {
    /* Primary Colors - Soft Blues */
    --primary-color: #5B9BD5;
    --primary-light: #7DB3E3;
    --primary-dark: #4A90E2;
    
    /* Neutral Colors - Grays */
    --background-light: #F5F7FA;
    --background-white: #FFFFFF;
    --border-color: #E1E8ED;
    --shadow-color: rgba(91, 155, 213, 0.1);
    
    /* Text Colors */
    --text-primary: #2C3E50;
    --text-secondary: #6C757D;
    --text-light: #95A5A6;
    
    /* Accent Colors */
    --accent-teal: #4ECDC4;
    --accent-success: #6FCF97;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.7;
    background-color: var(--background-white);
    overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--primary-dark);
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================
   Layout Components
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.light-bg {
    background-color: var(--background-light);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    background-color: var(--background-white);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: var(--spacing-sm) 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo {
    height: 50px;
    width: auto;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.hero-logo {
    margin-bottom: var(--spacing-md);
}

.hero-logo img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.1));
}

.hero-title {
    color: var(--background-white);
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    color: var(--background-white);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.hero-description {
    color: var(--background-white);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.9;
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.subsection-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-light), var(--primary-dark));
    margin: var(--spacing-md) auto var(--spacing-lg);
    border-radius: 2px;
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--background-white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(91, 155, 213, 0.15);
}

.card-title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.card-content p {
    margin-bottom: var(--spacing-md);
}

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

/* ============================================
   Project Grid
   ============================================ */
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.project-label {
    color: var(--accent-teal);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
}

.project-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.project-text p {
    margin-bottom: var(--spacing-md);
}

/* ============================================
   Two Column Grid
   ============================================ */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.column {
    background: var(--background-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.column-title {
    color: var(--primary-color);
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.column-text {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: var(--spacing-sm);
}

/* ============================================
   Rounded Images
   ============================================ */
.rounded-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
}

/* ============================================
   Feature Header
   ============================================ */
.feature-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.feature-image {
    max-width: 100%;
    height: auto;
    margin-bottom: var(--spacing-md);
    border-radius: 12px;
}

.feature-title {
    color: var(--primary-dark);
    font-size: 2rem;
    max-width: 900px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.4;
}

/* ============================================
   Highlight Box
   ============================================ */
.highlight-box {
    background: linear-gradient(135deg, var(--background-light) 0%, #E8F4F8 100%);
    border-left: 4px solid var(--primary-color);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-top: var(--spacing-md);
}

.highlight-box p {
    margin-bottom: 0;
    color: var(--text-primary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--background-white);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.footer-text {
    color: var(--background-white);
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.footer-link {
    color: var(--background-white);
    text-decoration: underline;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--accent-teal);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: var(--spacing-xs);
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-up.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.fade-in-up.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.35rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* Layout */
    .section {
        padding: var(--spacing-md) 0;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Grids */
    .project-grid,
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* Cards */
    .card {
        padding: var(--spacing-md);
    }
    
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero */
    .hero {
        min-height: 500px;
    }
    
    .hero-logo img {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
}
