/* ======================================== */
/* Homepage-Only Styles                     */
/* Hero section, particles, and homepage    */
/* specific styling                         */
/* ======================================== */

/* Import shared design system */
@import url('/assets/css/site.css');

/* ======================================== */
/* Hero Section - Homepage Only */
/* ======================================== */
#hero {
    width: 100%;
    height: 100vh;
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    #hero {
        padding-left: 160px;
    }
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-light);
    z-index: -1;
}

#hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

#hero h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 56px;
    color: var(--text-primary);
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

#hero p {
    color: var(--text-secondary);
    margin: 15px 0 0 0;
    font-size: 26px;
    font-family: 'Poppins', sans-serif;
}

#hero p span {
    color: var(--primary-blue);
    letter-spacing: 1px;
}

#hero .hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 20px 0 30px 0;
}

#hero .social-links {
    margin-top: 30px;
}

#hero .social-links a {
    font-size: 24px;
    display: inline-block;
    color: var(--text-secondary);
    line-height: 1;
    margin-right: 20px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
}

#hero .social-links a:hover {
    color: white;
    background: var(--primary-blue);
}

#hero .social-links a svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

@media (max-width: 992px) {
    #hero {
        text-align: center;
        padding-top: 100px;
    }

    #hero h1 {
        font-size: 32px;
        line-height: 36px;
    }

    #hero p {
        margin-top: 10px;
        font-size: 20px;
        line-height: 24px;
    }
}

/* ======================================== */
/* Particles Background - Hero Section Only */
/* ======================================== */
#particles-js {
    width: 100%;
    height: 100vh;
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/* ======================================== */
/* Typed.js Animation */
/* ======================================== */
.typed {
    color: var(--primary-blue);
}

/* ======================================== */
/* Blog/Portfolio Sections */
/* ======================================== */
.services {
    padding: 60px 0;
    background-color: var(--bg-white);
    position: relative;
}

.services .icon-box {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    background: var(--bg-white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.services .icon-box:hover {
    box-shadow: 0 5px 25px rgba(37, 99, 235, 0.15);
    transform: translateY(-5px);
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* ======================================== */
/* Portfolio Section */
/* ======================================== */
.portfolio {
    padding: 60px 0;
    position: relative;
    background: var(--bg-light);
}

#portfolio-filters {
    padding: 0;
    margin: 0 auto 25px auto;
    list-style: none;
    text-align: center;
    background: white;
    border-radius: 50px;
    padding: 2px 15px;
}

#portfolio-filters li {
    cursor: pointer;
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

#portfolio-filters li.filter-active,
#portfolio-filters li:hover {
    color: white;
    background: var(--primary-blue);
}

.portfolio-item {
    margin-bottom: 30px;
}

.portfolio-wrap {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: rgba(31, 41, 55, 0.8);
    border-radius: 8px;
}

.portfolio-wrap::before {
    content: "";
    background: rgba(255, 255, 255, 0.95);
    position: absolute;
    left: 30px;
    right: 30px;
    top: 30px;
    bottom: 30px;
    transition: all ease-in-out 0.3s;
    z-index: 2;
    opacity: 0;
}

.portfolio-wrap .portfolio-info {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    z-index: 3;
    transition: all ease-in-out 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.portfolio-wrap .portfolio-info h4 {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 600;
}

.portfolio-wrap .portfolio-info p {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

.portfolio-wrap .portfolio-links {
    text-align: center;
    z-index: 4;
}

.portfolio-wrap .portfolio-links a {
    color: var(--text-primary);
    margin: 0 10px;
    font-size: 28px;
    display: inline-block;
    transition: all 0.3s ease;
}

.portfolio-wrap .portfolio-links a:hover {
    color: var(--primary-blue);
}

.portfolio-wrap:hover::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}

.portfolio-wrap:hover .portfolio-info {
    opacity: 1;
}

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Portfolio Coming Soon Card */
.portfolio-coming-soon {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0e7ff 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-blue);
}

.portfolio-info-static {
    text-align: center;
    padding: 40px;
    opacity: 1;
}

.portfolio-info-static i {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    display: block;
}

.portfolio-info-static h4 {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

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

/* ======================================== */
/* Blog Card Section - Matching Portfolio */
/* ======================================== */
.blog-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.blog-card-item {
    margin-bottom: 0;
}

.blog-card-wrap {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: rgba(31, 41, 55, 0.8);
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.blog-card-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-card-wrap::before {
    content: "";
    background: rgba(255, 255, 255, 0.95);
    position: absolute;
    left: 30px;
    right: 30px;
    top: 30px;
    bottom: 30px;
    transition: all ease-in-out 0.3s;
    z-index: 2;
    opacity: 0;
}

.blog-card-info {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    z-index: 3;
    transition: all ease-in-out 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.blog-card-info h4 {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-date {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 10px;
    font-weight: 500;
}

.blog-card-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-links {
    text-align: center;
    z-index: 4;
}

.blog-card-links a {
    color: var(--text-primary);
    font-size: 28px;
    display: inline-block;
    transition: all 0.3s ease;
}

.blog-card-links a:hover {
    color: var(--primary-blue);
}

.read-more-link {
    text-decoration: none;
}

.blog-card-wrap:hover::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}

.blog-card-wrap:hover .blog-card-info {
    opacity: 1;
}

/* Blog Archive Page */
.blog-archive {
    padding: 60px 0;
    background: var(--bg-white);
    position: relative;
}

/* ======================================== */
/* About Section */
/* ======================================== */
.about {
    padding: 60px 0;
    background: var(--bg-white);
    position: relative;
}

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

.about-profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-blue);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.3);
}

@media (max-width: 992px) {
    .about .row {
        flex-direction: column;
    }

    .about-profile-image {
        margin-bottom: 30px;
    }
}

.skills-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.skills-section h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.skills-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.skills-list li {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 15px;
}

.skills-list i {
    color: var(--primary-blue);
    margin-right: 10px;
    font-size: 18px;
}

/* ======================================== */
/* Contact Section */
/* ======================================== */
.contact {
    padding: 60px 0;
    background: var(--bg-light);
    position: relative;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-email-box {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-email-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.contact-email-box i {
    font-size: 64px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    display: block;
}

.contact-email-box h3 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.contact-email-box p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 16px;
}

.contact-email-box .btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
}

.contact-social {
    padding: 30px 0;
}

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

.contact-social .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-social .social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--text-secondary);
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.contact-social .social-links a svg {
    width: 24px;
    height: 24px;
}

.contact-social .social-links a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    text-decoration: none;
}

@media (max-width: 768px) {
    .contact-email-box {
        padding: 40px 30px;
    }

    .contact-email-box i {
        font-size: 48px;
    }

    .contact-email-box h3 {
        font-size: 24px;
    }

    .contact-social .social-links a {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* ======================================== */
/* Footer */
/* ======================================== */
#footer {
    background: var(--text-primary);
    color: white;
    text-align: center;
    padding: 40px 0 20px;
}

#footer h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

#footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

#footer .social-links {
    margin-bottom: 30px;
}

#footer .social-links a {
    font-size: 18px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    line-height: 1;
    padding: 8px 0;
    margin: 0 5px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#footer .social-links a:hover {
    background: var(--primary-blue);
    color: white;
}

#footer .copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ======================================== */
/* Responsive Design */
/* ======================================== */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    #hero p {
        font-size: 1.2rem;
    }

    .portfolio-container {
        grid-template-columns: 1fr;
    }
}
