/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: white;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: block;
    width: 120px;
}

.logo {
    width: 100%;
    height: auto;
    display: block;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #C55E2B;
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: white;
    border: 1.5px solid #E0E0E0;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: white;
    border-top: 1px solid #E0E0E0;
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-link {
    font-family: 'Inter', sans-serif;
    width: 100%;
    text-align: left;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s;
    display: block;
}

.mobile-nav-link:hover {
    background-color: #FFF5F0;
    color: #C55E2B;
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo-link {
        width: 100px;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 1.5rem 5rem;
    position: relative;
}

.decorative-circle {
    position: absolute;
    top: 15%;
    left: 10%;
    width: 80px;
    height: 80px;
    border: 2px solid #FFE8DC;
    border-radius: 50%;
    opacity: 0.5;
    animation: rotate 20s linear infinite;
}

.profile-pic img {
    width: 160px;
    border-radius: 50%;
    margin-bottom: 15px;
}


.decorative-square {
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 100px;
    height: 100px;
    border: 2px solid #C55E2B;
    border-radius: 20px;
    opacity: 0.3;
    animation: rotateReverse 25s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateReverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.hero-content {
    max-width: 64rem;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 0.7s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.portfolio-badge {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    font-weight: 500;
    color: #C55E2B;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
    font-weight: 300;
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn {
    font-family: 'Inter', sans-serif;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s;
    border: none;
}

.btn:hover {
    transform: scale(1.05);
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background-color: #C55E2B;
    color: white;
    box-shadow: 0 4px 12px rgba(197, 94, 43, 0.2);
}

.btn-secondary {
    background-color: white;
    color: #1a1a1a;
    border: 1.5px solid #E0E0E0;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #C55E2B;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* About Section */
.about-section {
    padding: 6rem 1.5rem;
    background-color: white;
}

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
}

.section-title.centered {
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
    font-weight: 300;
}

.skills-section {
    padding-top: 1.5rem;
}

.skills-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    font-size: 0.9rem;
    font-weight: 400;
    color: #C55E2B;
    background-color: #FFF5F0;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    border: 1px solid #FFE8DC;
}

.cv-button-container {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.btn-cv {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    color: #1a1a1a;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 1.5px solid #E0E0E0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.btn-cv:hover {
    border-color: #C55E2B;
    color: #C55E2B;
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .cv-button-container {
        justify-content: flex-start;
    }
}

/* Work Section */
.work-section {
    padding: 6rem 1.5rem;
    background-color: white;
}

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

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.project-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.3) 60%, transparent 100%);
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.project-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.project-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.project-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #C55E2B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1);
}

.project-icon svg {
    color: white;
}

@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact-section {
    padding: 6rem 1.5rem;
    background-color: white;
}

.contact-container {
    max-width: 64rem;
    margin: 0 auto;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #666;
    font-weight: 300;
    margin-bottom: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    color: #1a1a1a;
    background-color: white;
    border: 1.5px solid #E0E0E0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #C55E2B;
}

.form-group textarea {
    resize: vertical;
}

.btn-full {
    width: 100%;
    padding: 1.125rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: white;
    border: 1.5px solid #E0E0E0;
    border-radius: 50%;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.social-icon:hover {
    border-color: #C55E2B;
    color: #C55E2B;
    transform: scale(1.1);
}

/* Footer */
.footer {
    padding: 4rem 1.5rem;
    background-color: #1a1a1a;
}

.footer-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.footer-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.6;
    color: white;
    font-weight: 400;
    margin-bottom: 2rem;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-copyright p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}
