/* Basic reset */
:root {
    --hero-peach: #f7d8c7;
    --hero-peach-deep: #f4a585;
    --hero-beige: #fff7f1;
    --hero-ivory: #fffdfb;
    --hero-text: #2d221f;
    --hero-text-soft: #6c5850;
    --hero-text-muted: #88726a;
    --hero-border: rgba(214, 182, 168, 0.34);
    --hero-shadow: 0 24px 60px rgba(133, 92, 75, 0.14);
    --hero-shadow-strong: 0 28px 80px rgba(120, 78, 61, 0.2);
    --hero-card-bg: rgba(255, 252, 248, 0.72);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #1f2933;
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header and navigation */
.site-header {
    background: transparent;
    border-bottom: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
    z-index: 100;
}

.site-header.scrolled {
    background: rgba(255, 250, 246, 0.92);
    border-bottom: 1px solid rgba(214, 182, 168, 0.22);
    box-shadow: 0 12px 28px rgba(87, 58, 47, 0.06);
    backdrop-filter: blur(14px);
}

.navbar {
    align-items: center;
    background: transparent;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1120px;
    padding: 16px 40px;
}

.logo {
    color: #1f1f1f;
    font-size: 1.15rem;
    font-weight: 700;
}

.nav-links {
    align-items: center;
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    color: #475569;
    font-size: 0.96rem;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--hero-peach-deep);
}

.menu-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: none;
}

.menu-toggle span {
    background: #0f172a;
    display: block;
    height: 2px;
    margin: 5px 0;
    width: 24px;
}

/* Shared sections */
.section,
.hero {
    margin: 0 auto;
    max-width: 1120px;
    padding: 88px 24px;
}

.section-heading {
    margin-bottom: 32px;
    max-width: 640px;
}

.eyebrow {
    color: #b85c38;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: #0f172a;
    font-family: "Poppins", sans-serif;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.7rem, 8vw, 5.4rem);
    max-width: 760px;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
    font-size: 1.25rem;
}

.muted-section {
    background: #e8f0ed;
    max-width: none;
}

.muted-section > * {
    margin-left: auto;
    margin-right: auto;
    max-width: 1120px;
}

