/* ===========================
   GLOBAL STYLES & RESET
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Original mtbuist.com color palette */
    --color-teal: #649793;
    --color-teal-light: #7ab5b1;
    --color-tan: #f4ece6;
    --color-salmon: #cd8380;
    --color-salmon-light: #e0a4a1;
    --color-black: #000000;
    --color-gray: #666666;

    /* Design tokens */
    --bg-primary: #ffffff;
    --bg-card: var(--color-tan);
    --text-primary: var(--color-black);
    --text-secondary: var(--color-gray);
    --accent-primary: var(--color-teal);
    --accent-secondary: var(--color-salmon);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.12);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
.header {
    background-color: var(--bg-primary);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.credentials {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text-secondary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-primary);
}

/* ===========================
   MAIN CONTENT
   =========================== */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    width: 100%;
}

/* Teal background for content pages */
.main-content.teal-bg {
    background-color: var(--accent-primary);
    max-width: 100%;
    padding: 80px 40px;
}

.main-content.teal-bg>* {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   HERO SECTION (Main Page)
   =========================== */
.hero-section {
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    position: relative;
}

/* Teal decorative background block for main page */
.hero-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: -60px;
    width: 45%;
    height: calc(100% + 60px);
    background-color: var(--accent-primary);
    z-index: 0;
}

.hero-section>* {
    position: relative;
    z-index: 1;
}

.profile-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    text-align: center;
    max-width: 380px;
    transition: var(--transition);
}

.profile-card:hover {
    box-shadow: var(--shadow-hover);
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.profile-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.divider {
    width: 60px;
    height: 1px;
    background-color: #ddd;
    margin: 12px auto;
}

.profile-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.social-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-icon {
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--text-secondary);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Welcome Section */
.welcome-section {
    max-width: 500px;
}

.welcome-heading {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1;
}

.welcome-text {
    margin-bottom: 32px;
}

.welcome-text p {
    font-size: 18px;
    margin-bottom: 8px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 16px !important;
}

.cta-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cta-link {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.cta-link:hover {
    color: var(--text-secondary);
}

.cta-button {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--bg-card);
    background-color: var(--accent-secondary);
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid var(--accent-secondary);
    border-radius: 24px;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #b56f6d;
    border-color: #b56f6d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

/* ===========================
   COLLEGE LIFE PAGE
   =========================== */
.college-hero {
    text-align: center;
    margin-bottom: 60px;
}

.college-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 40px;
}

.college-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.detail-group p {
    font-size: 18px;
    margin-bottom: 8px;
}

.resume-button {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--bg-card);
    background-color: var(--accent-secondary);
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid var(--accent-secondary);
    border-radius: 4px;
    transition: var(--transition);
    display: inline-block;
}

.resume-button:hover {
    background-color: #b56f6d;
    border-color: #b56f6d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.projects-section {
    margin-top: 80px;
}

.projects-heading {
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.project-item {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    width: 100%;
    max-width: 280px;
}

.project-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.project-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-section {
    text-align: center;
    padding: 80px 20px;
}

.contact-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 60px;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-icon-link {
    transition: var(--transition);
    display: block;
}

.contact-icon-link:hover {
    transform: translateY(-8px);
}

.contact-icon-img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
}

.linkedin-icon,
.github-icon,
.instagram-icon {
    box-shadow: var(--shadow-card);
}

.contact-icon-link:hover .linkedin-icon,
.contact-icon-link:hover .github-icon,
.contact-icon-link:hover .instagram-icon {
    box-shadow: var(--shadow-hover);
}

/* ===========================
   CROCHET PAGE
   =========================== */
.crochet-landing {
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 60px;
}

.crochet-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 16px;
}

.crochet-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.view-gallery-btn {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--bg-card);
    background-color: var(--accent-secondary);
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 4px;
    transition: var(--transition);
    display: inline-block;
}

.view-gallery-btn:hover {
    background-color: #b56f6d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.crochet-gallery {
    padding: 40px 0;
}

.featured-project {
    max-width: 500px;
    margin: 0 auto 60px;
    text-align: center;
}

.featured-project img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
}

.featured-caption {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.featured-caption a {
    color: #ffffff;
    text-decoration: underline;
    transition: var(--transition);
}

.featured-caption a:hover {
    color: var(--color-teal-light);
    text-decoration: underline;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.gallery-item img:hover {
    box-shadow: var(--shadow-hover);
    transform: scale(1.02);
}

.gallery-caption {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.gallery-caption strong {
    color: var(--text-primary);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background-color: var(--bg-card);
    padding: 30px 40px;
    margin-top: auto;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.follow-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.footer-social .social-icons {
    gap: 12px;
}

.social-icon-img {
    width: 20px;
    height: 20px;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablet/iPad and smaller desktop (≤1024px) */
@media (max-width: 1024px) {
    .hero-section::before {
        width: 40%;
    }

    .main-content.teal-bg {
        padding: 60px 30px;
    }
}

/* Medium screens (≤968px) */
@media (max-width: 968px) {
    .hero-section {
        flex-direction: column;
        gap: 40px;
    }

    .hero-section::before {
        width: 100%;
        left: 0;
        top: -60px;
        height: 50%;
    }

    .welcome-heading {
        font-size: 56px;
    }

    .college-title,
    .contact-title {
        font-size: 42px;
    }

    .crochet-title {
        font-size: 52px;
    }

    .nav {
        gap: 20px;
    }

    .profile-image {
        width: 220px;
        height: 220px;
    }

    .profile-card {
        max-width: 340px;
    }
}

/* Tablet (≤768px) */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .main-content {
        padding: 40px 20px;
    }

    .main-content.teal-bg {
        padding: 60px 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .welcome-heading {
        font-size: 48px;
    }

    .college-title,
    .contact-title {
        font-size: 36px;
    }

    .crochet-title {
        font-size: 42px;
    }

    .projects-grid,
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .contact-icons {
        gap: 30px;
    }

    .contact-icon-img {
        width: 100px;
        height: 100px;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .profile-card {
        max-width: 320px;
    }

    .featured-project {
        max-width: 450px;
    }
}

/* Mobile (≤480px) */
@media (max-width: 480px) {
    .site-title {
        font-size: 20px;
    }

    .credentials {
        font-size: 14px;
    }

    .nav-link {
        font-size: 12px;
    }

    .welcome-heading {
        font-size: 36px;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }

    .profile-card {
        max-width: 280px;
        padding: 30px 20px;
    }

    .college-title,
    .contact-title {
        font-size: 28px;
    }

    .crochet-title {
        font-size: 32px;
    }

    .cta-links {
        flex-direction: column;
        gap: 12px;
    }

    .projects-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .main-content.teal-bg {
        padding: 40px 15px;
    }

    .featured-project {
        max-width: 100%;
    }

    .contact-icons {
        gap: 20px;
    }

    .contact-icon-img {
        width: 80px;
        height: 80px;
    }
}