/* ================= GENERAL ================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f3ee;
    color: #111;
    line-height: 1.6;
}

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

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


/* ================= NAVBAR ================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 6%;
    z-index: 1000;
    background: rgba(245, 243, 238, 0.85);
    backdrop-filter: blur(15px);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.navbar nav {
    display: flex;
    gap: 25px;
}

.navbar nav a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.navbar nav a:hover {
    opacity: 0.5;
}


/* ================= HERO ================= */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 8%;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    z-index: -1;
    width: 600px;
    height: 600px;
    right: -150px;
    top: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d7c7ff, #ffcfdf, #c9f0ff);
    filter: blur(20px);
    animation: floating 8s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.hero-content {
    position: relative;
    max-width: 650px;
    z-index: 2;
}

.small-text {
    font-size: 0.8rem;
    letter-spacing: 4px;
    margin-bottom: 25px;
    opacity: 0.6;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.95;
    letter-spacing: -4px;
}

.hero h1 span {
    font-style: italic;
}

.hero-description {
    max-width: 550px;
    margin-top: 35px;
    font-size: 1.1rem;
    opacity: 0.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.button {
    display: inline-block;
    padding: 15px 25px;
    background: #111;
    color: white;
    border-radius: 50px;
    transition: 0.3s;
}

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

.button.secondary {
    background: transparent;
    color: #111;
    border: 1px solid #111;
}

.hero-image {
    width: min(35vw, 400px);
    flex-shrink: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 35px;
    left: 8%;
    font-size: 0.75rem;
    letter-spacing: 2px;
    opacity: 0.5;
}


/* ================= SECTIONS ================= */

.section {
    padding: 130px 8%;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}

.dark-section {
    background: #111;
    color: white;
}

.section-number {
    font-size: 0.8rem;
    letter-spacing: 3px;
    opacity: 0.5;
    margin-bottom: 20px;
}

.section-heading p {
    font-size: 0.75rem;
    letter-spacing: 3px;
    opacity: 0.5;
}

.section-heading h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1;
    letter-spacing: -3px;
    margin-top: 10px;
    margin-bottom: 60px;
}


/* ================= ABOUT ================= */

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.about-text p {
    opacity: 0.7;
    max-width: 550px;
}


/* ================= PROJECTS ================= */

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-card {
    background: #1c1c1c;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.4s;
}

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

.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #222;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 35px;
}

.project-type {
    font-size: 0.7rem;
    letter-spacing: 2px;
    opacity: 0.5;
    margin-bottom: 15px;
}

.project-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.project-info h5 {
    font-weight: normal;
    opacity: 0.8;
    margin-bottom: 15px;
}

.project-info p {
    opacity: 0.6;
}

.project-info a {
    display: inline-block;
    margin-top: 25px;
    text-decoration: underline;
}


/* ================= PROFESSIONAL DEVELOPMENT ================= */

.professional-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Side-by-side Photo Grid */
.professional-image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.professional-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.professional-image img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Timeline Layout */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    position: relative;
    padding-bottom: 60px;
}

.timeline-dot {
    position: absolute;
    left: 100px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #111;
    transform: translateX(-50%);
}

.timeline-content {
    border-left: 1px solid #ccc;
    padding-left: 50px;
}

.timeline-content h3 {
    font-size: 1.8rem;
}

.timeline-content h4 {
    font-weight: normal;
    opacity: 0.7;
    margin-bottom: 15px;
}


/* ================= CAMPUS INVOLVEMENT ================= */

.info-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    transition: 0.4s;
}

.info-card:hover {
    transform: translateY(-10px);
    background: white;
    color: #111;
}

.card-number {
    opacity: 0.5;
}

.info-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    margin: 20px 0;
}

.info-card h3 {
    font-size: 1.6rem;
}

.info-card h4 {
    font-size: 1rem;
    font-weight: normal;
    opacity: 0.8;
    margin-bottom: 15px;
}


/* ================= PASSIONS ================= */

.passion-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.passion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: #eae6df;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.4s;
}

.passion img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

.passion-content {
    padding: 60px;
}

.passion h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.passion p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
}


/* ================= STORY PAGE ================= */
.story-hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 120px 8% 80px;
    background: #dcd6ff;
}

.story-hero h1 {
    font-size: clamp(4rem, 10vw, 10rem);
    line-height: 0.85;
    letter-spacing: -6px;
    margin: 25px 0;
}

.story-hero h1 span {
    font-style: italic;
}

.story-image {
    width: min(35vw, 500px);
    flex-shrink: 0;
}
.story-hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}


.story-container {
    max-width: 900px;
    margin: auto;
    padding: 100px 8%;
}

.story-section {
    padding-bottom: 100px;
}

.story-number {
    font-size: 0.8rem;
    letter-spacing: 3px;
    opacity: 0.5;
    margin-bottom: 20px;
}

.story-section h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
}

.story-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 20px;
}

.story-end {
    text-align: center;
    padding: 120px 8%;
    background: #111;
    color: white;
}

.story-end h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    letter-spacing: -3px;
    margin-bottom: 40px;
}


/* ================= CONTACT ================= */

.contact-section {
    padding: 150px 8%;
    text-align: center;
    background: #dcd6ff;
}

.contact-section h2 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.95;
    letter-spacing: -4px;
    margin: 30px auto;
}

.contact-description {
    max-width: 500px;
    margin: auto;
    opacity: 0.7;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.contact-links a {
    border-bottom: 1px solid #111;
    padding-bottom: 5px;
}


/* ================= FOOTER ================= */

footer {
    background: #111;
    color: white;
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    opacity: 0.8;
}


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

@media (max-width: 900px) {
    .professional-image {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .navbar nav {
        display: none;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 120px 6% 80px;
    }

    .hero-image {
        width: 100%;
        max-width: 350px;
        margin-top: 40px;
    }

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

    .passion {
        grid-template-columns: 1fr;
    }

    .passion img {
        min-height: 250px;
    }

    .timeline-item {
        grid-template-columns: 50px 1fr;
    }

    .timeline-dot {
        left: 50px;
    }

    .timeline-content {
        padding-left: 30px;
    }

    footer {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .professional-image {
        grid-template-columns: 1fr;
    }
}