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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(168, 200, 185, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #A8C8B9, #7A9B8A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

nav a:hover {
    color: #A8C8B9;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #A8C8B9, #7A9B8A);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 0;
    background: 
        linear-gradient(135deg, rgba(168, 200, 185, 0.85), rgba(217, 203, 174, 0.85)),
        url('images/roadside-signs.jpg') center/cover;
    margin: 2rem 0;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 200, 185, 0.7), rgba(217, 203, 174, 0.7));
    border-radius: 20px;
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

/* Profile Photo Styles */
.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
    display: block;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(168, 200, 185, 0.3);
    transition: all 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(168, 200, 185, 0.4);
}

/* Alternative: Profile section for About page */
.profile-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.profile-section .profile-photo {
    flex-shrink: 0;
    margin: 0;
}

.profile-text {
    flex: 1;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.contact-button {
    display: inline-block;
    background: linear-gradient(135deg, #A8C8B9, #7A9B8A);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 200, 185, 0.4);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 200, 185, 0.6);
}

/* Content Sections */
.content-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-align: center;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-card {
    background: linear-gradient(135deg, rgba(168, 200, 185, 0.1), rgba(217, 203, 174, 0.1));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(168, 200, 185, 0.2);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(168, 200, 185, 0.2);
}

.skill-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Projects */
.project-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-item {
    background: linear-gradient(135deg, rgba(168, 200, 185, 0.05), rgba(217, 203, 174, 0.05));
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #A8C8B9;
    transition: all 0.3s ease;
}

.project-item:hover {
    background: linear-gradient(135deg, rgba(168, 200, 185, 0.1), rgba(217, 203, 174, 0.1));
    transform: translateX(5px);
}

.project-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-info {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
}

.contact-info a {
    color: #A8C8B9;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #7A9B8A;
}

/* Resume Section */
.resume-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(168, 200, 185, 0.3);
}

.resume-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #A8C8B9, #7A9B8A);
    color: white !important;
    padding: 1rem 2rem;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 200, 185, 0.4);
}

.resume-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 200, 185, 0.6);
    color: white !important;
}

.resume-button svg {
    transition: transform 0.3s ease;
}

.resume-button:hover svg {
    transform: scale(1.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: #666;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

/* Page-specific content visibility - REMOVED (not needed for separate files) */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Page transition effects */
body {
    transition: opacity 0.6s ease-in-out;
}

/* Button ripple effect animation */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
