/* Modern Photography Portfolio CSS - Inspired by Top Japanese Photographers */

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

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #666666;
    --text-light: #999999;
    --bg-dark: #0a0a0a;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    /* カスタムカーソル */
    --cursor-base: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='16' cy='16' r='3' fill='%23000'/%3E%3C/svg%3E") 16 16, auto;
    --cursor-interactive: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='16' cy='16' r='3' fill='%23000'/%3E%3C/svg%3E") 16 16, pointer;
}

/* Global Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1.6;
    color: var(--primary-color);
    background: var(--secondary-color);
    overflow-x: hidden;
    cursor: var(--cursor-base);
}

body {
    opacity: 0;
}

body.page-ready {
    animation: pageFadeIn 0.8s ease forwards;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.nav.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-brand a {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: var(--transition);
}

.nav-brand a:hover {
    opacity: 0.7;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--accent-color);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 20px;
}

.nav-link.active::after {
    width: 20px;
}

button,
a,
.load-more-btn,
.filter-button,
.work-item,
.close {
    cursor: var(--cursor-interactive);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: var(--cursor-interactive);
    gap: 4px;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 1px;
}

.nav-toggle:hover span {
    background: var(--accent-color);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--secondary-color);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.hero-title-line {
    display: block;
    opacity: 0;
    transform: translateY(100px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--accent-color);
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: lowercase;
    border-radius: 0;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
}

.scroll-indicator span {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--text-light);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* Projects Section */
.projects {
    padding: 8rem 0;
    background: #fafafa;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

@media (max-width: 1100px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.project-card {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-card a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--secondary-color);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card a:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.project-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
}

/* Work Section */
.work {
    padding: 8rem 0;
    background: var(--secondary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 300;
}

.filter-sort-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.category-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sort-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.6rem;
    border: 1px solid var(--primary-color);
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: var(--cursor-interactive);
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 0;
}

.sort-toggle:hover,
.sort-toggle:focus-visible {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.sort-toggle #sort-icon {
    font-size: 0.9rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.filter-button {
    padding: 0.6rem 1.6rem;
    border: 1px solid var(--primary-color);
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: var(--cursor-interactive);
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 0;
}

.filter-button:hover,
.filter-button:focus-visible {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.filter-button.active {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.filter-button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.filter-button:focus:not(:focus-visible) {
    outline: none;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2px;
    margin-bottom: 4rem;
}

@media (max-width: 1320px) {
    .work-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .work-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .work-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.work-item {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    cursor: var(--cursor-interactive);
    background: #f8f8f8;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #f5f5f5;
    /* Performance optimizations for 400px images */
    will-change: opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
    max-width: 400px;
    max-height: 400px;
    margin: 0 auto;
}

.work-item img[data-src] {
    opacity: 0.7;
}

/* Work info styles removed for minimal 1:1 grid layout */

.load-more-container {
    text-align: center;
}

.load-more-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: lowercase;
    cursor: var(--cursor-interactive);
    transition: var(--transition);
}

.load-more-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* About Section */
.about {
    padding: 8rem 0;
    background: #fafafa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 3rem;
}

.about-description p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--accent-color);
    line-height: 1.8;
}

.specialties {
    margin-top: 3rem;
}

.specialties h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: var(--accent-color);
    border-radius: 0;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-frame {
    width: 300px;
    height: 400px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--secondary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--accent-color);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--primary-color);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    background: transparent;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--primary-color);
    transition: var(--transition);
    cursor: text;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.submit-btn {
    align-self: flex-start;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: lowercase;
    cursor: var(--cursor-interactive);
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--accent-color);
}

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    background: #f8f8f8;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.modal-visible {
    opacity: 1;
    background: rgba(255, 255, 255, 0.95);
}

.modal.modal-visible.modal-closing {
    background: rgba(255, 255, 255, 0);
    opacity: 0;
    transition: background 0.4s ease, opacity 0.4s ease;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--text-light);
    cursor: var(--cursor-interactive);
    z-index: 1;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-color);
}

.modal-content img,
.modal-content picture {
    width: 100%;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 0;
}


.modal-image-enter {
    opacity: 0;
    animation: modalFadeIn 0.6s ease forwards;
    animation-delay: 0.2s;
}

.modal-image-exit {
    animation: modalFadeOut 0.4s ease forwards;
}

.modal-meta {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--text-color);
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: auto;
}

.modal-meta-visible {
    opacity: 1;
}

/* Star Rating */
.star-rating {
    display: inline-flex;
    gap: 0.25rem;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    cursor: pointer;
}

.star-rating .star {
    color: #fff;
    -webkit-text-stroke: 1px #000;
    transition: color 0.2s ease, transform 0.15s ease;
    cursor: var(--cursor-interactive);
    user-select: none;
}

.star-rating .star.filled {
    color: #000;
    -webkit-text-stroke: 1px #000;
}

.star-rating .star:hover {
    transform: scale(1.15);
}

/* Performance optimized animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        cursor: var(--cursor-base);
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        filter: brightness(1.1);
    }
    to {
        opacity: 1;
        filter: brightness(1);
    }
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* GPU acceleration for smooth animations */
.work-item {
    backface-visibility: hidden;
}

.work-item img {
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.work-item:hover img {
    filter: brightness(1.08);
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(0.5);
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 0.9rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    body.nav-open {
        overflow: hidden;
    }
    
    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .work,
    .about,
    .contact {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1px;
    }
}

/* Projects Modal */
.projects-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    opacity: 0;
    transition: background 0.4s ease, opacity 0.4s ease, backdrop-filter 0.4s ease;
}

.projects-modal.projects-modal-visible {
    display: flex;
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.projects-modal.projects-modal-closing {
    opacity: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
}

.projects-modal-content {
    background: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 100%;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    animation: projectsModalSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects-modal.projects-modal-closing .projects-modal-content {
    animation: projectsModalSlideDown 0.4s ease forwards;
}

.projects-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: var(--cursor-interactive);
    z-index: 10;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-modal-close:hover {
    color: var(--primary-color);
}

.projects-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.projects-modal-thumbnail {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}

.projects-modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.projects-modal-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.5rem;
}

.projects-modal-info h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--primary-color);
}

.projects-modal-info p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--accent-color);
}

.projects-modal-link-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition);
    cursor: var(--cursor-interactive);
    text-align: center;
    width: fit-content;
}

.projects-modal-link-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Projects Modal - Mobile */
@media (max-width: 768px) {
    .projects-modal-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .projects-modal-info h2 {
        font-size: 1.3rem;
    }

    .projects-modal-content {
        border-radius: 8px;
    }
}

@keyframes projectsModalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes projectsModalSlideDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(30px);
    }
}