/* Professional CSS for Data Analyst Portfolio */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #f8f9fa;
}

/* Header */
#header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    padding: 5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

#header .logo {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

#header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main */
#main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.major {
    text-align: center;
    margin-bottom: 3rem;
}

.major h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.major p {
    font-size: 1.2rem;
    color: #5a6c7d;
}

/* Features */
.feature {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.feature.left {
    flex-direction: row;
}

.feature.right {
    flex-direction: row-reverse;
}

.feature .image {
    flex: 1;
    max-width: 50%;
}

.feature .image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    aspect-ratio: 2/1;
}

.feature .content {
    flex: 1;
    padding: 2rem;
}

.feature .content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.feature .content h3 a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.feature .content h3 a:hover {
    color: #2980b9;
}

.feature .content p {
    color: #5a6c7d;
    line-height: 1.7;
    font-size: 1rem;
}

.feature .content p a {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.feature .content p a:hover {
    color: #2980b9;
}

/* KPIs */
.kpis {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.kpi {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Skills Section */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem;
}

.col-6 {
    flex: 0 0 50%;
    padding: 1rem;
}

.col-6 h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.col-6 ul {
    list-style: none;
}

.col-6 ul li {
    padding: 0.4rem 0;
    color: #5a6c7d;
    font-size: 1rem;
}

.col-6 ul li:before {
    content: "▸ ";
    color: #3498db;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

.actions {
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
#footer {
    background: #2c3e50;
    color: white;
    padding: 4rem 0;
    margin-top: 5rem;
}

.split {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.split .alt h3 {
    margin-bottom: 0.5rem;
    color: #3498db;
    font-weight: 600;
}

.icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    margin-bottom: 2rem;
}

.icons a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.icons a:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}



.copyright {
    text-align: center;
    list-style: none;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.copyright li {
    display: inline;
    margin: 0 1rem;
}

.copyright a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #5dade2;
}

/* Responsive */
@media (max-width: 768px) {
    .feature {
        flex-direction: column !important;
    }
    
    .feature .image {
        max-width: 100%;
    }
    
    .col-6 {
        flex: 0 0 100%;
    }
    
    .split {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    #header h1 {
        font-size: 2rem;
    }
    
    .major h2 {
        font-size: 1.8rem;
    }
}

/* Font Awesome Icons */
.fa-database:before { content: "🗄️"; }
.fa-github:before { content: "🐙"; }
.fa-linkedin:before { content: "💼"; }