/*
====================================
PORTFOLIO — Dark & White Glassmorphism
====================================
*/

:root {
    --bg-dark: #09090b;
    --bg-dark-elevated: #111113;
    --bg-light: #fafafa;
    --glass-dark: rgba(255, 255, 255, 0.04);
    --glass-border-dark: rgba(255, 255, 255, 0.1);
    --glass-light: rgba(255, 255, 255, 0.75);
    --glass-border-light: rgba(0, 0, 0, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-dark: #09090b;
    --text-dark-muted: #52525b;
    --section-py: clamp(2rem, 4vw, 3rem);
    --section-py-tight: clamp(1.25rem, 2.5vw, 1.75rem);
}

.portfolio-site {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.section-block {
    position: relative;
    width: 100%;
    padding: var(--section-py) 5%;
}

/* Tighter spacing when sections stack — removes double gaps */
.section-block + .section-block {
    padding-top: var(--section-py-tight);
}

.portfolio-site [id$="-slot"] {
    display: contents;
}

.portfolio-site .section-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 600;
    text-align: center;
    background: none !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    margin-bottom: 0;
}

.portfolio-site .section-divider {
    height: 1px !important;
    width: 48px !important;
    max-width: none !important;
    margin: 0.75rem auto 1.25rem !important;
    background: currentColor !important;
    opacity: 0.2;
    border-radius: 1px;
}

.portfolio-site .theme-section {
    padding: var(--section-py) 5% !important;
}

.portfolio-site .theme-section + .section-block,
.portfolio-site .section-block + .theme-section {
    padding-top: var(--section-py-tight);
}

.section-block--dark .section-subtitle,
.portfolio-site .content-dark-block .section-subtitle {
    color: var(--text-secondary);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.section-block--light .section-subtitle {
    color: var(--text-dark-muted);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.experience-dots,
.projects-dots {
    margin-top: 12px;
    margin-bottom: 0;
}

.section-block--dark {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.section-block--light {
    background: var(--bg-light);
    color: var(--text-dark);
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.section-block--dark .section-heading {
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: unset;
}

.section-block--light .section-heading {
    color: var(--text-dark);
    background: none;
    -webkit-text-fill-color: unset;
}

.section-divider {
    height: 1px;
    width: 48px;
    margin: 0.75rem auto 1.75rem;
    background: currentColor;
    opacity: 0.2;
    border-radius: 1px;
}

.glass-card-light {
    background: var(--glass-light);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-light);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glass-card-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.glass-card-dark {
    background: var(--glass-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-dark);
    border-radius: 16px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.glass-card-dark:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.tag-pill-dark {
    padding: 4px 10px;
    font-size: 0.7rem;
    border-radius: 999px;
    background: var(--text-dark);
    color: var(--text-primary);
}

.tag-pill-light {
    padding: 4px 10px;
    font-size: 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.achievements-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-light);
    border-radius: 20px;
    padding: 1.5rem;
}

.contact-glass-panel {
    background: var(--glass-dark);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-dark);
    border-radius: 20px;
    padding: 2rem;
}

.contact-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border-dark);
    color: var(--text-primary);
}

.contact-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.35);
}

.contact-input::placeholder {
    color: var(--text-secondary);
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: block;
}

.contact-info-card {
    background: var(--glass-dark);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border-dark);
    border-radius: 16px;
    padding: 1.25rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.contact-info-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.content-dark-block {
    background: var(--bg-dark-elevated) !important;
    color: var(--text-primary) !important;
    border-top: 1px solid var(--glass-border-dark);
    border-bottom: 1px solid var(--glass-border-dark);
    background-image: none !important;
}

.content-dark-block .section-title {
    color: var(--text-primary) !important;
}

.content-dark-block .section-subtitle {
    color: var(--text-secondary) !important;
}

.content-dark-block .section-label {
    color: var(--text-secondary) !important;
}

.section-surface {
    background: var(--bg-light) !important;
}