/* Hero */
.hero {
    align-items: center;
    background:
        linear-gradient(to bottom, #fce3d4, #f8d9c4, #ffffff);
    display: flex;
    justify-content: center;
    max-width: none;
    min-height: 100vh;
    overflow: hidden;
    padding: 80px 40px;
    position: relative;
}

.hero::before,
.hero::after {
    border-radius: 50%;
    content: "";
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.hero::before {
    background: radial-gradient(circle, rgba(248, 210, 191, 0.38) 0%, rgba(248, 210, 191, 0) 72%);
    filter: blur(18px);
    height: clamp(200px, 18vw, 300px);
    left: -2%;
    top: 12%;
    width: clamp(200px, 18vw, 300px);
}

.hero::after {
    background: radial-gradient(circle, rgba(247, 228, 218, 0.32) 0%, rgba(247, 228, 218, 0) 74%);
    filter: blur(16px);
    height: clamp(170px, 15vw, 250px);
    right: 7%;
    top: 20%;
    width: clamp(170px, 15vw, 250px);
}

.hero-content {
    align-items: center;
    display: flex;
    gap: 56px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1160px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.hero-copy,
.hero-text {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 540px;
    padding-top: 0;
}

.hero-text {
    animation: fadeUp 1s ease forwards;
}

.hero-greeting {
    color: var(--hero-peach-deep);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 14px;
    opacity: 0.9;
}

.hero-name {
    color: #2d2d2d;
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0 0 18px;
    max-width: 10ch;
}

.hero-name span {
    display: block;
}

.hero-name span + span {
    margin-top: 4px;
}

.hero-subtitle,
.hero-subtext {
    color: var(--hero-text-soft);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 18px;
    max-width: 48ch;
}

.hero-description {
    color: var(--hero-text-muted);
    font-size: 0.98rem;
    line-height: 1.75;
    margin: 0 0 18px;
    max-width: 46ch;
}

.hero-actions,
.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.social-icons {
  margin-top: 24px;
  display: flex;
  gap: 22px;   /* increase spacing between icons */
}

.social-icons a {
  font-size: 1.4rem;   /* slightly bigger icons */
  color: #555;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: #ff9f7f;
  transform: translateY(-3px) scale(1.05);
}

.social-icons a {
  padding: 8px;
  border-radius: 50%;
}

.social-icons a:hover {
  background: rgba(255, 159, 127, 0.1);
}
.button {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0;
    min-height: 52px;
    padding: 14px 24px;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.primary-button {
    background: linear-gradient(180deg, #d18a6d 0%, #bd6f58 100%);
    box-shadow: 0 14px 30px rgba(189, 111, 88, 0.22);
    color: #ffffff;
}

.primary-button:hover {
    box-shadow: 0 18px 36px rgba(189, 111, 88, 0.28);
}

.secondary-button {
    background: rgba(255, 250, 245, 0.68);
    border: 1px solid rgba(200, 147, 124, 0.3);
    color: #8f5b4c;
}

.secondary-button:hover {
    box-shadow: 0 14px 28px rgba(189, 111, 88, 0.12);
}

.primary-btn {
    background: linear-gradient(135deg, #ff9f7f, #ff7f5c);
    border: none;
    border-radius: 30px;
    color: #ffffff;
    font-weight: 500;
    padding: 12px 26px;
    transition: 0.3s ease;
}

.primary-btn:hover {
    box-shadow: 0 8px 20px rgba(255, 127, 92, 0.3);
    transform: translateY(-2px);
}

.secondary-btn {
    background: transparent;
    border: 1px solid #ff9f7f;
    border-radius: 30px;
    color: #ff7f5c;
    font-weight: 500;
    padding: 12px 26px;
    transition: 0.3s ease;
}

.secondary-btn:hover {
    background: #ff9f7f;
    color: #ffffff;
}

.hero-visual {
    flex: 0 0 auto;
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 520px;
    position: relative;
    width: min(100%, 520px);
}

.hero-visual::before {
    background: radial-gradient(circle, rgba(246, 206, 186, 0.7) 0%, rgba(252, 226, 213, 0.38) 46%, rgba(252, 226, 213, 0) 78%);
    border-radius: 50%;
    content: "";
    filter: blur(8px);
    height: clamp(340px, 34vw, 460px);
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(54%, -50%);
    width: clamp(340px, 34vw, 460px);
    z-index: 0;
}

.profile-frame {
    aspect-ratio: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 246, 240, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: var(--hero-shadow-strong);
    height: clamp(360px, 34vw, 430px);
    overflow: hidden;
    padding: 12px;
    position: relative;
    width: clamp(360px, 34vw, 430px);
    z-index: 1;
}

.profile-frame img {
    border-radius: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.image-wrapper {
    animation: fadeIn 1.2s ease forwards;
    position: relative;
}

.image-wrapper::before {
    background: radial-gradient(circle, rgba(255, 159, 127, 0.25), transparent 70%);
    border-radius: 50%;
    content: "";
    height: 420px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    z-index: 0;
}

.profile-img {
    border: 10px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 360px;
    object-fit: cover;
    position: relative;
    width: 360px;
    z-index: 1;
}

.floating-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
    max-width: 180px;
    padding: 12px 16px;
    position: absolute;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.icon {
    display: inline-flex;
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.9;
}

.floating-card h4 {
    color: #58423b;
    font-size: 0.95rem;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 4px;
}

.floating-card p {
    color: #666666;
    font-size: 0.8rem;
    line-height: 1.5;
}

.floating-card-top {
    animation: float-up 6s ease-in-out infinite 0.2s;
    left: -2%;
    top: 10%;
}

.floating-card-right {
    animation: float-side 6.8s ease-in-out infinite 0.5s;
    right: -10%;
    top: 32%;
}

.floating-card-bottom {
    animation: float-down 7.2s ease-in-out infinite 0.8s;
    bottom: 5%;
    left: 6%;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float-up {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes float-side {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(6px, -8px);
    }
}

@keyframes float-down {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* About */
.about {
    background: linear-gradient(180deg, #fce3d4 0%, #fff3eb 50%, #ffffff 100%);
    border-top: 1px solid rgba(214, 182, 168, 0.14);
    border-bottom: 1px solid rgba(214, 182, 168, 0.12);
    max-width: none;
}

.about > * {
    margin-left: auto;
    margin-right: auto;
    max-width: 1160px;
}

.about-container {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.about-left {
    flex: 1;
    max-width: 600px;
}

.about-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.about-heading {
    display: grid;
    gap: 8px;
    max-width: 620px;
}

.about-heading p {
    color: #5b4740;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.45;
}

.about-left p {
    color: #6f5850;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(214, 182, 168, 0.18);
}

.card-head,
.about-highlight-head {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.card-head i,
.about-highlight-head i {
    color: #c8856b;
    font-size: 1rem;
    width: 18px;
}

.card h3,
.about-highlight h3 {
    color: #5b4740;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.card p {
    color: #6f5850;
    font-size: 0.96rem;
    line-height: 1.75;
}

@media (max-width: 820px) {
    .about-container {
        display: grid;
        gap: 28px;
    }

    .about-right {
        margin-top: 0;
    }
}

/* Skills */
.skills-section {
    background: linear-gradient(180deg, #fce3d4 0%, #fff3eb 50%, #ffffff 100%);
    border-top: 1px solid rgba(214, 182, 168, 0.14);
    border-bottom: 1px solid rgba(214, 182, 168, 0.12);
    max-width: none;
}

.skills-section > * {
    margin-left: auto;
    margin-right: auto;
    max-width: 1160px;
}

.skills-list {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.skill-tile {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(214, 182, 168, 0.22);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(115, 71, 56, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: flex-start;
    min-height: 148px;
    overflow: hidden;
    padding: 22px 20px;
}

.skill-tile i {
    color: #c8856b;
    font-size: 1.45rem;
}

.skill-tile h3 {
    color: #5b4740;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
}

.project-card p {
    color: #64748b;
    margin-top: 12px;
}

/* Projects */
.projects-section {
    background: linear-gradient(180deg, #fce3d4 0%, #fff3eb 50%, #ffffff 100%);
    max-width: none;
}

.projects-section > * {
    margin-left: auto;
    margin-right: auto;
    max-width: 1160px;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.project-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-content {
    padding: 20px 18px 22px;
}

.project-content h3 {
    font-size: 1.1rem;
    margin: 0 0 12px;
    color: #1f2933;
}

.project-content p {
    font-size: 0.95rem;
    color: #586169;
    margin: 0 0 16px;
    line-height: 1.7;
}

.project-content a {
    display: inline-block;
    margin: 0;
    color: #ff7f5c;
    font-weight: 600;
    text-decoration: none;
}

.project-content a:hover {
    color: #d15f3d;
}

/* Contact */
.contact-section {
    background: linear-gradient(180deg, #fce3d4 0%, #fff3eb 50%, #ffffff 100%);
    max-width: none;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    margin: 0 auto;
    max-width: 1160px;
    padding: 0 24px 24px;
}

.contact-left {
    flex: 1;
    max-width: 500px;
}

.contact-left .eyebrow {
    margin-bottom: 10px;
}

.contact-left h2 {
    margin: 0;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 18px;
}

.contact-right {
    flex: 1;
}

.contact-form {
    background: #ffffff;
    border: 1px solid #e2ded4;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    padding: 28px;
}

.contact-form label {
    color: #334155;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #1f2933;
    font: inherit;
    padding: 12px 14px;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0f766e;
    outline: 3px solid rgba(15, 118, 110, 0.14);
}

    .contact-info {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .contact-info p {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.1rem;
        color: #0a0a0a;
        margin: 0;
    }

    .contact-info i {
        color: #ff7f5c;
        font-size: 1.2rem;
        min-width: 18px;
    }

/* Footer and back-to-top button */
.site-footer {
    border-top: 1px solid #ded8ca;
    color: #64748b;
    padding: 28px 24px;
    text-align: center;
}

.back-to-top {
    background: #b85c38;
    border: 0;
    border-radius: 50%;
    bottom: 20px;
    color: #ffffff;
    cursor: pointer;
    display: none;
    font-size: 1.2rem;
    height: 44px;
    position: fixed;
    right: 20px;
    width: 44px;
}

.back-to-top.show {
    display: block;
}

/* Responsive layout */
@media (max-width: 820px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        background: rgba(255, 250, 246, 0.96);
        border-bottom: 1px solid rgba(214, 182, 168, 0.22);
        box-shadow: 0 16px 30px rgba(87, 58, 47, 0.08);
        display: none;
        flex-direction: column;
        left: 0;
        padding: 20px;
        position: absolute;
        right: 0;
        top: 64px;
    }

    .nav-links.show {
        display: flex;
    }

    .about-grid,
    .contact-container {
        display: grid;
        grid-template-columns: 1fr;
    }

    .about-copy {
        max-width: none;
    }

    .hero {
        padding-top: 88px;
    }

    .hero::before {
        height: min(30vw, 230px);
        left: -9%;
        width: min(30vw, 230px);
    }

    .hero::after {
        height: min(27vw, 190px);
        right: -3%;
        width: min(27vw, 190px);
    }

    .hero-content {
        align-items: center;
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .hero-copy {
        align-items: center;
        margin: 0 auto;
        padding-top: 0;
    }

    .hero-actions {
        justify-content: center;
    }

    .social-icons {
        align-self: center;
        justify-content: center;
    }

    .hero-visual {
        min-height: auto;
        margin-top: 18px;
    }

    .hero-visual::before {
        height: min(72vw, 350px);
        width: min(72vw, 350px);
    }

    .profile-frame {
        height: min(70vw, 340px);
        width: min(70vw, 340px);
    }

    .image-wrapper::before {
        height: min(82vw, 380px);
        width: min(82vw, 380px);
    }

    .profile-img {
        height: min(64vw, 320px);
        width: min(64vw, 320px);
    }

    .floating-card {
        max-width: 188px;
        padding: 12px 14px;
    }

    .floating-card-top {
        left: 3%;
        top: 6%;
    }

    .floating-card-right {
        right: 1%;
        top: 35%;
    }

    .floating-card-bottom {
        bottom: -2%;
        left: 8%;
    }

    .skills-list,
    .project-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .section,
    .hero {
        padding: 64px 18px;
    }

    .hero-name {
        font-size: clamp(2.55rem, 14vw, 3.6rem);
        max-width: none;
    }

    .skills-list,
    .project-list {
        grid-template-columns: 1fr;
    }

    .hero::before,
    .hero::after {
        opacity: 0.55;
    }

    .hero-subtitle,
    .hero-description {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .floating-card {
        border-radius: 16px;
        max-width: 160px;
        padding: 10px 12px;
    }

    .floating-card h4 {
        font-size: 0.84rem;
    }

    .floating-card p {
        font-size: 0.75rem;
    }

    .floating-card-top {
        left: 2%;
        top: 4%;
    }

    .floating-card-right {
        right: 2%;
        top: 38%;
    }

    .floating-card-bottom {
        bottom: -4%;
        left: 8%;
    }

    .hero-subtitle {
        margin-bottom: 16px;
    }

    .hero-description {
        margin-bottom: 32px;
    }

    .navbar {
        padding: 16px 18px;
    }

    .button {
        width: 100%;
    }
}
