/* Shared styles for project case study pages (gym, hospital, spa, salon) */
:root {
    --primary: #1a936f;
    --primary-dark: #0A4D4A;
    --primary-light: #2E7D32;
    --accent: #76ff03;
    --accent-light: #b2ff59;
    --text-primary: #1a2b3c;
    --text-secondary: #546e7a;
    --text-muted: #78909c;
    --bg-primary: #ffffff;
    --bg-secondary: #f0fdf4;
    --bg-tertiary: #dcfce7;
    --border: #e0e7ec;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text-primary); background: var(--bg-primary); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { color: var(--text-secondary); margin-bottom: 1rem; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-secondary); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-family: var(--font); font-size: 15px; font-weight: 600; border: none; border-radius: var(--radius-md); cursor: pointer; transition: var(--transition); }
.btn--primary { background: var(--gradient-primary); color: var(--white); box-shadow: 0 4px 14px rgba(26, 147, 111, 0.35); }
.btn--primary:hover { transform: translateY(-2px); color: var(--white); }
.btn--outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--white); }
.btn--ghost { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.btn--ghost:hover { background: rgba(255,255,255,0.2); color: var(--white); }
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 16px 0; transition: var(--transition); }
.header--scrolled { background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); box-shadow: var(--shadow-sm); padding: 12px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; }
.header__logo img { height: 40px; width: auto; }
.nav__list { display: flex; list-style: none; gap: 28px; }
.nav__link { font-size: 15px; font-weight: 500; color: var(--white); transition: var(--transition); }
.header--scrolled .nav__link { color: var(--text-primary); }
.nav__link:hover { color: var(--accent-light); }
.header--scrolled .nav__link:hover { color: var(--primary); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.nav__toggle span { width: 24px; height: 2px; background: var(--white); }
.header--scrolled .nav__toggle span { background: var(--text-primary); }
.hero { padding: 140px 0 80px; background: var(--gradient-primary); position: relative; overflow: hidden; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(255,255,255,0.15); border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.hero__title { color: var(--white); margin-bottom: 12px; font-weight: 800; }
.hero__subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.9); max-width: 560px; }
.section-header { margin-bottom: 48px; }
.section-header__badge { display: inline-block; padding: 6px 14px; background: var(--bg-tertiary); color: var(--primary); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 100px; margin-bottom: 12px; }
.section-header__title { margin-bottom: 12px; }
.section-header__subtitle { font-size: 18px; color: var(--text-secondary); }
.project-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.project-overview__text p { margin-bottom: 16px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 24px; }
.project-meta__item { padding: 16px 24px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.project-meta__label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.project-meta__value { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.deliverables__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.deliverable-card { padding: 28px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); }
.deliverable-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.deliverable-card__icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--bg-tertiary); border-radius: var(--radius-md); margin-bottom: 16px; color: var(--primary); }
.deliverable-card__title { font-size: 1.1rem; margin-bottom: 8px; }
.deliverable-card__description { font-size: 14px; color: var(--text-secondary); margin-bottom: 0; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-tags span { padding: 8px 16px; background: var(--bg-tertiary); color: var(--primary); font-size: 14px; font-weight: 600; border-radius: 100px; }
.cta-box { text-align: center; padding: 60px 40px; background: var(--gradient-primary); border-radius: var(--radius-lg); color: var(--white); }
.cta-box h2 { color: var(--white); margin-bottom: 12px; }
.cta-box p { color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.cta-box .btn--ghost { border-color: rgba(255,255,255,0.5); }
.cta-box .btn--ghost:hover { background: rgba(255,255,255,0.2); }
.footer { background: var(--text-primary); color: var(--white); padding: 48px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(2, 1fr); gap: 40px; margin-bottom: 32px; }
.footer__brand p { color: rgba(255,255,255,0.6); font-size: 14px; margin: 16px 0 20px; }
.footer__column h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: rgba(255,255,255,0.6); font-size: 14px; transition: var(--transition); }
.footer__links a:hover { color: var(--accent-light); }
.footer__bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; color: rgba(255,255,255,0.5); font-size: 14px; }
.back-to-top { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--gradient-primary); color: var(--white); border: none; border-radius: 50%; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); box-shadow: var(--shadow-md); z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* Finished Projects Gallery */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-card {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--border); transition: var(--transition);
    cursor: pointer;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(26, 147, 111, 0.35); }
.gallery-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--gradient-primary); overflow: hidden; }
.gallery-card__img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05); transition: var(--transition); }
.gallery-card:hover .gallery-card__img { transform: scale(1.04); }
.gallery-card__overlay {
    position: absolute; inset: 0;
    background: rgba(10, 77, 74, 0.68);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition);
}
.gallery-card:hover .gallery-card__overlay { opacity: 1; }
.gallery-card__overlay span { padding: 10px 18px; border-radius: 100px; background: rgba(255,255,255,0.95); color: var(--primary-dark); font-weight: 700; font-size: 13px; }
.gallery-card__body { padding: 18px 18px 20px; }
.gallery-card__title { font-size: 1.05rem; margin-bottom: 6px; }
.gallery-card__desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 10px; }
.gallery-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-card__tags span { padding: 4px 10px; background: var(--bg-tertiary); color: var(--primary); font-size: 11px; font-weight: 700; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.04em; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.86); cursor: pointer; }
.lightbox__content { position: relative; z-index: 2; width: min(1100px, 92vw); max-height: 86vh; }
.lightbox__layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: start; }
.lightbox__img { width: 100%; max-height: 86vh; object-fit: contain; border-radius: var(--radius-md); display: block; background: rgba(255,255,255,0.02); }
.lightbox__panel {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-md);
    padding: 18px;
    color: rgba(255,255,255,0.92);
    max-height: 86vh;
    overflow: auto;
    backdrop-filter: blur(10px);
}
.lightbox__title { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.lightbox__desc { font-size: 14px; color: rgba(255,255,255,0.78); margin-bottom: 12px; }
.lightbox__list { list-style: none; display: grid; gap: 10px; }
.lightbox__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,0.86); }
.lightbox__list li::before { content: \"\"; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex: 0 0 8px; }

@media (max-width: 900px) {
    .lightbox__layout { grid-template-columns: 1fr; }
    .lightbox__panel { max-height: unset; }
}
.lightbox__close {
    position: absolute; top: 18px; right: 18px; z-index: 3;
    width: 44px; height: 44px; border: none; border-radius: 50%;
    background: rgba(255,255,255,0.14); color: var(--white);
    font-size: 28px; line-height: 1; cursor: pointer; transition: var(--transition);
}
.lightbox__close:hover { background: rgba(255,255,255,0.22); }
@media (max-width: 1024px) { .project-overview { grid-template-columns: 1fr; } .deliverables__grid { grid-template-columns: 1fr; } .gallery__grid { grid-template-columns: repeat(2, 1fr); } .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .nav__list { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; flex-direction: column; align-items: center; justify-content: center; gap: 24px; background: var(--white); transform: translateX(-100%); transition: var(--transition); z-index: 999; }
    .nav__list.active { transform: translateX(0); }
    .nav__link { color: var(--text-primary); font-size: 18px; }
    .nav__toggle { display: flex; z-index: 1001; }
    .section { padding: 60px 0; }
    .gallery__grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; text-align: center; }
}
