/* ===== OMEGA CREATIONS — SHARED STYLES ===== */

/* Inline SVG Icon System */
.icon { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; line-height: 1; }
.icon svg { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; display: block; }
.icon svg[fill="none"] { fill: none; stroke: currentColor; }

/* Variables */
:root {
    --black: #1a1a1a;
    --dark-grey: #2d2d2d;
    --medium-grey: #6b6b6b;
    --light-grey: #f5f5f5;
    --lighter-grey: #fafafa;
    --white: #ffffff;
    --accent: #c8c8c8;
    --red: #c0392b;
    --red-light: rgba(192, 57, 43, 0.08);
    --red-glow: rgba(192, 57, 43, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 14px 60px;
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--black);
}

.navbar-logo svg { width: 42px; height: 42px; }
.navbar-logo img { width: 42px; height: 42px; object-fit: contain; }

/* Footer logo */
.footer-brand .navbar-logo { color: white; }
.footer-brand .navbar-logo img { width: 36px; height: 36px; }
.footer-brand .navbar-logo svg { width: 36px; height: 36px; }

.navbar-logo span {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a.active::after { width: 100%; }

.lang-switch {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 6px 14px;
    border: 1px solid var(--black);
    transition: var(--transition);
}

.lang-switch:hover { background: var(--black); color: var(--white); }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--black);
    transition: var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ===== PAGE HEADER (services, portfolio, contact) ===== */
.page-header {
    padding: 160px 60px 80px;
    text-align: center;
    background: var(--lighter-grey);
}

.page-header-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}

.page-header-title {
    font-family: 'Inter', sans-serif;
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
}

.page-header-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--medium-grey);
    max-width: 550px;
    margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 60px 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.footer-brand p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--accent);
    line-height: 1.8;
    margin-top: 20px;
}

.footer-title {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 300;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--red); }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-contact-item i, .footer-contact-item .icon { margin-top: 4px; font-size: 0.85rem; color: var(--red); }
.footer-contact-item .icon svg { height: 14px; width: auto; }
.footer-contact-item a { color: #ffffff; text-decoration: none; transition: var(--transition); }
.footer-contact-item a:hover { color: var(--red); }

.social-icons { display: flex; gap: 20px; margin-top: 30px; }

.social-icons a {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white); text-decoration: none;
    transition: var(--transition); font-size: 0.9rem;
}
.social-icons a .icon svg { height: 16px; width: auto; }

.social-icons a:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--medium-grey);
    font-weight: 300;
}

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transition: opacity 0.8s ease; }
.fade-in.visible { opacity: 1; }

/* ===== RESPONSIVE — SHARED ===== */
@media (max-width: 1024px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar { padding: 16px 24px; }
    .navbar.scrolled { padding: 12px 24px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px 24px;
        gap: 0;
        box-shadow: 0 10px 40px rgba(0,0,0,0.08);
        border-top: 1px solid rgba(0,0,0,0.06);
    }
    .nav-links.open { display: flex; }
    .nav-links li { padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
    .nav-links li:last-child { border-bottom: none; padding-top: 20px; }
    .nav-links a { font-size: 0.95rem; letter-spacing: 1px; }
    .menu-toggle { display: flex; }
    .page-header { padding: 130px 24px 60px; }
    .page-header-title { font-size: 2.4rem; }
    .footer { padding: 60px 24px 30px; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
    .faq-container { padding: 0 24px; }
    .faq-title { font-size: 2rem; }
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 100px 0;
    background: #ffffff;
}
.faq-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}
.faq-title {
    font-size: 2.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: -0.5px;
}
.faq-subtitle {
    font-size: 0.95rem;
    color: #6b6b6b;
    text-align: center;
    max-width: 550px;
    margin: 0 auto 50px;
    line-height: 1.7;
}
.faq-list {
    display: flex;
    flex-direction: column;
}
.faq-item {
    border-top: 1px solid #e0e0e0;
}
.faq-item:last-child {
    border-bottom: 1px solid #e0e0e0;
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.5;
    gap: 16px;
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: #c0392b;
}
.faq-toggle {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: #1a1a1a;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-toggle::before {
    width: 14px;
    height: 1.5px;
}
.faq-toggle::after {
    width: 1.5px;
    height: 14px;
}
.faq-question:hover .faq-toggle::before,
.faq-question:hover .faq-toggle::after {
    background: #c0392b;
}
.faq-question[aria-expanded="true"] .faq-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer.open {
    max-height: 500px;
}
.faq-answer p {
    padding: 0 0 20px 36px;
    font-size: 0.9rem;
    color: #4a4a4a;
    line-height: 1.8;
}
@media (max-width: 768px) {
    .faq-section { padding: 60px 0; }
    .faq-container { padding: 0 24px; }
    .faq-title { font-size: 1.8rem; }
    .faq-answer p { padding-left: 36px; }
}

/* ===== PORTFOLIO PAGE STYLES ===== */

/* Filter Section */
.filter-section {
    padding: 40px 60px;
    text-align: center;
}

.filter-btn {
    display: inline-block;
    padding: 10px 24px;
    margin: 8px;
    border: 1px solid var(--medium-grey);
    background: transparent;
    color: var(--black);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 2px;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    height: 300px;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    opacity: 1;
    animation: fadeIn 0.6s ease-in;
    contain: layout style paint;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.portfolio-item.wide { grid-column: span 2; }

.portfolio-item-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #cccccc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark-grey);
    font-weight: 500;
    text-align: center;
    padding: 20px;
}

.portfolio-item:hover .portfolio-item-bg { filter: brightness(0.8); }

.portfolio-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(26, 26, 26, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-bottom: 0px solid var(--red);
}

.portfolio-item:hover .portfolio-overlay {
    background: rgba(26, 26, 26, 0.7);
    border-bottom: 3px solid var(--red);
}

.portfolio-overlay-content {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay-content {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.portfolio-overlay-category {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

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

/* CTA Banner (Portfolio variant — dark) */
.cta-banner {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 80px 60px;
}

.cta-banner-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-banner-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--accent);
    margin-bottom: 36px;
}

.cta-banner-btn {
    display: inline-block;
    padding: 16px 48px;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.cta-banner-btn:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

/* ===== RESPONSIVE — PORTFOLIO ===== */
@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-item.wide { grid-column: span 1; }
}

@media (max-width: 768px) {
    .filter-section { padding: 30px 24px; }
    .portfolio-grid { grid-template-columns: 1fr; padding: 30px 24px; }
    .cta-banner { padding: 60px 24px; }
    .cta-banner-title { font-size: 2rem; }
}
