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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #2c7bdb;
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4 {
    margin-bottom: 15px;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: #2c7bdb;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    color: #333;
}

p {
    margin-bottom: 15px;
}

/* Header Styles */
.main-header {
    background: linear-gradient(to right, #2c7bdb, #3a8beb);
    color: white;
    padding: 30px 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.profile-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.profile-image {
    margin-right: 30px;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.profile-text h1 {
    margin-bottom: 5px;
    color: white;
}

.profile-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Navigation */
.main-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: white;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.main-nav a.active {
    background-color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
}

/* Home Page */
.intro {
    text-align: center;
    padding: 50px 30px;
}

.cta-buttons {
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #2c7bdb;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #1c6bc7;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 30px;
    align-items: start;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.skills-list li {
    background-color: #f0f7ff;
    padding: 8px 15px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
}

.about-photo img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Travel Page */
.travel-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.travel-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.travel-card:hover {
    transform: translateY(-5px);
}

.travel-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.travel-card h3, .travel-card p {
    padding: 0 15px;
}

.travel-card h3 {
    margin-top: 15px;
}

.travel-card p {
    padding-bottom: 15px;
}

/* Projects Page */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3, .project-card p {
    padding: 0 20px;
}

.project-card h3 {
    margin-top: 15px;
}

.project-links {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px 20px;
}

.project-links a {
    padding: 8px 12px;
    background-color: #f0f7ff;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-links a:hover {
    background-color: #2c7bdb;
    color: white;
}

/* Resume Page */
.resume-download {
    text-align: center;
    margin-bottom: 30px;
}

.download-button {
    display: inline-block;
    background-color: #2c7bdb;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-button:hover {
    background-color: #1c6bc7;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.resume-section {
    margin-bottom: 30px;
}

.resume-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.resume-item:last-child {
    border-bottom: none;
}

.resume-date {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-category ul {
    list-style: disc;
    padding-left: 20px;
}

.skill-category li {
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: #1c2331;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: white;
    margin: 0 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 5px 0;
    }
}