/* Custom styles for Anirudh Menon's personal page */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 0;
    border-radius: 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: white !important;
}

.navbar-inverse .navbar-nav > li > a {
    color: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
}

.navbar-inverse .navbar-nav > li > a:hover {
    color: var(--secondary-color);
    background: transparent;
}

/* Hero Section */
.jumbotron {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 0;
    border-radius: 0;
}

.jumbotron h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.jumbotron p {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.jumbotron .container p {
    color: rgba(255,255,255,0.95);
    line-height: 1.8;
}

/* Section styling */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* Cards */
.project-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.project-card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-card a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.project-card img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

/* Background variations */
.bg-light-section {
    background-color: var(--bg-light);
}

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

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0;
    margin-top: 0;
}

footer a {
    transition: all 0.3s ease;
    display: inline-block;
}

footer a:hover {
    transform: scale(1.1);
}

footer img {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

footer a:hover img {
    opacity: 1;
}

/* Slides section */
.slides-cta {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 40px 0;
    font-size: 1.2rem;
}

.slides-cta a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid white;
    padding: 10px 30px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.slides-cta a:hover {
    background: white;
    color: #f5576c;
}

.slides-cta img {
    vertical-align: middle;
    margin-left: 8px;
}

/* Responsive design */
@media (max-width: 768px) {
    .jumbotron h1 {
        font-size: 2.5rem;
    }
    
    .jumbotron p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .project-card {
        margin-bottom: 20px;
    }
}

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

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

/* Spacing utilities */
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
