/* EXP Personal Portfolio - Dark Theme */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --exp-bg: #111111;
    --exp-bg-panel: #1a1a1a;
    --exp-bg-input: #222222;
    --exp-border: #333333;
    --exp-text: #ffffff;
    --exp-text-muted: #999999;
    --exp-accent: #ffffff;
    --exp-overlay: rgba(0, 0, 0, 0.55);
}

* {
    box-sizing: border-box;
}

body.exp-theme,
body.exp-theme button,
body.exp-theme input,
body.exp-theme textarea,
body.exp-theme select {
    font-family: 'Jost', sans-serif;
}

body.exp-theme {
    background: var(--exp-bg);
    color: var(--exp-text);
    overflow-x: hidden;
}

body.exp-theme .preloader {
    background: var(--exp-bg);
}

/* Navigation */
.exp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 25px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    transition: background 0.3s ease;
}

.exp-nav.scrolled {
    background: rgba(17, 17, 17, 0.95);
}

.exp-nav .exp-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--exp-text);
    text-decoration: none;
    letter-spacing: 2px;
}

.exp-nav .exp-logo img {
    max-height: 40px;
}

.exp-nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}

.exp-nav-links a {
    color: var(--exp-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: opacity 0.3s;
    cursor: pointer;
}

.exp-nav-links a:hover,
.exp-nav-links a.active {
    opacity: 0.7;
}

.exp-nav-no-logo {
    justify-content: flex-end;
}

.exp-inner-nav .navbar-toggler {
    margin-left: auto;
}

.exp-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--exp-text);
    font-size: 24px;
    cursor: pointer;
}

/* Home Hero */
.exp-home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.exp-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--exp-overlay);
    z-index: 1;
}

.exp-snow-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.exp-home-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 120px 20px 100px;
}

.exp-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 30px;
}

.exp-home h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--exp-text);
    margin-bottom: 15px;
}

.exp-typer {
    font-size: 22px;
    font-weight: 400;
    color: var(--exp-text-muted);
    margin-bottom: 0;
}

.exp-typer span {
    color: var(--exp-text);
}

/* Home Footer Bar */
.exp-home-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-home-footer p {
    margin: 0;
    font-size: 13px;
    color: var(--exp-text-muted);
}

.exp-social-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.exp-social-links a {
    color: var(--exp-text);
    font-size: 16px;
    transition: opacity 0.3s;
}

.exp-social-links a:hover {
    opacity: 0.7;
}

/* Section Panels */
.exp-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: var(--exp-bg-panel);
    overflow-y: auto;
    padding: 0;
    animation: expFadeIn 0.4s ease;
}

.exp-panel.active {
    display: block;
}

body.panel-open .exp-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.exp-panel-inner {
    padding: 90px 15px 60px;
    max-width: 1140px;
}

@keyframes expFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.exp-panel-close {
    position: fixed;
    top: 28px;
    right: 40px;
    z-index: 1200;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(30, 30, 30, 0.9);
    color: var(--exp-text);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
}

.exp-panel-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* Section Headers */
.exp-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.exp-section-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--exp-text-muted);
    margin-bottom: 10px;
}

.exp-section-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--exp-text);
    margin: 0;
}

/* About Section */
.exp-about-row {
    margin-bottom: 20px;
}

.exp-about-image {
    position: relative;
    max-width: 360px;
    margin: 0 auto;
    padding: 14px;
    border: 10px solid #2a2a2a;
    background: #1e1e1e;
    box-shadow: inset 0 0 0 1px #3d3d3d, 0 0 0 1px #111;
}

.exp-about-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.exp-about-heading {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.5;
    color: var(--exp-text);
}

.exp-about-content .exp-desc {
    color: var(--exp-text-muted);
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 14px;
}

.exp-divider {
    border: 0;
    border-top: 1px solid var(--exp-border);
    margin: 25px 0 30px;
}

.exp-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 40px;
    margin-bottom: 35px;
}

.exp-info-grid p {
    margin: 0;
    font-size: 14px;
    color: var(--exp-text-muted);
    line-height: 1.6;
}

.exp-info-grid strong {
    color: var(--exp-text);
    font-weight: 600;
}

.exp-info-grid .exp-info-full {
    grid-column: 1 / -1;
}

.exp-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.exp-about-content h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.5;
}

.exp-btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    color: var(--exp-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.exp-btn:hover {
    background: var(--exp-text);
    color: var(--exp-bg);
}

.exp-btn-outline {
    background: transparent;
}

.exp-skills-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--exp-border);
}

.exp-skills-section h5 {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #ffffff;
}

.exp-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.exp-skill-tag {
    padding: 8px 20px;
    border: 1px solid var(--exp-border);
    border-radius: 30px;
    font-size: 13px;
    color: var(--exp-text-muted);
    transition: all 0.3s;
}

