body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

    /* Full page background image */
    background-image: url('pato.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* keeps image fixed while scrolling */
}

/* ===== RESUME CONTAINER ===== */
.resume-container {
    position: relative;
    max-width: 100%;
    min-height: 11in;
    background-color: ligthblue; /* semi-transparent overlay */
    margin: auto;
    padding: 1in;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 2px;
}

/* Optional overlay if you want more blur effect */
.resume-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(226, 174, 174, 0.801); /* more transparent */
    z-index: -1; /* behind text */
    border-radius: 10px;
}

/* ===== HEADER: Picture Left - Text Right ===== */
.header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    border-bottom: 2px solid #2c3e50;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border: 2px solid #ccc;
    flex-shrink: 0;
    object-fit: cover;
}

h1 {
    margin: 0;
    font-size: 1.3rem;
}

h2 {
    margin: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.contact-info p {
    margin: 2px 0;
    font-size: 0.95rem;
}

/* ===== SECTIONS ===== */
.section {
    margin-bottom: 15px;
}

.section-title {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 5px;
}

/* ===== Print Style for Short Bond Paper ===== */
@page {
    size: 8.5in 11in;
    margin: 1in;
}

@media print {
    body {
        background: white;
    }
    .resume-container {
        box-shadow: none;
        width: auto;
        min-height: 100px;
        padding: 0;
        margin: 0;
    }
}

/* ===== Responsive for Mobile Viewing ===== */
@media (max-width: 600px) {
    .resume-container {
        width: 100%;
        min-height: auto;
        padding: 15px;
    }
    .header {
        flex-direction: row; /* keep side by side */
        align-items: center;
        text-align: left;
        gap: 10px;
    }
    .profile-pic {
        width: 80px;
        height: 80px;
    }
    h1 {
        font-size: 1.2rem;
    }
    .contact-info p {
        font-size: 0.85rem;
    }
}

/* BUTTON ROW */
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
    margin-bottom: 5px;
    
}

.accordion {
    background-color: #161216;
    color: white;
    cursor: pointer;
    padding: 8px 12px;       /* adjust height and padding */
    min-width: 15px;         /* ensures buttons aren't too small */
    flex: 1;           /* allow wrapping on small screens */
    text-align: center;
    border: none;
    border-radius: 6px;
    font-size: 7px;
    transition: background-color 0.3s ease;
}



.accordion.active {
    background-color: #67d6c0dc;
}



/* ===== PANELS WITH UNIFORM ANIMATION ===== */
.panel {
    max-height: 0; /* collapsed */
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    background: #fcc9c9ce;
    margin-top: 15px;
    padding: 0 15px;
    border-radius: 8px;
}

/* When panel is shown */
.panel.show {
    max-height: 400px;  /* same height for all panels */
    opacity: 1;
    transform: translateY(0);
    padding: 10px 15px;  /* same padding for all panels */
}

/* ===== BACK BUTTON ===== */
.back-btn {
    display: inline-block;
    margin-top: 5px;
    padding: 8px 15px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 9px;
    transition: background-color 0.3s ease;
}

.back-btn:hover {
    background-color: #34495e;
}