/* General Styles */
:root {
    --light-bg: #ffffff;
    --lighter-bg: #f8f9fa;
    --card-bg: #ffffff;
    --primary-color: #2b6cb0;
    --secondary-color: #74a2eb;
    --text-primary: #ecedf0;
    --text-secondary: #4a5568;
    --hover-color: #2c5282;
    --gradient-light: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

.section {
    padding: 100px 0;
    background: var(--gradient-light);
}

.section:nth-child(even) {
    background-color: var(--lighter-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
}

h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
}

p {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    background-color: rgba(36, 36, 36, 0.98) !important;
    padding: 20px 0;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    font-weight: 1000;
    color: var(--primary-color) !important;
    letter-spacing: 1px;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary) !important;
    transition: color 0.3s;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://i.postimg.cc/xd9h6q3B/lukas-blazek-mc-SDtb-WXUZU-unsplash.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
    font-weight: 800;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    transition: all 0.3s;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.2rem;
    margin-top: 20px;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 108, 176, 0.3);
}

/* About Section */
.profile-image {
    text-align: center;
}

.profile-image img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(43, 108, 176, 0.2);
}

/* Skills Section */
.skill-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(43, 108, 176, 0.2);
    border-color: var(--primary-color);
}

.skill-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.skill-card h3 {
    color: rgb(7, 59, 128);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.skill-card ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.skill-card li {
    margin: 10px 0;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Projects Section */
.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(43, 108, 176, 0.2);
}

.project-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;
    border-radius: 15px 15px 0 0;
}

.project-content {
    padding: 20px;
    text-align: center;
    background: var(--card-bg)
    margin-bottom: 10px;
}

.project-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.project-content .btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    border: none;
    transition: all 0.3s ease;
}

.project-content .btn-primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 108, 176, 0.3);
}

/* Contact Section */
.contact-info i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.contact-info p {
    color: var(--text-secondary);
}

.contact-info a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.social-links a {
    margin: 0 10px;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: rgb(197, 194, 194);
    color: var(--text-primary);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 400;
}

/* Modal */
.modal-content {
    background-color: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-title {
    color: var(--primary-color);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

.modal-body {
    font-weight: 400;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .profile-image img {
        width: 200px;
        height: 200px;
    }
    
    .section {
        padding: 60px 0;
    }
}