.exp-skill-tag:hover {
    border-color: var(--exp-text);
    color: var(--exp-text);
}

/* Portfolio Grid */
.exp-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.exp-portfolio-item {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    height: 280px;
    margin: 0;
    padding: 0;
    background: #1e1e1e;
    border: 1px solid var(--exp-border);
    text-decoration: none;
    color: inherit;
}

.exp-portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.5s ease;
}

.exp-portfolio-item:hover img {
    transform: scale(1.08);
}

.exp-portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.exp-portfolio-item:hover .exp-portfolio-overlay {
    opacity: 1;
}

.exp-portfolio-overlay h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
    line-height: 1.4;
}

.exp-filter-menu {
    display: flex;
    justify-content: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    flex-wrap: wrap;
}

.exp-filter-menu li {
    font-size: 13px;
    color: var(--exp-text-muted);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.exp-filter-menu li.active,
.exp-filter-menu li:hover {
    color: var(--exp-text);
}

/* Blog Grid */
.exp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.exp-blog-card {
    background: var(--exp-bg-input);
    overflow: hidden;
    transition: transform 0.3s;
}

.exp-blog-card:hover {
    transform: translateY(-5px);
}

.exp-blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.exp-blog-card-body {
    padding: 25px;
}

.exp-blog-card-body h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.exp-blog-card-body h4 a {
    color: var(--exp-text);
    text-decoration: none;
}

.exp-blog-meta {
    font-size: 12px;
    color: var(--exp-text-muted);
    margin-bottom: 10px;
}

.exp-blog-card-body p {
    font-size: 13px;
    color: var(--exp-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.exp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.exp-contact-form h4,
.exp-contact-info h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
}

.exp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.exp-form-group {
    margin-bottom: 20px;
}

.exp-form-group input,
.exp-form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--exp-bg-input);
    border: 1px solid var(--exp-border);
    color: var(--exp-text);
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.exp-form-group input:focus,
.exp-form-group textarea:focus {
    border-color: var(--exp-text-muted);
}

.exp-form-group input::placeholder,
.exp-form-group textarea::placeholder {
    color: var(--exp-text-muted);
}

.exp-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.exp-submit-btn {
    padding: 14px 40px;
    background: var(--exp-text);
    color: var(--exp-bg);
    border: none;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.3s;
}

.exp-submit-btn:hover {
    opacity: 0.85;
}

.exp-contact-info .exp-desc {
    color: var(--exp-text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.exp-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exp-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.exp-contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--exp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    color: var(--exp-text);
}

.exp-contact-list span {
    display: block;
    font-size: 13px;
    color: var(--exp-text-muted);
    margin-bottom: 3px;
}

.exp-contact-list strong {
    font-weight: 500;
    font-size: 14px;
    color: #ffffff;
}

.exp-contact-list strong a {
    color: #ffffff;
    text-decoration: none;
}

.exp-contact-list strong a:hover {
    opacity: 0.8;
}

/* Hide old theme elements on homepage */
body.exp-theme .footer-area {
    display: none;
}

body.exp-theme .main_wrapper {
    padding: 0;
}

/* Inner pages (portfolio, blog details) */
body.exp-theme .exp-inner-page {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--exp-bg-panel);
}

body.exp-theme .exp-inner-page .footer-area {
    display: block;
    background: var(--exp-bg);
    color: var(--exp-text-muted);
}

body.exp-theme .exp-inner-page .footer-area .widget-title,
body.exp-theme .exp-inner-page .footer-area a,
body.exp-theme .exp-inner-page .footer-area p {
    color: var(--exp-text-muted);
}

/* Responsive */
@media (max-width: 991px) {
    .exp-nav {
        padding: 20px 25px;
    }

    .exp-nav-toggle {
        display: block;
    }

    .exp-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--exp-bg);
        flex-direction: column;
        padding: 20px 25px;
        gap: 15px;
    }

    .exp-nav-links.open {
        display: flex;
    }

    .exp-home h1 {
        font-size: 32px;
    }

    .exp-typer {
        font-size: 18px;
    }

    .exp-home-footer {
        padding: 20px 25px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .exp-section-title {
        font-size: 28px;
    }

    .exp-portfolio-grid,
    .exp-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exp-portfolio-item {
        height: 240px;
    }

    .exp-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .exp-info-grid {
        grid-template-columns: 1fr;
    }

    .exp-panel-close {
        right: 25px;
        top: 22px;
    }

    .exp-panel-inner {
        padding: 80px 20px 50px;
    }
}

@media (max-width: 575px) {
    .exp-portfolio-grid,
    .exp-blog-grid {
        grid-template-columns: 1fr;
    }

    .exp-portfolio-item {
        height: 220px;
    }

    .exp-form-row {
        grid-template-columns: 1fr;
    }

    .exp-avatar {
        width: 120px;
        height: 120px;
    }
}