.theme-section {
    padding: var(--section-py) 5% !important;
}

.section-block--dark .project-card h3,
.section-block--dark .project-card .tw-text-gray-900 {
    color: #ffffff !important;
}

.section-block--dark .project-card p,
.section-block--dark .project-card .tw-text-gray-600,
.section-block--dark .project-card .tw-text-gray-700 {
    color: #a1a1aa !important;
}

.section-block--dark .project-card a {
    color: #ffffff !important;
}

.section-block--dark .testimonial-card h3 {
    color: #ffffff !important;
}

.section-block--dark .testimonial-card p {
    color: #a1a1aa !important;
}

.section-block--dark .testimonial-card .tw-text-gray-900 {
    color: #ffffff !important;
}

.section-block--dark .testimonial-card .tw-text-gray-600,
.section-block--dark .testimonial-card .tw-text-gray-700 {
    color: #a1a1aa !important;
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-white {
    background: #ffffff;
    color: #09090b;
}

.btn-white:hover {
    background: #e4e4e7;
}


.experience-btn,
.projects-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(12px);
}

.section-block--light .experience-btn,
.section-block--light .projects-btn {
    background: rgba(0, 0, 0, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.experience-dot.active,
.projects-dot.active {
    background: #ffffff !important;
}

.portfolio-site .btn-theme-primary {
    background: #ffffff;
    color: #09090b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.portfolio-site .btn-theme-primary:hover {
    background: #e4e4e7;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.portfolio-site .btn-theme-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.portfolio-site .section-label {
    color: var(--text-secondary);
}

.portfolio-site .content-dark-block .section-title {
    color: #ffffff;
}

.section-block--dark .testimonial-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-block--light .gallery-slider {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--glass-border-light);
}

.section-block--light .gallery-btn {
    background: rgba(9, 9, 11, 0.85);
    color: #ffffff;
}

.section-block--light .experience-dot.active,
.section-block--light .projects-dot.active {
    background: #09090b !important;
}

/* ══════════════════════════════════════════════════
   FULL DARK THEME — portfolio-site (no white pages)
   ══════════════════════════════════════════════════ */

.portfolio-site .section-block--light {
    background: var(--bg-dark-elevated);
    color: var(--text-primary);
}

.portfolio-site .section-block--light .section-heading {
    color: var(--text-primary);
}

.portfolio-site .section-block--light .section-subtitle {
    color: var(--text-secondary);
}

.portfolio-site .section-surface {
    background: var(--bg-dark) !important;
}

.portfolio-site .glass-card-light {
    background: var(--glass-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-dark);
    box-shadow: none;
}

.portfolio-site .glass-card-light:hover {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.2);
}

.portfolio-site .achievements-panel {
    background: var(--glass-dark);
    border: 1px solid var(--glass-border-dark);
}

.portfolio-site .tw-text-gray-900 {
    color: #ffffff !important;
}

.portfolio-site .tw-text-gray-800 {
    color: #e4e4e7 !important;
}

.portfolio-site .tw-text-gray-700,
.portfolio-site .tw-text-gray-600 {
    color: #a1a1aa !important;
}

.portfolio-site .tw-text-gray-500,
.portfolio-site .tw-text-gray-400 {
    color: #71717a !important;
}

.portfolio-site .section-block--light .experience-btn,
.portfolio-site .section-block--light .projects-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.portfolio-site .section-block--light .experience-dot.active,
.portfolio-site .section-block--light .projects-dot.active {
    background: #ffffff !important;
}

.portfolio-site .section-block--light .gallery-slider {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border-dark);
}

.portfolio-site .section-block--light .gallery-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-site #experience-container,
.portfolio-site #projects-container,
.portfolio-site #testimonial-container {
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.portfolio-site #experience-container::-webkit-scrollbar-track,
.portfolio-site #projects-container::-webkit-scrollbar-track,
.portfolio-site #testimonial-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.portfolio-site #experience-container::-webkit-scrollbar-thumb,
.portfolio-site #projects-container::-webkit-scrollbar-thumb,
.portfolio-site #testimonial-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

