/**
 * CUSTOM CSS
 *
 * Here you can add your custom CSS code.
 */

/* Custom styles for Prasad's portfolio */

/* Font families */
.t-title__first-word, .t-title__second-word, .o-section__heading, h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-weight: 600;
}

body, p, .t-sub-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-weight: 500;
}

/* Name title spacing */
.c-brand__title {
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.c-brand__first-word, .c-brand__second-word {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Subtitle improvements */
.c-brand__sub-title {
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: 500;
    margin-top: 1rem;
}

/* Footer name styling */
.c-footer__brand .c-brand__first-word,
.c-footer__brand .c-brand__second-word {
    font-size: 2rem;
}

@media screen and (max-width: 1200px) {
    .c-brand__sub-title {
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 768px) {
    .c-brand__first-word, .c-brand__second-word {
        font-size: 2.5rem;
    }
    
    .c-brand__sub-title {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 480px) {
    .c-brand__first-word, .c-brand__second-word {
        font-size: 2rem;
    }
    
    .c-brand__sub-title {
        font-size: 1.5rem;
    }
}

/* Profile image */
.c-avatar__img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .c-avatar__img {
        width: 180px;
        height: 180px;
    }
}

@media screen and (max-width: 768px) {
    .c-avatar__img {
        width: 160px;
        height: 160px;
    }
}

@media screen and (max-width: 480px) {
    .c-avatar__img {
        width: 140px;
        height: 140px;
    }
}

/* Header avatar container */
.c-header__avatar {
    padding: 1rem 0;
}

.c-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Section padding */
.o-section__content {
    padding: 1.5rem 2rem;
}

/* Experience section */
.c-experience__item {
    margin-bottom: 2rem;
}

.c-experience__item:last-child {
    margin-bottom: 0;
}

.c-experience__item h5 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.c-experience__item h5 a {
    color: inherit;
    text-decoration: none;
}

.c-experience__item h5 a:hover {
    color: #00ff00;
}

/* Social buttons */
.c-social-buttons {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.c-social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: inherit;
    text-decoration: none;
}

.c-social-button:hover {
    background: rgba(255,255,255,0.2);
}

/* Modern card styling */
.o-section {
    border-radius: 8px;
}

/* Improved typography */
.t-title__first-word, .t-title__second-word {
    letter-spacing: -0.5px;
}

@media screen and (max-width: 768px) {
    .t-title__first-word, .t-title__second-word {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .t-title__first-word, .t-title__second-word {
        font-size: 1.6rem;
    }
}

/* Better spacing */
.o-section__header {
    margin-bottom: 0.5rem;
}

/* Improved readability */
.t-sub-title {
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .t-sub-title {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .t-sub-title {
        font-size: 1.1rem;
    }
}

/* Contact section improvements */
.c-header__contact {
    margin-top: 1rem;
}

.c-header__contact-divider {
    margin: 1rem 0;
}

/* Grid improvements for mobile */
@media screen and (max-width: 480px) {
    .o-grid__col-sm-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .o-content__body {
        text-align: left;
    }
}

/* Footer social buttons */
.c-footer__social-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
    flex-wrap: wrap;
}

/* Typography responsive adjustments */
@media screen and (max-width: 768px) {
    .o-section__heading {
        font-size: 1.75rem;
    }
    
    .o-content__body > h3 {
        font-size: 1.5rem;
    }
    
    .c-experience__item h4 {
        font-size: 1.25rem;
    }
    
    .c-experience__item h5 {
        font-size: 1.15rem;
    }
}

@media screen and (max-width: 480px) {
    .o-section__heading {
        font-size: 1.5rem;
    }
    
    .o-content__body > h3 {
        font-size: 1.35rem;
    }
    
    .c-experience__item h4 {
        font-size: 1.2rem;
    }
    
    .c-experience__item h5 {
        font-size: 1.1rem;
    }
}

/* Theme Toggle Button */
.c-theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.c-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.c-theme-toggle i {
    font-size: 1.2rem;
    color: #e0a80d;
}

.c-work__description {
    font-size: 1rem;
}

/* Typography Hierarchy */
/* H1 - Main section headings */
.o-section__heading {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* H2 - Sub-section headings */
.o-content__body > h3 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

/* H3 - Experience role titles */
.c-experience__item h4 {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* H4 - Company names */
.c-experience__item h5 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* H5 - Dates and other metadata */
.c-experience__date {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Body text */
.c-experience__item p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1rem;
}
