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

body {
    font-family: 'Lato', sans-serif;
    background: #F5F1E8;
    color: #3E2723;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 253, 248, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 2px solid #D4A574;
    box-shadow: 0 2px 20px rgba(62, 39, 35, 0.1);
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6D4C41;
    font-family: 'Playfair Display', serif;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: #5D4037;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

nav a:hover {
    color: #A67C52;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #A67C52;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, #F5F1E8 0%, #EAE3D2 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: glow 4s infinite;
}

@keyframes glow {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #6D4C41;
    line-height: 1.2;
    font-weight: 700;
}

.hero h2 {
    font-size: 1.8rem;
    color: #8D6E63;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero p {
    font-size: 1.2rem;
    color: #5D4037;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    font-family: 'Lato', sans-serif;
}

.btn-primary {
    background: #A67C52;
    color: #FFFDF8;
    box-shadow: 0 5px 20px rgba(166, 124, 82, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(166, 124, 82, 0.4);
    background: #8D6E63;
}

.btn-secondary {
    background: transparent;
    color: #A67C52;
    border: 2px solid #A67C52;
}

.btn-secondary:hover {
    background: #A67C52;
    color: #FFFDF8;
}

/* Photo Section */
.hero-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-photo img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    border: 4px solid #D4A574;
    box-shadow: 0 20px 60px rgba(62, 39, 35, 0.2);
    transition: all 0.3s;
}

.hero-photo img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(62, 39, 35, 0.3);
}

.photo-note {
    margin-top: 1rem;
    color: #8D6E63;
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
}

section {
    padding: 100px 2rem;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #6D4C41;
}

.section-subtitle {
    text-align: center;
    color: #8D6E63;
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.about {
    background: #EAE3D2;
}

.about-text {
    font-size: 1.1rem;
    color: #5D4037;
    margin-bottom: 3rem;
    line-height: 1.9;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.focus-card {
    background: #FFFDF8;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #E6D0B8;
    transition: all 0.3s;
}

.focus-card:hover {
    transform: translateY(-10px);
    border-color: #D4A574;
    box-shadow: 0 15px 40px rgba(166, 124, 82, 0.2);
}

.focus-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.focus-card h3 {
    color: #A67C52;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.focus-card p {
    color: #8D6E63;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.skill-card {
    background: #FFFDF8;
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid #E6D0B8;
    transition: all 0.3s;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: #C4996E;
    box-shadow: 0 15px 40px rgba(166, 124, 82, 0.2);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.skill-icon {
    font-size: 3rem;
}

.skill-card h3 {
    color: #A67C52;
    font-size: 1.6rem;
}

.skill-card p {
    color: #8D6E63;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background: #EAE3D2;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #C4996E, #A67C52);
    border-radius: 5px;
    transition: width 1.5s ease;
    width: 0;
}

.skill-percentage {
    position: absolute;
    right: 10px;
    top: -25px;
    color: #A67C52;
    font-weight: bold;
}

.projects {
    background: #EAE3D2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: #FFFDF8;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #E6D0B8;
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #B8936A;
    box-shadow: 0 20px 50px rgba(166, 124, 82, 0.25);
}

.project-header {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(196, 153, 110, 0.15));
    padding: 2rem;
    border-bottom: 2px solid #E6D0B8;
}

.project-tag {
    display: inline-block;
    background: #C4996E;
    color: #FFFDF8;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-card h3 {
    color: #6D4C41;
    font-size: 1.6rem;
}

.project-body {
    padding: 2rem;
}

.project-description {
    color: #5D4037;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tag {
    background: rgba(212, 165, 116, 0.15);
    color: #A67C52;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid #D4A574;
}

/* Contact Section */
.contact-methods-center {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #FFFDF8;
    border-radius: 15px;
    border: 2px solid #E6D0B8;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
}

.contact-item:hover {
    border-color: #D4A574;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(166, 124, 82, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #A67C52;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #8D6E63;
    font-size: 0.95rem;
}

footer {
    background: #6D4C41;
    padding: 2.5rem 0;
    text-align: center;
    border-top: 2px solid #A67C52;
}

footer p {
    color: #F5F1E8;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #D4A574;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #F5F1E8;
}

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    .focus-grid {
        grid-template-columns: 1fr;
    }
    .contact-methods-center {
        grid-template-columns: 1fr;
    }
    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-photo img {
        width: 280px;
        height: 280px;
    }
}