.portfolio-site .gallery-slider {
    background: rgba(255, 255, 255, 0.04) !important;
}

.portfolio-site .gallery-item {
    background: var(--bg-dark-elevated);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.portfolio-site .brand-eyebrow--dark {
    color: rgba(255, 255, 255, 0.45);
}

/* Inner pages (youtube, blog) */
body.portfolio-site.inner-page .page-hero {
    background: var(--bg-dark);
}

body.portfolio-site.inner-page .theme-section {
    background: var(--bg-dark-elevated);
}

body.portfolio-site.theme-advanced .theme-section-light {
    background: var(--bg-dark-elevated) !important;
    color: var(--text-primary) !important;
}

body.portfolio-site .stat-value {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}

body.portfolio-site .filter-pill.active {
    background: #ffffff;
    color: #09090b;
    border-color: #ffffff;
}

body.portfolio-site .filter-pill:hover:not(.active) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

body.portfolio-site .scroll-progress {
    background: #ffffff;
}

/* Booking section — dark form */
.portfolio-site .booking-form-title {
    color: #ffffff;
}

.portfolio-site .booking-payment-hint,
.portfolio-site .booking-footer-note {
    color: #71717a;
}

.portfolio-site .booking-label {
    color: #a1a1aa !important;
}

.portfolio-site .booking-input,
.portfolio-site .booking-select {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--glass-border-dark) !important;
    color: #ffffff !important;
}

.portfolio-site .booking-input::placeholder {
    color: #71717a !important;
}

.portfolio-site .booking-input:focus,
.portfolio-site .booking-select:focus {
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.portfolio-site .booking-service-card h4 {
    color: #ffffff;
}

.portfolio-site .booking-service-desc {
    color: #a1a1aa;
}

.portfolio-site .booking-service-duration,
.portfolio-site .booking-price-note {
    color: #71717a;
}

.portfolio-site .booking-price {
    color: #ffffff;
}

.portfolio-site .booking-select-btn {
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.portfolio-site .booking-select-btn:hover {
    background: #ffffff;
    color: #09090b;
}

.portfolio-site .booking-service-icon {
    background: #ffffff;
    color: #09090b;
}

.portfolio-site .booking-service-badge {
    background: #ffffff;
    color: #09090b;
}

.portfolio-site .booking-info-card h5 {
    color: #ffffff;
}

.portfolio-site .booking-info-card p,
.portfolio-site .booking-info-list li {
    color: #a1a1aa;
}

.portfolio-site .booking-info-icon {
    background: #ffffff;
    color: #09090b;
}

.portfolio-site .booking-info-list li::before {
    color: #ffffff;
}

/* LinkedIn section — dark */
.portfolio-site .linkedin-profile-card h4 {
    color: #ffffff;
}

.portfolio-site .linkedin-headline {
    color: #a1a1aa;
}

.portfolio-site .linkedin-stat strong {
    color: #ffffff;
}

.portfolio-site .linkedin-post-excerpt {
    color: #d4d4d8;
}

.portfolio-site .linkedin-post-date {
    color: #71717a;
}

.portfolio-site .linkedin-engagement {
    color: #71717a;
}

.portfolio-site .linkedin-read-more {
    color: #ffffff;
}

.portfolio-site .linkedin-read-more:hover {
    color: #60a5fa;
}

.portfolio-site .btn-dark-outline {
    background: #ffffff;
    color: #09090b;
    border-color: #ffffff;
}

.portfolio-site .btn-dark-outline:hover {
    background: #e4e4e7;
}

.portfolio-site .tag-pill-dark {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.portfolio-site .section-block--light .project-card a {
    color: #ffffff !important;
}

.portfolio-site .section-block--light .project-card h3,
.portfolio-site .section-block--light .project-card .tw-text-gray-900 {
    color: #ffffff !important;
}

.portfolio-site .booking-service-card--featured {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
