/* ABC Portfolio Grid - Complete Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #00b8d4; --secondary: #0097a7; --accent: #ffc107;
    --dark: #2c3e50; --light: #ecf0f1; --text: #333; --text-light: #777;
}
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: var(--text); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: all 0.3s; }

/* Top Bar */
.top-bar { background: var(--dark); color: white; padding: 12px 0; font-size: 14px; }
.top-bar-content { display: flex; justify-content: space-between; }
.top-left { display: flex; gap: 30px; }
.top-bar i { margin-right: 8px; color: var(--primary); }
.top-bar a:hover { color: var(--primary); }

/* Header */
.main-header { background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; }
.nav-menu { display: flex; list-style: none; gap: 35px; }
.nav-menu a { font-weight: 500; color: var(--dark); position: relative; }
.nav-menu a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--primary); transition: all 0.3s; }
.nav-menu a:hover::after, .nav-menu li.active a::after { width: 100%; }
.hamburger { display: none; flex-direction: column; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--dark); margin: 3px 0; }

/* Page Title */
.page-title { background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 80px 0; text-align: center; color: white; }
.page-title h1 { font-size: 48px; font-weight: 700; margin-bottom: 15px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { opacity: 0.7; }

/* Portfolio Intro */
.portfolio-intro { padding: 80px 0 40px; background: white; }
.section-header { text-align: center; }
.section-subtitle { display: inline-block; color: var(--primary); font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; font-size: 14px; }
.section-header h2 { font-size: 42px; color: var(--dark); margin-bottom: 15px; }
.section-header p { color: var(--text-light); max-width: 700px; margin: 0 auto; }

/* Portfolio Section */
.portfolio-section { padding: 40px 0 80px; background: white; }

/* Filter */
.portfolio-filter { display: flex; justify-content: center; gap: 10px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn { padding: 12px 30px; background: var(--light); border: 2px solid var(--light); border-radius: 50px; font-size: 15px; font-weight: 600; color: var(--dark); cursor: pointer; transition: all 0.3s; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-2px); }

/* Portfolio Grid */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.portfolio-item { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: all 0.4s; }
.portfolio-item.hide { display: none; }
.portfolio-item:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }

.portfolio-image { position: relative; overflow: hidden; }
.portfolio-image img { width: 100%; height: 300px; object-fit: cover; transition: all 0.4s; }
.portfolio-item:hover .portfolio-image img { transform: scale(1.1); }

.portfolio-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); opacity: 0; transition: all 0.4s; display: flex; align-items: center; justify-content: center; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-link { width: 60px; height: 60px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; transition: all 0.3s; }
.portfolio-link:hover { background: white; color: var(--primary); transform: rotate(90deg); }

.portfolio-info { padding: 25px; text-align: center; }
.portfolio-info h3 { font-size: 20px; margin-bottom: 8px; }
.portfolio-info h3 a { color: var(--dark); }
.portfolio-info h3 a:hover { color: var(--primary); }
.portfolio-category { color: var(--primary); font-size: 14px; font-weight: 600; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 60px; }
.page-number { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; background: var(--light); border-radius: 5px; font-weight: 600; color: var(--dark); transition: all 0.3s; }
.page-number:hover, .page-number.active { background: var(--primary); color: white; }

/* Footer */
.main-footer { background: var(--dark); color: white; padding: 60px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 60px; margin-bottom: 20px; }
.footer-col h3, .footer-col h4, .footer-col h5 { margin-bottom: 20px; }
.footer-col p { color: rgba(255,255,255,0.7); margin-bottom: 15px; }
.footer-info { list-style: none; }
.footer-info li { margin-bottom: 15px; display: flex; gap: 10px; color: rgba(255,255,255,0.7); }
.footer-info i { color: var(--primary); margin-top: 3px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; padding: 12px; border: none; border-radius: 5px; }
.newsletter-form button { padding: 12px 20px; background: var(--primary); color: white; border: none; border-radius: 5px; cursor: pointer; }
.instagram-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.instagram-item img { width: 100%; height: 100px; object-fit: cover; border-radius: 5px; transition: all 0.3s; }
.instagram-item:hover img { transform: scale(1.1); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu { position: fixed; left: -100%; top: 90px; flex-direction: column; background: white; width: 100%; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); transition: all 0.3s; z-index: 999; }
    .nav-menu.active { left: 0; }
    .page-title h1 { font-size: 36px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 32px; }
}
