* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --primary-navy: #1a2332; --primary-blue: #2c5282; --accent-red: #1e90ff; --accent-tiffany: #1e90ff; --light-gray: #f7fafc; --white: #ffffff; --text-dark: #2d3748; --text-light: #718096; }
body { font-family: 'Noto Sans KR', sans-serif; color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }

/* Header */
header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; animation: slideDown 0.6s ease-out; }
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.header-top { background: var(--primary-navy); color: var(--white); padding: 10px 0; font-size: 0.9rem; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.header-top a { color: var(--white); text-decoration: none; transition: color 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; }
.header-top a:hover { color: var(--accent-red); }
.header-icon { width: 15px; height: 15px; vertical-align: middle; }
.header-main { padding: 1rem 0; }
.header-main .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; }
.logo { display: block; width: 180px; height: 60px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 900; color: var(--primary-navy); }
.logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-placeholder { color: var(--text-light); font-size: 0.9rem; }
nav ul { display: flex; gap: 2rem; list-style: none; }
nav a { color: var(--text-dark); text-decoration: none; font-weight: 500; transition: color 0.3s; position: relative; }
nav a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--accent-red); transition: width 0.3s; }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--accent-red); }
nav a.active::after { width: 100%; }
.cta-buttons { display: flex; gap: 1rem; }
.btn { padding: 0.8rem 1.5rem; border-radius: 6px; text-decoration: none; font-weight: 700; transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.btn-primary { background: var(--accent-red); color: var(--white); border: 2px solid var(--accent-red); }
.btn-primary:hover { background: #1873cc; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4); }
.btn-tel::before { content: '📞'; margin-right: 0.1rem; }
.btn-primary.btn-tel::before { filter: brightness(0) invert(1); }
.btn-secondary { background: transparent; color: var(--primary-blue); border: 2px solid var(--primary-blue); }
.btn-secondary:hover { background: var(--primary-blue); color: var(--white); transform: translateY(-2px); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Hero Section */
.hero { background: url('/images/background/background_main.png'); background-size: cover; background-position: center; color: var(--white); padding: 100px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>'); opacity: 0.3; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-text { background: rgba(26, 35, 50, 0.75); padding: 2.5rem; border-radius: 12px; }
.hero-text h1 { font-size: 2.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 1rem; animation: fadeInUp 0.8s ease-out; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-text h1 span { color: var(--accent-red); }
.hero-text p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; animation: fadeInUp 0.8s ease-out 0.2s backwards; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5); }
.hero-features { list-style: none; margin-bottom: 2rem; animation: fadeInUp 0.8s ease-out 0.4s backwards; }
.hero-features li { padding: 0.5rem 0; display: flex; align-items: center; gap: 0.5rem; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); }
.hero-features li::before { content: '✓'; color: var(--accent-red); font-weight: 900; font-size: 1.2rem; }
.hero-buttons { display: flex; gap: 1rem; animation: fadeInUp 0.8s ease-out 0.6s backwards; }
.hero-image { text-align: center; animation: fadeIn 1s ease-out 0.5s backwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.business-card-image { max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

/* Services Section */
.services { padding: 80px 0; background: var(--light-gray); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 900; color: var(--primary-navy); margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: var(--text-light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.service-card { background: var(--white); padding: 2rem; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: all 0.3s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--accent-red); transform: scaleX(0); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 2rem; }
.service-icon img { width: 40px; height: 40px; object-fit: contain; }
.service-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--primary-navy); margin-bottom: 1rem; }
.service-card p { color: var(--text-light); margin-bottom: 1.5rem; }
.service-card ul { list-style: none; margin-bottom: 1.5rem; }
.service-card ul li { padding: 0.3rem 0; color: var(--text-dark); display: flex; align-items: center; gap: 0.5rem; }
.service-card ul li::before { content: '→'; color: var(--accent-red); font-weight: 700; }
.service-link { color: var(--primary-blue); text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 0.5rem; transition: gap 0.3s; }
.service-link:hover { gap: 1rem; }

/* Portfolio Gallery Section */
.portfolio { padding: 80px 0; background: var(--white); overflow-x: hidden; }
.portfolio .container { overflow-x: hidden; }
.portfolio-container { display: grid; grid-template-columns: 1fr; gap: 2rem; overflow-x: hidden; width: 100%; box-sizing: border-box; }
.portfolio-main { width: 100%; height: 500px; background: var(--light-gray); border-radius: 12px; overflow: hidden; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; box-sizing: border-box; text-decoration: none; color: inherit; transition: transform 0.3s; }
.portfolio-main:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.portfolio-main img { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; object-position: center; transition: transform 0.3s; display: block; }
.portfolio-main:hover img { transform: scale(1.05); }
.portfolio-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; background: linear-gradient(to top, rgba(26, 35, 50, 0.95), transparent); color: var(--white); }
.portfolio-info h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.portfolio-slider-container { position: relative; padding: 10px 50px; overflow: hidden; }
.portfolio-thumbnails { display: flex; gap: 1rem; overflow-x: auto; overflow-y: visible; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 5px 0; }
.portfolio-thumbnails::-webkit-scrollbar { display: none; }
.portfolio-thumb { width: 150px; min-width: 150px; max-width: 150px; height: 120px; background: var(--light-gray); border-radius: 8px; overflow: hidden; cursor: pointer; transition: all 0.3s; border: 3px solid transparent; position: relative; flex-shrink: 0; }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-thumb:hover { transform: translateY(-5px); border-color: var(--accent-red); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.portfolio-thumb.active { border-color: var(--accent-red); box-shadow: 0 5px 15px rgba(30, 144, 255, 0.5); }
.portfolio-count { position: absolute; top: 8px; right: 8px; background: rgba(26, 35, 50, 0.8); color: var(--white); padding: 0.3rem 0.6rem; border-radius: 4px; font-size: 0.8rem; font-weight: 700; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--accent-red); color: var(--white); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: all 0.3s; z-index: 10; }
.slider-btn:hover { background: #1873cc; transform: translateY(-50%) scale(1.1); }
.slider-btn-prev { left: 0; }
.slider-btn-next { right: 0; }

/* Stats Section */
.stats { background: var(--primary-navy); color: var(--white); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.stat-item h3 { font-size: 3rem; font-weight: 900; color: var(--accent-red); margin-bottom: 0.5rem; }
.stat-item p { font-size: 1.1rem; opacity: 0.9; }

/* Why Choose Us Section */
.why-choose { padding: 80px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.feature-item { text-align: center; padding: 2rem; }
.feature-icon { width: 80px; height: 80px; background: var(--light-gray); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 2.5rem; transition: all 0.3s; }
.feature-item:hover .feature-icon { background: var(--accent-red); transform: scale(1.1) rotate(5deg); }
.feature-item h3 { font-size: 1.3rem; font-weight: 700; color: var(--primary-navy); margin-bottom: 1rem; }
.feature-item p { color: var(--text-light); }

/* CTA Section */
.cta-section { background: linear-gradient(135deg, #1e90ff 0%, #1873cc 100%); color: var(--white); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 1rem; }
.cta-content p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }
.cta-buttons-large { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-large { padding: 1rem 1rem; font-size: 1.1rem; }
.btn-white { background: var(--white); color: #1873cc; border: 2px solid var(--white); }
.btn-white:hover { background: transparent; color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline-white:hover { background: var(--white); color: #1873cc; }

/* Footer */
footer { background: var(--primary-navy); color: var(--white); padding: 60px 0 20px; }
.footer-grid-full { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-section h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--white); }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.8rem; }
.footer-section a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s; }
.footer-section a:hover { color: var(--accent-red); }
.footer-contact { line-height: 1.8; margin-top: 1rem; }
.footer-contact p { margin: 0.5rem 0; color: rgba(255,255,255,0.8); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; color: rgba(255,255,255,0.6); }

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 { font-size: 2rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-card-image { height: 200px; }
    .portfolio-detail-header h1 { font-size: 1.8rem; }
    .portfolio-detail-meta { gap: 1rem; font-size: 0.9rem; }
    .portfolio-main-image { height: 300px; }
    .portfolio-gallery .portfolio-thumbnails { display: flex; overflow-x: auto; }
    .portfolio-gallery .portfolio-slider-container { padding: 10px 40px; }
    .portfolio-thumbnail { width: 100px; min-width: 100px; max-width: 100px; height: 75px; }
    .portfolio-content { grid-template-columns: 1fr; }
    .portfolio-nav-top { flex-direction: column; gap: 1rem; }
    .portfolio-nav-item.prev,
    .portfolio-nav-item.next { padding: 1rem 0; border-bottom: 1px solid var(--light-gray); text-align: center !important; }
    .portfolio-nav-back { padding: 1rem 0; } body { overflow-x: hidden; }
.container { padding: 0 15px; }

/* 헤더 모바일 최적화 */
.header-main .container { flex-wrap: nowrap; gap: 0.5rem; }
nav { display: none; }
.cta-buttons { display: flex; gap: 0.5rem; flex-wrap: nowrap; }
.logo { width: 150px; height: 45px; font-size: 0.9rem; flex-shrink: 0; }
.btn { padding: 0.5rem 0.8rem; font-size: 0.85rem; white-space: nowrap; }
.hero { padding: 60px 0; }
.hero-content { grid-template-columns: 1fr; gap: 2rem; }
.hero-text h1 { font-size: 1.8rem; }
.hero-text p { font-size: 1rem; }
.hero-image { display: none; }
.hero-buttons { flex-direction: column; gap: 0.8rem; }
.services { padding: 60px 0; }
.services-grid { grid-template-columns: 1fr; }
.section-header { margin-bottom: 2rem; }
.section-header h2 { font-size: 2rem; }
.stats { padding: 40px 0; }
.stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

/* 시공사례 모바일 완전 최적화 */
.portfolio { padding: 60px 0; overflow-x: hidden; }
.portfolio-container { overflow-x: hidden; }
.portfolio-main { height: 250px; border-radius: 0; }
.portfolio-info { padding: 1rem; }
.portfolio-info h3 { font-size: 1.1rem; }
.portfolio-info p { font-size: 0.85rem; }
.portfolio-slider-container { padding: 10px 35px; overflow: hidden; }
.portfolio-thumbnails { padding: 5px 15px; overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch; }
.portfolio-thumb { width: 100px; min-width: 100px; max-width: 100px; height: 80px; }
.slider-btn { width: 30px; height: 30px; font-size: 1.2rem; }
.slider-btn-prev { left: 5px; }
.slider-btn-next { right: 5px; }
.portfolio-count { font-size: 0.7rem; padding: 0.2rem 0.4rem; }
.features-grid { grid-template-columns: 1fr; }
.why-choose { padding: 60px 0; }
.cta-section { padding: 60px 0; }
.cta-content h2 { font-size: 1.8rem; }
.cta-content p { font-size: 1rem; }
.cta-buttons-large { flex-direction: column; }
.btn-large { padding: 1rem 2rem; font-size: 1rem; width: 100%; }
.footer-grid-full { grid-template-columns: 1fr; gap: 2rem; }
footer { padding: 40px 0 20px; } }
@media (max-width: 480px) { .header-top .container { flex-direction: column; text-align: center; gap: 0.5rem; font-size: 0.85rem; }
.logo { width: 150px; height: 40px; font-size: 0.8rem; }
.btn { padding: 0.4rem 0.6rem; font-size: 0.75rem; }
.hero-text h1 { font-size: 1.5rem; }
.hero-text p { font-size: 0.9rem; }
.hero-features { font-size: 0.9rem; }
.section-header h2 { font-size: 1.6rem; }
.section-header p { font-size: 0.9rem; }
.portfolio-main { height: 200px; }
.portfolio-info h3 { font-size: 1rem; }
.portfolio-info p { font-size: 0.75rem; }
.portfolio-slider-container { padding: 10px 30px; overflow: hidden; }
.portfolio-thumb { width: 90px; min-width: 90px; max-width: 90px; height: 70px; }
.slider-btn { width: 28px; height: 28px; font-size: 1rem; }
.stat-item h3 { font-size: 2rem; }
.stat-item p { font-size: 0.9rem; }
.cta-content h2 { font-size: 1.5rem; }
.btn-large { padding: 0.9rem 1.5rem; font-size: 0.9rem; } }

/* Page Header */
.page-header { background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%); color: var(--white); padding: 50px 0 50px; text-align: center; }
.page-header h1 { font-size: 2.5rem; font-weight: 900; margin-bottom: 1rem; }
.page-header p { font-size: 1.1rem; opacity: 0.9; }

/* Portfolio List */
.portfolio-list { padding: 30px 0; background: var(--light-gray); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2rem; }
.portfolio-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: all 0.3s; cursor: pointer; }
.portfolio-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.portfolio-card-image { width: 100%; height: 250px; background: var(--light-gray); overflow: hidden; position: relative; }
.portfolio-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.portfolio-card:hover .portfolio-card-image img { transform: scale(1.1); }
.portfolio-card-badge { position: absolute; top: 1rem; right: 1rem; background: var(--accent-red); color: var(--white); padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 700; }
.portfolio-card-content { padding: 1.5rem; }
.portfolio-card-content h3 { font-size: 1.3rem; font-weight: 700; color: var(--primary-navy); margin-bottom: 0.5rem; line-height: 1.4; }
.portfolio-card-meta { display: flex; gap: 1rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--text-light); }
.portfolio-card-description { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.portfolio-card-features { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.portfolio-card-feature { background: var(--light-gray); padding: 0.3rem 0.8rem; border-radius: 15px; font-size: 0.85rem; color: var(--text-dark); }
.portfolio-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--light-gray); }
.portfolio-card-date { font-size: 0.9rem; color: var(--text-light); }
.portfolio-card-link { color: var(--accent-red); text-decoration: none; font-weight: 700; font-size: 0.9rem; }
.portfolio-card-link:hover { text-decoration: underline; }

/* Breadcrumb */
.breadcrumb { padding: 1rem 0; background: var(--light-gray); }
.breadcrumb .container { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.breadcrumb a { color: var(--text-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-red); }
.breadcrumb span { color: var(--text-light); }

/* Portfolio Detail */
.portfolio-detail { padding: 20px 0; background: var(--white); }
.portfolio-detail-header { margin-bottom: 3rem; }
.portfolio-detail-header .badge { display: inline-block; background: var(--accent-red); color: var(--white); padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; }
.portfolio-detail-header h1 { font-size: 2.5rem; font-weight: 900; color: var(--primary-navy); margin-bottom: 1rem; line-height: 1.3; }
.portfolio-detail-meta { display: flex; gap: 2rem; margin-bottom: 2rem; font-size: 1rem; color: var(--text-light); flex-wrap: nowrap; }
.portfolio-detail-meta span { display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; }

/* Image Gallery (Detail) */
.portfolio-gallery { margin-bottom: 1.5rem; }
.portfolio-main-image { width: 100%; height: 500px; background: var(--light-gray); border-radius: 12px; overflow: hidden; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; }
.portfolio-main-image img { max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; }
/* Portfolio Detail Thumbnails */
.portfolio-gallery .portfolio-slider-container { position: relative; padding: 10px 50px; overflow: hidden; margin-top: 1rem; }
.portfolio-gallery .portfolio-thumbnails { display: flex; gap: 1rem; overflow-x: auto; overflow-y: visible; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 5px 0; }
.portfolio-gallery .portfolio-thumbnails::-webkit-scrollbar { display: none; }
.portfolio-thumbnail { width: 120px; min-width: 120px; max-width: 120px; height: 90px; background: var(--light-gray); border-radius: 8px; overflow: hidden; cursor: pointer; border: 3px solid transparent; transition: all 0.3s; flex-shrink: 0; }
.portfolio-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-thumbnail:hover { border-color: var(--accent-red); transform: translateY(-3px); }
.portfolio-thumbnail.active { border-color: var(--accent-red); box-shadow: 0 5px 15px rgba(30, 144, 255, 0.3); }

/* Portfolio Content */
.portfolio-content { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.portfolio-description { background: var(--light-gray); padding: 2rem; border-radius: 12px; }
.portfolio-description h2 { font-size: 1.5rem; font-weight: 700; color: var(--primary-navy); margin-bottom: 1rem; }
.portfolio-description p { font-size: 1rem; line-height: 1.8; color: var(--text-dark); margin-bottom: 1.5rem; }
.portfolio-features { background: var(--white); padding: 2rem; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.portfolio-features h2 { font-size: 1.5rem; font-weight: 700; color: var(--primary-navy); margin-bottom: 1rem; }
.portfolio-features ul { list-style: none; }
.portfolio-features ul li { padding: 0.3rem 0; border-bottom: 1px solid var(--light-gray); display: flex; align-items: center; gap: 0.8rem; }
.portfolio-features ul li:last-child { border-bottom: none; }
.portfolio-features ul li::before { content: '✓'; color: var(--accent-red); font-weight: 900; font-size: 1.2rem; }

/* Navigation (Detail) */
.portfolio-navigation { display: flex; flex-direction: column; gap: 1.5rem; padding: 2rem 0; border-top: 2px solid var(--light-gray); border-bottom: 2px solid var(--light-gray); }
.portfolio-nav-top { display: flex; justify-content: space-between; align-items: center; gap: 0rem; }
.portfolio-nav-item { flex: 1; text-decoration: none; color: var(--text-dark); transition: all 0.3s; }
.portfolio-nav-item.prev { text-align: left; }
.portfolio-nav-item.next { text-align: right; }
.portfolio-nav-back { text-align: center; }
.portfolio-nav-item:hover { color: var(--accent-red); }
.portfolio-nav-label { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.5rem; }
.portfolio-nav-title { font-size: 1rem; font-weight: 700; }
.portfolio-nav-back { text-align: center; padding: 0 2rem; }
.portfolio-nav-back .btn { padding: 0.6rem 1.5rem; font-size: 0.9rem; }

/* Animations on scroll */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Pagination */
.pagination { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.1); }
.pagination-info { text-align: center; margin-bottom: 1.5rem; color: var(--text-light); font-size: 0.9rem; }
.pagination-nav { display: flex; justify-content: center; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.pagination-btn { padding: 0.6rem 1rem; background: var(--white); color: var(--text-dark); border: 1px solid rgba(0,0,0,0.1); border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; }
.pagination-btn:hover:not(.disabled) { background: var(--accent-red); color: var(--white); border-color: var(--accent-red); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3); }
.pagination-btn.disabled { opacity: 0.5; cursor: not-allowed; background: var(--light-gray); color: var(--text-light); }
.pagination-numbers { display: flex; gap: 0.5rem; align-items: center; }
.pagination-number { padding: 0.6rem 1rem; background: var(--white); color: var(--text-dark); border: 1px solid rgba(0,0,0,0.1); border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; }
.pagination-number:hover { background: var(--accent-red); color: var(--white); border-color: var(--accent-red); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3); }
.pagination-number.active { background: var(--accent-red); color: var(--white); border-color: var(--accent-red); font-weight: 700; cursor: default; }
.pagination-number.active:hover { transform: none; }
.pagination-ellipsis { padding: 0.6rem 0.5rem; color: var(--text-light); font-size: 0.9rem; }
.portfolio-empty { text-align: center; padding: 4rem 2rem; color: var(--text-light); }
.portfolio-empty p { font-size: 1.1rem; }
