/* Global Styles */
:root {
    --bg-color: #0a0a0a;
    /* Deep charcoal/soft black */
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-gradient: linear-gradient(90deg, #800080, #FFA500, #FFFF00, #FF0000);
    /* Purple, Orange, Yellow, Red */
    --card-bg: #1a1a1a;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a:hover {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
    /* Offset fixed header */
    position: relative;
}

#hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--accent-gradient);
    color: #fff;
    /* Text on gradient needs to be readable, white usually works */
    border-radius: 50px;
    /* Pill shape */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(128, 0, 128, 0.3);
    /* Purple shadow hint */
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    font-size: 2rem;
    color: var(--text-muted);
    opacity: 0.7;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* About Section */
#about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.about-image {
    width: 100%;
    height: 400px;
    background-color: var(--card-bg);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.placeholder-text {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Personal Details (About Section) */
.personal-details {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    /* Increased margin to push it down */
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-icon {
    font-size: 1.2rem;
}

/* Services Section */
#services h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

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

.service-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 165, 0, 0.5);
    /* Orange hint */
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    color: var(--text-muted);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    height: 250px;
    background-color: #1a1a1a;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
    text-align: center;
    padding: 0;
    /* Remove padding for proper image fit */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .caption {
    transform: translateY(0);
}

/* Tech Stack Badges */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.tech-badge {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px 25px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: default;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #FFA500;
    /* Orange highlight */
    transform: translateY(-2px);
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: rgba(255, 165, 0, 0.5);
}

/* Experience Section */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.exp-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border-left: 2px solid transparent;
    /* Prepare for gradient border */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease;
}

.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-gradient);
}

.exp-card:hover {
    transform: translateY(-5px);
    background-color: #222;
}

.exp-card h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
    color: #fff;
}

.exp-card .role {
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exp-card .company-context {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 15px;
}

/* Travel Schedule / Coffee Chat */
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.travel-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.travel-card {
    background: linear-gradient(145deg, #111, #1a1a1a);
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.travel-card:hover {
    transform: translateY(-5px);
    border-color: #800080;
    /* Purple hint */
}

.travel-card .month {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.travel-card .city {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.small-cta {
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.small-cta:hover {
    background: #fff;
    color: #000;
}

/* Contact / Booking Section */
#contact {
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    /* Stacked layout for full width */
    gap: 50px;
    margin-top: 50px;
    text-align: left;
    max-width: 800px;
    /* Limit width of form/calendar stack for aesthetics */
    margin-left: auto;
    margin-right: auto;
}

.booking-widget {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.booking-placeholder {
    width: 100%;
    /* height: 300px;  Removed fixed height for iframe */
    background: #252525;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    color: var(--text-muted);
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-main);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #FFA500;
    /* Orange focus */
}

.form-status {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    display: none; /* Hidden by default */
}

.form-status.success {
    display: block;
    background-color: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border: 1px solid #00ff00;
}

.form-status.error {
    display: block;
    background-color: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border: 1px solid #ff0000;
}

/* Footer */
footer {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

/* Responsiveness */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul.active {
        transform: translateY(0);
    }

    #about {
        grid-template-columns: 1fr;
    }

    .contact-container {
        /* Already 1fr, but ensuring padding */
        padding: 0 10px;
    }
}