/* ===================================
   Grace Lina - Page-Specific Styles
   Biography, Services, Hobbies, Gallery
   =================================== */

/* ===================================
   Page Header
   =================================== */

.page-header {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.header-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    z-index: -1;
}

.page-label {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.page-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   Biography Page
   =================================== */

.biography-section {
    padding: 80px 0;
}

.biography-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

.profile-sidebar {
    position: sticky;
    top: 120px;
}

.profile-card-bio {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.profile-image-bio {
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-image-bio i {
    font-size: 120px;
    color: white;
    opacity: 0.8;
}

.profile-card-bio h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.profile-role {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
}

.profile-details {
    text-align: left;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 3px;
}

.detail-item div {
    flex: 1;
}

.detail-item strong {
    display: block;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 3px;
}

.detail-item span {
    font-size: 14px;
    color: var(--text-secondary);
}

.profile-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.profile-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    transition: var(--transition-base);
}

.profile-social a:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-3px);
}

.biography-content {
    background: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.bio-section {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 2px solid var(--bg-secondary);
}

.bio-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.bio-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.bio-icon i {
    font-size: 32px;
    color: white;
}

.bio-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.bio-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.highlight-box {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    margin: 30px 0;
    position: relative;
}

.highlight-box i {
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.highlight-box p {
    font-style: italic;
    font-size: 18px;
    color: var(--text-primary);
    margin: 0;
    padding-left: 40px;
}

.skills-timeline {
    margin: 30px 0;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 25px;
    bottom: -30px;
    width: 2px;
    background: var(--bg-secondary);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 15px;
    margin: 0;
}

.career-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.highlight-card {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
}

.highlight-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.highlight-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.highlight-card p {
    font-size: 14px;
    margin: 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    background: var(--gradient-1);
    color: white;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-box i {
    font-size: 36px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.philosophy-list {
    list-style: none;
    margin: 30px 0;
}

.philosophy-list li {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.philosophy-list i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 2px;
}

.cta-box {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 40px;
}

.cta-box h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.cta-box p {
    font-size: 16px;
    margin-bottom: 25px;
}

/* ===================================
   Hobbies Page
   =================================== */

.hobbies-intro {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text .lead {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.intro-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.intro-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hobby-stat {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.hobby-stat i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hobby-stat h3 {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.hobby-stat p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.hobbies-main {
    padding: 80px 0;
}

.hobby-feature {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    padding-bottom: 100px;
    border-bottom: 2px solid var(--bg-secondary);
}

.hobby-feature:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hobby-feature.reverse {
    grid-template-columns: 1fr 1.5fr;
}

.hobby-feature.reverse .hobby-content {
    order: 2;
}

.hobby-feature.reverse .hobby-visual {
    order: 1;
}

.hobby-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hobby-badge.secondary {
    background: rgba(236, 72, 153, 0.1);
    color: var(--secondary-color);
}

.hobby-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hobby-content h2 i {
    margin-right: 15px;
    color: var(--primary-color);
}

.hobby-content .lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.hobby-details {
    margin: 30px 0;
}

.hobby-details h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hobby-details ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hobby-details li {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.hobby-details li i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.hobby-insight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
    padding: 25px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.hobby-insight i {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.hobby-insight p {
    font-style: italic;
    font-size: 16px;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
}

.hobby-visual {
    position: relative;
}

.visual-card {
    background: white;
    padding: 60px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-1);
    opacity: 0.05;
    transform: rotate(45deg);
}

.hobby-icon-large {
    font-size: 120px;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 30px;
}

.visual-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.visual-tags span {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.fitness-benefits {
    margin: 30px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.benefit-item {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
}

.benefit-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.benefit-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.benefit-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.balance-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.balance-content h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.balance-content .lead {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.balance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.balance-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.balance-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.balance-card i {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.balance-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.balance-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.balance-quote {
    background: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
}

.balance-quote i {
    font-size: 48px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.balance-quote blockquote {
    margin: 0;
    padding-top: 40px;
}

.balance-quote p {
    font-size: 22px;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    margin: 0;
}

.hobbies-cta {
    padding: 80px 0;
}

.hobbies-cta .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hobbies-cta h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hobbies-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Services Page
   =================================== */

.services-overview {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.overview-text .lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.overview-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.overview-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.overview-stat-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
}

.overview-stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.overview-stat-card .stat-icon i {
    font-size: 28px;
    color: white;
}

.overview-stat-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--text-primary);
}

.overview-stat-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.services-detailed {
    padding: 80px 0;
}

.service-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 2px solid var(--bg-secondary);
}

.service-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-detail.reverse {
    grid-template-columns: 1fr auto;
}

.service-detail.reverse .service-detail-content {
    order: -1;
}

.service-detail-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail-icon i {
    font-size: 48px;
    color: white;
}

.service-detail-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-lead {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.service-features {
    margin: 30px 0;
}

.service-features h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.service-benefits {
    margin-top: 30px;
}

.service-benefits h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-benefits ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.service-benefits li {
    padding: 10px 15px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
}

.service-benefits li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

.why-choose {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-base);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.why-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.why-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.why-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.services-cta-section {
    padding: 80px 0;
}

.cta-box-large {
    background: var(--gradient-1);
    color: white;
    padding: 60px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.cta-box-large h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-box-large > p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 18px 40px;
    font-size: 17px;
}

.cta-contact {
    margin-top: 35px;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 16px;
    opacity: 0.95;
}

.cta-contact a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.cta-contact a:hover {
    text-decoration: underline;
}

/* ===================================
   Photo Gallery Page
   =================================== */

.gallery-controls {
    padding: 40px 0;
    background: var(--bg-secondary);
}

.controls-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
}

.view-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
}

.photo-gallery {
    padding: 80px 0;
    min-height: 60vh;
}

.gallery-loading,
.gallery-empty {
    text-align: center;
    padding: 80px 20px;
}

.loading-spinner i {
    font-size: 48px;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.gallery-loading p {
    margin-top: 20px;
    font-size: 16px;
    color: var(--text-secondary);
}

.empty-icon i {
    font-size: 80px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.gallery-empty h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.gallery-empty p {
    font-size: 16px;
    color: var(--text-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-grid.view-masonry {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 10px;
}

.photo-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-base);
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.photo-card-inner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.view-masonry .photo-card-inner {
    height: auto;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.photo-card:hover img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-base);
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

.photo-info {
    color: white;
    text-align: center;
    padding: 20px;
}

.photo-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.photo-info p {
    font-size: 14px;
    opacity: 0.9;
}

.photo-view-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--primary-color);
    font-size: 20px;
    cursor: pointer;
    margin-top: 15px;
    transition: var(--transition-base);
}

.photo-view-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Photo Modal */
.photo-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.photo-modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10000;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    font-size: 20px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-base);
}

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

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 20px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-base);
}

.modal-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: -70px;
}

.modal-next {
    right: -70px;
}

.modal-image-container {
    max-width: 90vw;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.modal-info {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    margin-top: 20px;
    text-align: center;
}

.modal-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.about-gallery {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.about-gallery-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-gallery-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-gallery-text .lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-gallery-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.gallery-stats {
    display: flex;
    gap: 30px;
}

.gal-stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gal-stat i {
    font-size: 32px;
    color: var(--primary-color);
}

.gal-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.gal-stat span {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
}

.about-gallery-visual {
    position: relative;
}

.visual-decoration {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: var(--gradient-1);
    opacity: 0.1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.visual-decoration i {
    font-size: 120px;
    color: var(--primary-color);
}

.gallery-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gallery-features .feature {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 12px;
}

.gallery-features .feature i {
    font-size: 24px;
    color: var(--primary-color);
}

.gallery-features .feature span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.gallery-cta {
    padding: 80px 0;
}

.gallery-cta .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.gallery-cta h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.gallery-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 968px) {
    .page-title {
        font-size: 42px;
    }
    
    .biography-layout {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        position: static;
    }
    
    .intro-content,
    .overview-content,
    .about-gallery-content {
        grid-template-columns: 1fr;
    }
    
    .hobby-feature,
    .hobby-feature.reverse {
        grid-template-columns: 1fr;
    }
    
    .hobby-feature.reverse .hobby-content,
    .hobby-feature.reverse .hobby-visual {
        order: 0;
    }
    
    .service-detail,
    .service-detail.reverse {
        grid-template-columns: 1fr;
    }
    
    .service-detail.reverse .service-detail-content {
        order: 0;
    }
    
    .service-detail-icon {
        margin: 0 auto;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid,
    .benefits-grid,
    .balance-grid {
        grid-template-columns: 1fr;
    }
    
    .career-highlights,
    .stats-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .controls-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .modal-nav {
        display: none;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
    }
}